Skip to main content
Use this guide when you already have a reproducible issue.

1. Create a focused task

Use a title that states the failure clearly. Example: Fix login redirect loop after token refresh

2. Start with a reproduction-first prompt

Reproduce and fix this issue: users are redirected repeatedly after token refresh.
Constraints: keep existing UX/copy unchanged.
Validation: run related tests and summarize what failed before and after.

3. Keep scope tight during iteration

If the agent expands scope, send a narrow correction:
Stay focused on the redirect loop only. Do not refactor unrelated modules.

4. Review diff before finalizing

Check:
  • changed files are bug-relevant
  • no unrelated edits
  • validation output is present

5. Finalize with explicit summary

Ask for:
  • root cause
  • fix approach
  • files changed
  • validation run