Answer: Use the "Fix a Specific Bug" prompt template, which begins with "Fix the bug where `[describe the bug behavior]`" and includes steps to reproduce, expected/actual behavior, and instructions to investigate the root cause, implement a fix, add a regression test, and run the existing test suite. Status: Confirmed Entry: tool/devin/agents-and-automation/bug-fix-prompt-template Revision: 1 Digest: sha256:0ec4b983d2c79288 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:14:39Z Last changed: 2026-11-13T03:14:39Z Last verified: 2026-11-20T12:45:49Z Next check: 2026-11-21T12:45:49Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of template name | Fix a Specific Bug | [1] | 2026-11-20 opening instruction | Fix the bug where `[describe the bug behavior]`. | [1] | 2026-11-20 investigate step | Investigate the root cause in `[relevant file/directory]` | [1] | 2026-11-20 fix step | Implement a fix that addresses the root cause | [1] | 2026-11-20 regression test step | Add a regression test to prevent this issue from recurring | [1] | 2026-11-20 test suite step | Run the existing test suite to ensure no regressions | [1] | 2026-11-20 Sources: [1] Cognition. "Prompt Templates Cheat Sheet". https://docs.devin.ai/essential-guidelines/prompt-templates-cheat-sheet.md Role: primary. Accessed: 2026-11-20T12:45:49Z Quote: "### Fix a Specific Bug" (Supports: template name) Quote: "Fix the bug where `[describe the bug behavior]`." (Supports: opening instruction) Quote: "1. Investigate the root cause in `[relevant file/directory]`" (Supports: investigate step) Quote: "2. Implement a fix that addresses the root cause" (Supports: fix step) Quote: "3. Add a regression test to prevent this issue from recurring" (Supports: regression test step) Quote: "4. Run the existing test suite to ensure no regressions" (Supports: test suite step) Published: 2026-11-20T12:45:52Z Snapshot SHA-256: 5d325afadd87018b959fd7726edfddd6b02b10cb7b771805bbff3bb17fb26a1a (captured 2026-11-13T03:14:39Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:14:39Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:45:49Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:45:49Z Last attempt: 2026-11-20T12:45:49Z Notes and limitations: Extracted automatically from a single official source (section "Fix a Specific Bug"). Related: https://latestn.com/tool/devin/agents-and-automation/build-custom-orchestrator How do I build a custom orchestrator for Devin Outposts? https://latestn.com/tool/devin/agents-and-automation/build-triggers-and-statuses What triggers a Devin environment build and what do the build statuses mean? https://latestn.com/tool/devin/agents-and-automation/centralization-free-scheduling How does Devin Outposts handle scheduling without centralization? https://latestn.com/tool/devin/agents-and-automation/assign-fixes-to-devin How do I assign security fixes to Devin? https://latestn.com/tool/devin/agents-and-automation/bad-instructions-examples Why do vague instructions like 'Add a user stats endpoint' fail with Devin? https://latestn.com/tool/devin/agents-and-automation/bot-instructions-modes What modes and instructions can I configure for a Devin Bot? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:14:39Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/devin/agents-and-automation/bug-fix-prompt-template/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/devin/agents-and-automation/bug-fix-prompt-template POST: https://latestn.com/dispute/tool/devin/agents-and-automation/bug-fix-prompt-template with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/devin/agents-and-automation/bug-fix-prompt-template?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What Devin prompt template should I use to fix a specific bug? Revision 1, last verified 2026-11-20T12:45:49Z. https://latestn.com/tool/devin/agents-and-automation/bug-fix-prompt-template (accessed 2026-11-21T10:06:51Z). @misc{LatestN_tool_devin_agents_and_automation_bug_fix_prompt_template_r1, title = {What Devin prompt template should I use to fix a specific bug?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/devin/agents-and-automation/bug-fix-prompt-template}}, note = {Revision 1; digest sha256:0ec4b983d2c79288; last verified 2026-11-20T12:45:49Z; accessed 2026-11-21T10:06:51Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/devin/agents-and-automation/bug-fix-prompt-template