Get one failing test folder green without touching the tests
Fixes the source until a test folder passes, and never edits the tests to cheat.
/goal every test in [test/auth] passes. To prove it: run `npm test -- [test/auth]` and show the summary line with 0 failed. Constraints: fix the source code, not the tests; do not modify, skip or delete any test file or add retries; do not change any file outside [src/auth] and the shared helpers it imports, and list any helper you change with the reason. If a test is wrong, stop and explain why instead of changing it. Or stop after 20 turns and show the remaining failures.How to use it
- Replace the parts in square brackets with your own paths, names and commands.
- Open Claude Code in your project and paste the whole prompt, starting with /goal.
- Claude works until the evaluator sees the check pass, or until the turn bound. It proves the result with:
npm test -- [test/auth]
Last checked against the current Claude Code facts on 2026-11-07.
More tests prompts
New to /goal? Read Let Claude run until it is done with /goal.