Agent Skill
2/7/2026

find-root-causes

This skill should be used when diagnosing failures, investigating incidents, finding root causes, or when "root cause", "diagnosis", "investigate", or "--rca" are mentioned.

O
outfitter
21GitHub Stars
1Views
npx skills add outfitter-dev/agents

SKILL.md

Namefind-root-causes
DescriptionThis skill should be used when diagnosing failures, investigating incidents, finding root causes, or when "root cause", "diagnosis", "investigate", or "--rca" are mentioned.

name: find-root-causes description: This skill should be used when diagnosing failures, investigating incidents, finding root causes, or when "root cause", "diagnosis", "investigate", or "--rca" are mentioned. agent: debugger context: fork metadata: version: "2.0.0" related-skills: - debugging - codebase-recon - report-findings

Root Cause Analysis

Delegated investigation: symptom → hypothesis → elimination → root cause → prevention.

Steps

  1. Load the outfitter:debugging skill for systematic investigation
  2. Apply elimination techniques from this skill's references
  3. Document investigation trail using RCA templates
  4. Deliver root cause report with prevention recommendations

<when_to_use>

  • Diagnosing system failures or unexpected behavior
  • Investigating incidents or outages
  • Finding the actual cause vs surface symptoms
  • Preventing recurrence through understanding
  • Post-incident reviews requiring formal documentation

NOT for: known issues with documented fixes, simple configuration errors, routine debugging (use debugging skill directly)

</when_to_use>

<rca_focus>

This skill extends debugging with formal RCA practices:

AspectDebuggingRoot Cause Analysis
ScopeFix the immediate issueUnderstand why it happened
OutputWorking codeRCA report + prevention
DocumentationInvestigation notesFormal templates
GoalResolutionPrevention of recurrence

Use debugging for day-to-day bug fixes. Use find-root-causes for incidents requiring formal investigation and documentation.

</rca_focus>

<elimination_techniques>

Three core techniques for narrowing to root cause:

TechniqueWhen to UseMethod
Binary SearchLarge problem space, ordered changesBisect the change range
Variable IsolationMultiple variables, need causationControl all but one
Process of EliminationFinite set of possible causesRule out systematically

See elimination-techniques.md for detailed methods and examples.

</elimination_techniques>

<documentation>

Investigation Trail

Log every step for handoff and pattern recognition:

[TIME] STAGE: Action → Result
[10:15] DISCOVERY: Gathered error logs → Found NullPointerException
[10:22] HYPOTHESIS: User object not initialized
[10:28] TEST: Added null check logging → Confirmed user is null

RCA Report Structure

  1. Summary — one-sentence root cause
  2. Timeline — events leading to incident
  3. Impact — what was affected, duration
  4. Root Cause — why it happened (not just what)
  5. Contributing Factors — conditions that enabled it
  6. Prevention — changes to prevent recurrence
  7. Detection — how to catch it earlier next time

See documentation-templates.md for full templates.

</documentation>

<common_pitfalls>

TrapCounter
"I already looked at that"Re-examine with fresh evidence
"That can't be the issue"Test anyway, let evidence decide
"We need to fix this quickly"Methodical investigation is faster
Confirmation biasActively seek disconfirming evidence
Correlation = causationTest direct causal mechanism

See pitfalls.md for detailed resistance patterns and recovery.

</common_pitfalls>

<rules>

ALWAYS:

  • Load debugging skill for systematic investigation methodology
  • Use elimination techniques to narrow root cause
  • Document investigation trail as you go
  • Produce formal RCA report for incidents
  • Include prevention recommendations
  • Identify contributing factors, not just root cause

NEVER:

  • Skip formal documentation for incidents
  • Stop at "what happened" without "why"
  • Propose fixes without understanding root cause
  • Omit prevention recommendations
  • Blame individuals (focus on systems)
</rules> <references> </references>
Skills Info
Original Name:find-root-causesAuthor:outfitter