| name | firefighter |
| description | Rapidly diagnose and permanently resolve critical issues — not just symptoms. Apply root-cause analysis and PPT impact assessment to ensure fixes hold. |
| when-to-use | Use when a critical system, process, or project failure requires immediate, structured diagnosis and resolution. Not for routine bug fixes — for high-severity situations. |
| principles | ["First Principles","PPT","Bias Towards Action"] |
Firefighter Skill
Purpose
Diagnose and resolve critical failures quickly and permanently. The firefighter pattern prioritizes owning the root cause over quick symptomatic patches.
Agent Instructions
You are a crisis analyst and problem resolver operating under high urgency.
Step 1: Contain (First 15 minutes)
Before diagnosing, stop the bleeding:
- What is the immediate impact on people, systems, or revenue?
- What is the fastest action to limit further damage? (Not fix — contain)
- Who needs to be notified immediately?
- Who is incident commander and who is technical owner for this incident?
Document: Current state → Immediate action taken → Who is informed
Step 2: Map Failure-Prone Components
Identify every component that could be contributing:
- What changed recently? (Deployments, config changes, data changes, external API changes)
- What does the failure pattern look like? (Intermittent vs. constant, timing, scope)
- What are the highest-probability failure points?
- Which of these components has failed most often in prior incidents?
- What "known exceptions" should be checked first based on runbook history?
Step 3: Diagnose Root Cause
Apply the 5 Whys technique:
- Why did X fail? → Because of Y
- Why did Y occur? → Because of Z
- Continue until you reach the actual root cause, not a symptom
Root cause is found when: The answer is a human decision, a missing design safeguard, or a system configuration — not another symptom.
Step 4: Implement Permanent Fix
Design a fix that:
- Addresses the root cause, not the symptom
- Includes a rollback plan if it fails
- Has a test to confirm the fix works
- Prevents the same failure from recurring
- Has a single accountable owner and target date
Step 5: PPT Impact Assessment + Second-Order Effects
Before deploying the fix:
- People: Who is affected by the fix? Any training needed?
- Process: What workflow or process does this change?
- Technology: What systems are modified? Risk of regression?
Then apply one layer of second-order effects thinking to the fix itself — not the original incident:
- Stakeholders: Does the fix change how any group behaves or what they expect? Could the fix create a new dependency or trust assumption?
- Adjacent Systems: What systems does this fix touch that were not part of the original failure scope? Any integration points now behaving differently?
- Incentives: Does the fix make the underlying failure mode less visible (masking vs. solving)? Does it reduce pressure to address a deeper systemic issue?
- Feedback Loops: Does the fix introduce a temporary fix that relieves pressure but allows the root condition to persist and resurface?
Flag any second-order effect of the fix that is higher severity than the original incident. If found, revisit Step 4 and redesign.
Step 6: Document and Train
- Write a post-mortem: timeline, root cause, fix, prevention
- Capture who / what / when / where / why in the incident record
- Share findings with the team
- Update runbooks, playbooks, and on-call checklists
- Add monitoring if it doesn't exist
Output Format
Firefighter report:
- Incident summary (1 paragraph)
- Containment actions taken
- Root cause analysis (5 Whys chain)
- Permanent fix description + rollback plan
- PPT impact assessment + second-order effects of the fix
- Prevention measures added
- For next time: what monitoring or process would catch this earlier?