IA Dev Learn

Prompt checklist and templates

Copy a template, fill the blanks, check the list before you press Enter.

Before you press Enter

  1. Does it say what should change?
  2. Does it name the files, with @path?
  3. Does it give the exact details (numbers, names, an example output in quotes)?
  4. Does it say what must not change?
  5. Does it ask for tests, and to run them?
  6. 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 and
anything that breaks the conventions in AGENTS.md. List problems by severity.