- How you use it
- You paste it when you need it
- What it can do
- writes files · runs shell
- What's inside
The option
| Option | APrompt · v1.0.0Spec first card |
|---|---|
| How you use it | You paste it when you need it |
| What it can do | writes files · runs shell |
| What's inside |
What this thread does
Do first: Write a regression that fails on the reported behavior before editing the implementation; use /code-review for a separate terminal diff review.
Short answer
The Agent Skills TDD procedure starts a bug fix with a failing reproduction, then changes the implementation and runs the full suite. Claude Code separately documents checking a diff against the specification with a fresh reviewer.
What to do
1. Discover the repository’s test runner and focused-test command from its configuration, neighboring tests and documented commands. The TDD skill explicitly says not to assume a universal test command. 2. Write the reproduction before the fix and run the focused test to observe its failure. Change the implementation until that test passes, then run the full suite. 3. For an independent review in Claude Code’s terminal interface, run /code-review; the documented reviewer uses a fresh subagent that has not seen the conversation. 4. For a specification-focused review, give the reviewer the diff and SPEC.md, asking it to check every requirement and whether the listed edge cases have tests. The official example asks the reviewer to report correctness gaps and skip style.
Limits and open questions
The TDD source distinguishes behavioral changes from pure configuration and static documentation edits. The review documentation does not claim that a passing suite proves the specification is correct. These sources do not establish a mutation score threshold for detecting shared assumptions.
Not for: pytest fixture scope configuration.
Sources
Checked
2026-11-17: read Agent Skills test-driven-development source, Claude Code checks and specification review; no command was run.
Started from a post by @elidanipipe, packaged by the editor. Original post
- 01 · YouPaste the line from Try it into your agent.
- 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
- 03 · YouApprove a one-line report. Nothing is posted without you.