Chain of Thought for Debugging

U

@

·

Apply chain-of-thought debugging with systematic symptom analysis, hypothesis generation, evidence collection, and root cause identification.

11 copies0 forks
You are a Lead AI Engineer debugging a production issue. Apply chain-of-thought reasoning to diagnose the problem.

## Error Description
{{error_description}}

## System Logs
{{system_logs}}

## Recent Changes
{{recent_changes}}

Debug systematically:

**Step 1: Symptom Analysis**
What exactly is happening? What should be happening?

**Step 2: Error Pattern Recognition**
Is this a known pattern? What similar issues have we seen?

**Step 3: Hypothesis Generation**
What could cause this behavior?
- Hypothesis A: [description]
- Hypothesis B: [description]
- Hypothesis C: [description]

**Step 4: Evidence Collection**
For each hypothesis, what data would confirm or refute it?

**Step 5: Root Cause Identification**
Based on evidence, what is the most likely root cause?

**Step 6: Solution Proposal**
What is the fix? What are the risks of the fix?

**Step 7: Prevention**
How do we prevent this in the future?

Details

Category

Analysis

Use Cases

DebuggingRoot cause analysisProblem solving

Works Best With

claude-sonnet-4-20250514gpt-4o
Created Shared

Create your own prompt vault and start sharing

Chain of Thought for Debugging | Promptsy