TESTED 2.1.319. Last tested on 8 November 2026 with Claude Code 2.1.319.
Describe the symptom, where it happens, and what fixed looks like
Three sentences beat "fix the login bug".
[HOW IT WAS CHECKED]
Tested on 8 Nov 2026 with Claude Code 2.1.319
[WHAT THE LABEL MEANS]
An editor ran this tip by hand with Claude Code 2.1.319 and it worked as described.
Give Claude what you saw, where you think it lives, and how you'll know it's fixed. Asking for a failing test that reproduces the problem first gives both of you a check to watch turn green.
From the docsA worked example
users report login fails after the session times out. look at token refresh in src/auth/, write a failing test that reproduces it, then fix it
Suggested by usA template to fill in
When I [what I did], I expect [what should happen] but I get [what happens instead]. It might be in [place, if you know]. It's fixed when [how we'll know].
Why it works
Claude can infer intent but can't read your mind. A precise prompt means fewer corrections.
Watch out
If you don't know where the problem is, say so. Vague prompts are fine for exploring, as long as you expect to steer.
[WHAT NEXT]
Done with this one? Read another tip, or check your app before real people use it.