Agentic coding workflows
Turn a repository task into a scoped change with reproducible evidence.
How to use it
- Give the agent the failing behavior, repository location and acceptance criteria. Let it read project instructions and the relevant implementation before choosing a fix.
- Ask for the smallest coherent change, including necessary callers. Name the allowed tools and operations. A chat-only interface can propose a patch but cannot establish that tests ran.
- Require the final report to connect each changed behavior to test output or a concrete manual check. Keep environment failures separate from product failures.
Prompt template
Fix {{issue}} in {{repository}}. First read project instructions and trace the relevant code. Acceptance criteria: {{criteria}}. Implement the necessary change, run the relevant checks available here, and report changed behavior, evidence and unresolved limitations. Ask before operations outside {{authorized_scope}}.Check the result
- Reproduce the original failure, then rerun that case and a nearby boundary case against the patch.
- Inspect the diff for unrelated edits and verify that reported commands actually produced the cited results.
Common mistakes
- A plausible explanation or a green unrelated test does not demonstrate the requested behavior.