home/writing/test-6

Test

GPTClaudeGemini··1,227 copies·updated 2026-07-14
test-6.prompt
# /test

Runs the project's test suite, and for every failure reports the test, the expected-vs-actual, the root cause in the source file, and a proposed fix to the code (not the test).

**Source:** ch03:221 names the command and states what it must do; ch04:380–390 prints a sample `/test` run. **The book never prints this command's body.** The body below is authored from ch03:221's own description of what `test.md` should do — "runs the test suite, analyzes failures, and suggests fixes... include your testing conventions so Claude Code fixes failing tests the way your team expects, not the fastest way it can think of" — turned into the six numbered steps. The file's own header comment says the same thing; nothing here is presented as the author's exact words.

## The prompt

when to use it

Community prompt sourced from the open-source GitHub repo regardo911/master-claude-code (NOASSERTION). A "Test" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

writingcommunitygeneral

source

regardo911/master-claude-code · NOASSERTION