Prompt checklist and templates
Copy a template, fill the blanks, check the list before you press Enter.
Before you press Enter
- Does it say what should change?
- Does it name the files, with
@path? - Does it give the exact details (numbers, names, an example output in quotes)?
- Does it say what must not change?
- Does it ask for tests, and to run them?
- Would you know it's done from reading it?
A fix
text
Fix <the bug> in @<file>: <what happens now> but <what should happen>.Keep <what must not change>. Add a test that reproduces it and run the tests.
A feature
text
Add <feature> to @<file>: <exact behaviour, with an example>.Don't <constraint>. Add tests for <cases> and run them.
Plan first
text
I want <goal>. Read @<files> and propose a numbered plan.Don't change anything until I say yes.
Explore before changing
text
Explain how <part of the project> works, starting from @<file>.List the files involved. Don't change anything.
A review
text
Review the changes since the last commit. Look for bugs, missing tests andanything that breaks the conventions in AGENTS.md. List problems by severity.