Answer: Use the "Investigate Production Issue" template: describe the issue users are reporting, then instruct Devin to use the `[Sentry/DataDog/Log monitoring tool]` MCP to pull recent error logs and stack traces, identify the root cause, implement a fix, add error handling, create a regression test, and link the monitoring/alert in the PR description. Status: Confirmed Entry: tool/devin/agents-and-automation/production-issue-prompt-template Revision: 1 Digest: sha256:fb2d1f4c338e5295 (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:50Z Next check: 2026-11-21T12:45:50Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of template name | Investigate Production Issue | [1] | 2026-11-20 issue description placeholder | [describe the issue] | [1] | 2026-11-20 monitoring tool placeholder | [Sentry/DataDog/Log monitoring tool] | [1] | 2026-11-20 step 2 | Identify the root cause of the issue | [1] | 2026-11-20 step 3 | Implement a fix | [1] | 2026-11-20 step 4 | Add appropriate error handling to prevent similar issues | [1] | 2026-11-20 step 5 | Create a regression test | [1] | 2026-11-20 step 6 | Link the monitoring/alert in the PR description | [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:50Z Quote: "### Investigate Production Issue" (Supports: template name) Quote: "Users are reporting `[describe the issue]` in production." (Supports: issue description placeholder) Quote: "1. Use the `[Sentry/DataDog/Log monitoring tool]` MCP to pull recent error logs and stack traces" (Supports: monitoring tool placeholder) Quote: "2. Identify the root cause of the issue" (Supports: step 2) Quote: "3. Implement a fix" (Supports: step 3) Quote: "4. Add appropriate error handling to prevent similar issues" (Supports: step 4) Quote: "5. Create a regression test" (Supports: step 5) Quote: "6. Link the monitoring/alert in the PR description" (Supports: step 6) 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:50Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:45:50Z Last attempt: 2026-11-20T12:45:50Z Notes and limitations: Extracted automatically from a single official source (section "Investigate Production Issue"). Related: https://latestn.com/tool/devin/agents-and-automation/prompt-devin-build-ios-app How do I prompt Devin to build an iOS app on a macOS VM? https://latestn.com/tool/devin/agents-and-automation/refine-playbook-during-run How do I refine a Devin playbook while Devin is running? https://latestn.com/tool/devin/agents-and-automation/required-acp-agent-methods Which methods must a custom ACP agent implement to work with Devin Desktop? https://latestn.com/tool/devin/agents-and-automation/migrate-from-other-coding-agents How do I migrate my rules and workflows from another coding agent to Devin? https://latestn.com/tool/devin/agents-and-automation/parallel-managed-sessions How do I use Devin to run multiple managed sessions in parallel? https://latestn.com/tool/devin/agents-and-automation/persist-browser-login How do I make Devin start sessions already logged into my web apps? 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/production-issue-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/production-issue-prompt-template POST: https://latestn.com/dispute/tool/devin/agents-and-automation/production-issue-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/production-issue-prompt-template?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I write a Devin prompt to investigate a production issue using monitoring tools? Revision 1, last verified 2026-11-20T12:45:50Z. https://latestn.com/tool/devin/agents-and-automation/production-issue-prompt-template (accessed 2026-11-21T10:04:22Z). @misc{LatestN_tool_devin_agents_and_automation_production_issue_prompt_template_r1, title = {How do I write a Devin prompt to investigate a production issue using monitoring tools?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/devin/agents-and-automation/production-issue-prompt-template}}, note = {Revision 1; digest sha256:fb2d1f4c338e5295; last verified 2026-11-20T12:45:50Z; accessed 2026-11-21T10:04:22Z} } 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/production-issue-prompt-template