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

Example

kestrel run "Users can export invoices as CSV from the billing page. Follow reports/export.ts. Add a test that exports two invoices and checks the header row."
kestrel run "Users can export invoices as CSV from the billing page. Follow reports/export.ts. Add a test that exports two invoices and checks the header row."
kestrel run "Users can export invoices as CSV from the billing page. Follow reports/export.ts. Add a test that exports two invoices and checks the header row."

Create a free website with Framer, the website builder loved by startups, designers and agencies.