Templates
AI debugging workflow templates for cleaner prompts and handoffs
These templates are designed to be used after cleaning a log. They help turn the cleaned text into a complete prompt by adding expected behavior, recent changes, and the specific task you want the AI assistant to perform.
Build failure
Please debug this build failure. Command: Relevant file: Recent change: Cleaned error: What I already checked:
Runtime crash
Please identify the likely root cause. Route or command: Relevant file: Expected behavior: Cleaned stack trace: Minimal fix requested:
CI failure
Please summarize this CI failure and suggest the next check. Job: Step: Command: Cleaned error: Exit code:
TypeScript error
Please explain this TypeScript error and suggest the smallest type-safe fix. File: Changed code: Cleaned diagnostic: Expected type: Actual value:
React hydration issue
Please narrow this hydration mismatch. Route: Component: Server-rendered expectation: Client behavior: Cleaned warning or stack trace:
Support escalation
Please help triage this bug report. User impact: Environment: Cleaned error: Sensitive values removed: Question for engineering:
How to use these templates
Clean the log first, then paste the result into the template.
Add the command, route, file, or job name before asking for a fix.
Ask for one outcome: root cause, next check, minimal fix, or reproduction steps.
Remove secrets and internal data before using the prompt in a third-party AI tool.