/code-testing-agent:verified-changefrom code-testing-agent
Changes working code under a local merge gate. Writes the test first, mutation-checks it, then loops until the gate is green. Use when the user asks to prove a change is merge-ready locally.
Ships in code-testing-agent. 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.
Read when SKILL.md points to them.
Changes working code under a local merge gate. Writes the test first, mutation-checks it, then loops until the gate is green.
A hosted CI run that is billing-blocked fails every job in seconds with no test
output. Red proves nothing and green never arrives, so merge readiness has to
be provable on this machine. This skill is that proof: a test written before
the change, broken on purpose to confirm it can fail, then a bounded loop
against scripts/verify.sh and a written record of what was actually run.
Freedom level: Strict — Follow these steps in order. The mutation check in Step 2 is not optional; a test that was never seen to fail is not evidence.
For a brand-new feature where the code does not exist yet, use tdd-loop — red
is free there and needs no mutation. Use this skill when the code already works
and red has to be manufactured.
Trust boundary: the gate runs whatever tooling the target repo declares, so running it inside a repo you have not read is arbitrary code execution. Use it on repos you already trust.
If in plan mode, call ExitPlanMode first — this workflow mutates state.
Confirm the gate exists at scripts/verify.sh. If it does not, install it from
the repo root with the bundled asset — ${CLAUDE_SKILL_DIR} is replaced with
this skill's absolute folder when the skill loads, for the installed plugin and
the project-local copy alike:
bash "${CLAUDE_SKILL_DIR}/assets/install-verify-gate.sh"
Then run the gate once, before changing anything, and read the output:
bash scripts/verify.sh
A gate that is already red is a pre-existing failure, not yours. Report it and stop; fixing it is a separate change with its own test.
Open a TodoWrite list with the seven steps below.
Write the assertion that fails if the change regresses — before touching the implementation. Name the behaviour, not the implementation detail: an assertion locked to exact wording or to a private helper's name fails on a rename and passes on a real regression.
Run it. It should already be green, because the code currently works. That is expected, and it is exactly why Step 2 exists.
A test written against working code can pass for the wrong reason, and nothing finds out until production. So break the implementation on purpose and confirm the new test goes red.
Read references/mutation-check.md for the catalogue of mutations by change
type and the safe break-and-restore protocol. The protocol is load-bearing:
copy the file to a scratchpad, install a trap that restores on every exit
path including interrupt, mutate, run the scoped test, restore, and prove the
restore with cmp -s against the copy.
If the test stays green through the mutation, it is not a test. Rewrite it and mutate again. Do not proceed on a test that has never been seen to fail.
Restore from the scratchpad copy and prove it:
cmp -s "$SCRATCH/<file>" <file> && echo restored
Use cmp, not git diff --quiet. A file this change created is untracked, and
git diff ignores untracked files entirely — it would report clean over an
unrestored mutation. Delete the scratchpad copy only after the cmp passes.
If the restore fails, STOP and tell the user which file is still mutated and where the good copy is. Do not keep working over a broken tree.
Make the change. Keep it to the smallest diff that makes the Step 1 assertion meaningful, and leave adjacent problems alone — mention them in one line.
Run the gate, read the first failure, fix it, run again. Do not pause to ask between attempts; the loop is the work.
bash scripts/verify.sh
The gate stops at the first failing stage, so there is exactly one thing to
read each round. Absent tooling reports SKIP (not configured) rather than a
silent pass — a SKIP is not a green stage, and the VERIFICATION section records
it as a skip.
At 8 attempts, stop. Do not report success, and do not keep going. Report:
Only for changes a browser renders. Skip it otherwise and say so.
Verify the real rendered page — never a Storybook iframe, which stalls — at 390px and 1280px, in both light and dark themes, and run axe against each. Record measured evidence, not impressions: computed styles, element boxes, the axe violation count. A screenshot proves a screenshot was taken; it does not prove the contrast ratio.
Both themes are required because a contrast regression usually lands in only one of them.
Write the record, then hand it off — paste it into the PR body, or give it to
git-agent:pr-agent, which is not modified by this skill.
references/verification-section.md holds one filled example: every gate with
its real result, the mutation applied with its observed failure output, and the
evidence paths. Copy that shape. Every line must be something that was actually
run — a VERIFICATION section listing a command nobody executed is worse than no
section, because it reads as proof.
Before declaring done, re-read the emitted section and confirm each claim against the terminal:
If any of the three fails, fix the section — do not ship it.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub shawn-sandy/agentics-kit --plugin code-testing-agent2 plugins ship this exact skill · first indexed Oct 30, 2026
6 skills in this plugin
/code-testing-agentSuggests purpose-driven tests tied to actual behavior. Writes test files covering untested paths and behavior gaps in the codebase. Use when the user asks to suggest tests or find untested behavior./reviewing-testsAudits tests for quality, coverage, and code alignment. Identifies gaps, redundant tests, and misaligned assertions. Use when the user asks to review, audit, or improve a test suite./running-testsDetects the test framework and runs scoped tests. Reports pass/fail results with output and identifies failing assertions. Use when the user asks to run tests, check if tests pass, or verify changes.Other plugins' skills for the same job