Reference
Guides
Write a good task
How to phrase tasks so the plan is right the first time.
A good task says what done looks like. The agent fills in how.
Do
Name the outcome: “Users can export invoices as CSV”
Point to examples: “Follow the pattern in reports/export.ts”
Say how to check it: “Add a test that exports two invoices”
Avoid
Vague goals like “clean up the code”
Several unrelated changes in one task
Instructions about which files to touch, unless it matters