/done-is-a-claim:implementing-with-testsfrom done-is-a-claim
Guides implementing runtime behavior changes and bug fixes with before-and-after checks, preservation of existing behavior, and regression evidence. Use while editing code.
Ships in done-is-a-claim. 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.
Make the requested behavior observable, change only what it needs, and preserve the surrounding contract. Follow the user's explicit workflow choices; if they override test-first work, record the resulting evidence limits without blocking authorized implementation or pretending a failing baseline was observed.
Read the request, current code, relevant callers and existing tests. Identify the behavior to change, inputs and outputs that expose it, and behavior that must remain valid. Respect the assigned files and existing production code.
Select a check that distinguishes the requested outcome from a plausible defect. Prefer the real affected boundary when a helper test or mocked success would miss it. Assertions should follow the contract, not repeat implementation constants. Include meaningful edge inputs and relevant preservation checks proportionately.
An existing passing test may already cover a preservation requirement or an already implemented outcome. Run and inspect it; add a check only for a real coverage gap. Do not force a failure for behavior that should stay unchanged. For a prose-only edit, inspect the text and scoped diff and use relevant document checks. Do not invent a runtime test or artificial red to satisfy a ceremony.
For new or corrected behavior, write or select the smallest meaningful check before changing runtime code, then run it on the current implementation. Read the actual failure and capture the command's own exit status and inputs. Confirm it reaches the intended behavior and rejects it for the intended reason.
A missing import, fixture, tool, path or empty collection is a setup gap, not evidence of the requested defect. Repair the setup within scope and rerun; do not call an accidental red a baseline. If the check passes unexpectedly, inspect why: the behavior may already exist, or the check may not distinguish the defect. Do not weaken the requirement or deliberately break code to manufacture a red.
If execution or an authorized setup repair is unavailable, state which observation is missing and why. Written tests and predicted failures cannot support a claim that red or green was observed. Continue authorized work where useful, retaining required verification as a gap.
Make the smallest coherent implementation that satisfies the behavior. Do not delete working production code or rewrite from scratch just to recreate test-first history. Preserve unrelated edits and existing public behavior.
Run the behavior check and inspect the result, then run the whole relevant regression suite, including affected callers and preservation cases. A single green assertion cannot certify neighboring behavior; failed, skipped, unavailable or empty required checks remain gaps. Investigate unexpected failures before another speculative fix.
Refactor only when useful within scope. Rerun affected checks after the refactor; an earlier green does not certify changed inputs. Repeat this loop for distinct behaviors in proportion to their risk, rather than for every line or file.
Review the final diff against the request and preservation requirements. Report changed files, tested revision and dirty inputs, commands, actual failure/pass observations, exit statuses and evidence locations. Distinguish a demonstrated before-and-after change from preservation-only checks or unexecuted tests. Claim completion only to the extent current required checks support it.
What SKILL.md sets; muted values are Claude Code's defaults
15 skills in this plugin
/acceptance-designDefine executable acceptance for a bounded task before work or dispatch. Use when writing a worker brief, selecting success checks, or repairing an acceptance contract that cannot test the intended outcome./checking-deliveryVerify an artifact at its actual delivery destination and distinguish send attempts, acknowledgements, publication and consumer checks. Use when reporting a file, message, export or deployment as delivered; creating a local draft alone does not imply delivery./collecting-worker-resultsInspect a stopped worker's returned work and evidence before accepting it, retrying it or handing it to an integration owner. Use when a worker finishes, records disagree, or a green result has no visible change. Collection does not authorize merging./debugging-with-evidenceDiagnose unexpected behavior with a reproduction, competing explanations and experiments that separate them before fixing. Use for bugs, failed checks or repeated unsuccessful fixes; attribute branch failures only with suitable comparison evidence./evidence-freshnessBind a check or action to the input snapshot it actually used. Use before relying on cached verification, consuming a reviewed batch, acting while inputs may change, or retrying an operation with an ambiguous result./executing-plansCarry an actionable change plan through implementation, checks, review and an evidence-backed report. Use when executing several planned steps or integrating bounded worker returns, within existing authorization.npx claudepluginhub okgrit/done-is-a-claim --plugin done-is-a-claimOther plugins' skills for the same job