Debug Template
Find root cause and fix it.
Symptom: [exact error/behavior]
Where: [file/function/step]
Reproduction: [steps]
Files: [@file1], [@file2]
Requirements:
- fix root cause, not symptom
- minimize side effects
- add logging only where useful
Report:
1) root cause
2) fix applied
3) why correct
4) re-test stepswhen to use it
Community prompt sourced from the open-source GitHub repo prostohh/prompty (no explicit license). A "Debug Template" 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
codingcommunitydeveloper
source
prostohh/prompty · no explicit license
more in Coding
Coding✓ tested
Senior code review (strict mode)
senior staff engineer running a merciless but fair review
Coding✓ tested
Debug by hypothesis, not by guessing
debugging partner who forms theories before touching code
Coding✓ tested
Generate tests from described behavior
test engineer who writes tests that would actually catch regressions