スキル一覧に戻る
outfitter-dev

root-cause-analysis

by outfitter-dev

Rules files & configurations for agents

17🍴 0📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


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

Root Cause Analysis

Symptom → hypothesis formation → evidence gathering → elimination → root cause → verified fix.

<when_to_use>

  • Diagnosing system failures or unexpected behavior
  • Investigating incidents or outages
  • Finding the actual cause vs surface symptoms
  • Preventing recurrence through understanding
  • Any situation where "why did this happen?" needs answering

NOT for: known issues with documented fixes, simple configuration errors, guessing without evidence

</when_to_use>

<discovery_phase>

Core Questions

QuestionWhy it matters
What's the symptom?Exact manifestation of the problem
When did it start?First occurrence, patterns in timing
Can you reproduce it?Consistently, intermittently, specific conditions
What changed recently?Deployments, config, dependencies, environment
What have you tried?Previous fix attempts, their results
What are the constraints?Time budget, what can't be modified

Confidence Thresholds

LevelStateAction
0-2Symptom unclear or can't reproduceKeep gathering info
3Good context, some gapsCan start hypothesis phase
4+Clear pictureProceed to investigation

At level 3+, transition to hypothesis formation. Below level 3, keep gathering context.

</discovery_phase>

<hypothesis_formation>

Quality Criteria

Good HypothesisWeak Hypothesis
TestableToo broad ("something's wrong")
FalsifiableUntestable
SpecificContradicts evidence
PlausibleAssumes conclusion

Multiple Working Hypotheses

Generate 2-4 competing theories:

  1. List each hypothesis with supporting/contradicting evidence
  2. Rank by likelihood (evidence support, parsimony, testability)
  3. Design tests to differentiate between them

</hypothesis_formation>

<evidence_gathering>

Observation Collection

CategoryWhat to Gather
Error manifestationExact symptoms, messages, states
Reproduction stepsMinimal sequence triggering issue
System stateLogs, variables, config at failure time
EnvironmentVersions, platform, dependencies
TimingWhen started, frequency, patterns

Trace backwards from symptom:

  1. Last known good state — what was working?
  2. First observable failure — when did it break?
  3. Changes between — what's different?
  4. Root trigger — first thing that went wrong

</evidence_gathering>

<hypothesis_testing>

Test Design

For each hypothesis:

  1. Prediction — if true, what should we observe?
  2. Test method — how to verify?
  3. Expected result — what confirms/refutes?
  4. Time budget — when to move on?

Testing Priorities

PriorityStrategy
FirstQuick, non-destructive, local tests
SecondMost likely causes, common failures
ThirdEdge cases, rare failures

Execution Loop

Baseline → Single variable change → Observe → Document → Iterate

</hypothesis_testing>

<elimination_methodology>

Three core techniques:

TechniqueWhen to Use
Binary SearchLarge problem space, ordered changes
Variable IsolationMultiple variables, need causation
Process of EliminationFinite set of possible causes

See elimination-techniques.md for detailed methods.

</elimination_methodology>

<time_boxing>

PhaseDurationExit Condition
Discovery5-10 minQuestions answered, can reproduce
Hypothesis10-15 min2-4 testable theories ranked
Testing15-30 min per hypothesisConfirmed or ruled out
FixVariableRoot cause addressed
Verification10-15 minFix confirmed, prevention documented

If stuck beyond 2x estimate → step back, seek fresh perspective, or escalate.

</time_boxing>

<audit_trail>

Log every step:

[TIME] PHASE: 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

Benefits: Prevents revisiting same ground, enables handoff, catches circular investigation.

See documentation-templates.md for full templates.

</audit_trail>

<common_pitfalls>

Watch for these patterns:

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>

<confidence_calibration>

LevelIndicators
HighConsistent reproduction, clear cause-effect, multiple confirmations, fix verified
ModerateReproduces mostly, strong correlation, single confirmation
LowInconsistent reproduction, unclear correlation, unverified hypothesis

</confidence_calibration>

ALWAYS:

  • Gather sufficient context before hypothesizing
  • Form multiple competing hypotheses
  • Test systematically, one variable at a time
  • Document investigation trail
  • Verify fix actually addresses root cause
  • Document for future prevention

NEVER:

  • Jump to solutions without diagnosis
  • Trust single hypothesis without testing alternatives
  • Apply fixes without understanding cause
  • Skip verification of fix
  • Repeat same failed investigation steps
  • Hide uncertainty about root cause

Deep-dive documentation:

Related skills:

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です