/polymath-engineering:verify-changefrom polymath-engineering
Run repository-appropriate verification (build, lint, type-check, tests) on the changed files; summarize pass/fail per category.
Ships in polymath-engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Run the verification a human reviewer would run before approving the change, scoped to the changed files where possible.
Mode: deterministic — same inputs, same output. Follow the steps and the output shape exactly; compute with the named script or tool, never by estimate; add nothing the shape does not ask for.
feature-dev and code-review, before opening a PR.polymath-engineering:verify-change..github/workflows/*.yml, .gitlab-ci.yml, …) — the commands CI actually runs are the best evidence of what "verified" means here.CONTRIBUTING.md / AGENTS.md / CLAUDE.md "before you push" instructions.package.json scripts: lint, typecheck, test — run through the project context's stack.package_manager when set, else the manager the lockfile names (pnpm-lock.yaml → pnpm, yarn.lock → yarn, package-lock.json → npm).pyproject.toml / requirements*.txt with pytest, ruff, mypy.Cargo.toml → cargo test, cargo clippy.go.mod → go test ./..., go vet ./....*.csproj / *.sln → dotnet build, dotnet test.Makefile → make test if defined.Before the procedure, resolve the project snapshot —
${POLYMATH_DATA_DIR:-$HOME/.polymath/data}/polymath-core/project-context.json
(ignore it if its _meta.source belongs to another repo; absent → read
.polymath/project.yaml directly; neither → built-in defaults). Then apply
(contract: polymath-core:project-context):
skill_overrides["polymath-engineering:verify-change"].test_commands:
use the entry matching the project's primary language as the
verification command, ahead of the detection order below.--passWithNoTests, an over-narrow filter) is not a PASS — report it as NO TESTS RAN. Skipped tests are listed.git stash or a worktree) when it is cheap. Do not auto-fix unless the user has explicitly authorized it.FLAKY with its name — not as PASS.Verification summary:
- build : PASS / FAIL / N/A
- lint : PASS / FAIL / N/A
- typecheck : PASS / FAIL / N/A
- unit tests : PASS / FAIL / N/A
- smoke : PASS / FAIL / N/A
Tests run: <count>; passed: <count>; failed: <count>; skipped: <count>.
Commands: <exact commands run>
Failures:
- lint: src/rate_limit.py:42 E501 line too long (introduced)
- unit: tests/test_refund.py::test_negative FAIL (pre-existing — fails on base too)
When a workflow gates this step with stepSummaryMatches (e.g. on "tests" / "verified"), the summary satisfies it by reporting the verification that actually ran. If nothing ran or something failed, say so plainly — the gate is supposed to catch that.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mohammadbafkar/polymath --plugin polymath-engineering5 skills in this plugin
/code-reviewReview a code change for correctness, simplification, and missing tests; produces a structured review summary keyed to the diff. Reviews a diff; not test-gap hunting (coverage-gap)./feature-devBuild the smallest safe change satisfying a PRD/acceptance criteria via a TDD loop; produces a code diff plus tests./read-codeOrient quickly in an unfamiliar codebase area; produce a one-page map of structure, entry points, and the most likely place a change should land.