Back to list
doanchienthangdev

tracing-root-causes

by doanchienthangdev

Omega Vibecode Kit

2🍴 1📅 Jan 21, 2026

SKILL.md


name: tracing-root-causes description: AI agent performs systematic root cause analysis using 5 Whys, Fishbone diagrams, and evidence-based investigation. Use when debugging, conducting post-mortems, or investigating incidents.

Tracing Root Causes

Quick Start

  1. Identify Symptom - Document the observable problem
  2. Gather Evidence - Collect logs, metrics, traces around incident
  3. Apply 5 Whys - Ask "Why?" iteratively until fundamental cause found
  4. Map Categories - Use Fishbone to explore all cause categories
  5. Document Findings - Create RCA report with action items

Features

FeatureDescriptionGuide
Cause HierarchySymptom -> Proximate -> Root -> SystemicFix at deepest level possible
5 WhysIterative "Why?" questioningTypically 5 iterations to root cause
Fishbone DiagramCategory-based cause explorationCode, Data, Config, Infra, External, Process
Evidence GatheringLogs, metrics, traces, reproductionTimestamp, source, reliability rating
RCA ReportStructured documentationTimeline, cause chain, action items
Systemic FactorsWhy wasn't this caught earlier?Testing, monitoring, process gaps

Common Patterns

# 5 Whys Example
Problem: Website down for 2 hours

Why #1: Why down? -> Server out of memory
Why #2: Why out of memory? -> Connections unbounded
Why #3: Why unbounded? -> Not released after use
Why #4: Why not released? -> Early return skipped finally
Why #5: Why not caught? -> No test for cleanup path

Root Causes:
1. Technical: Missing cleanup execution
2. Systemic: Missing test coverage
3. Process: Code review missed pattern

# Fishbone Categories (Software)
CODE:       Logic errors, race conditions, memory leaks
DATA:       Invalid input, corrupt data, schema mismatch
CONFIG:     Wrong settings, env mismatch, feature flags
INFRA:      Resource exhaustion, network, scaling
EXTERNAL:   Third-party APIs, dependencies, attacks
PROCESS:    Missing tests, review gaps, monitoring blind spots
# Cause Hierarchy
SYMPTOM: "App crashed"
    |
PROXIMATE CAUSE: "Out of memory"
    |
CONTRIBUTING FACTOR: "No memory limits"
    |
ROOT CAUSE: "Memory leak in event handlers"
    |
SYSTEMIC FACTOR: "No memory monitoring"

PRINCIPLE: Fix symptoms = problem returns
           Fix root cause = this problem prevented
           Fix systemic = class of problems prevented

Best Practices

DoAvoid
Gather evidence before forming hypothesesJumping to conclusions
Use structured methods consistentlyAd-hoc investigation
Involve multiple perspectivesSingle viewpoint
Look for systemic factorsJust fixing immediate cause
Create actionable recommendationsVague "be more careful"
Verify fixes prevent recurrenceAssuming fix works
Share learnings across teamSiloing knowledge
Investigate near-misses tooOnly investigating failures
  • debugging-systematically - Four-phase debugging process
  • solving-problems - 5-phase problem-solving framework
  • thinking-sequentially - Numbered thought chains
  • verifying-before-completion - Ensure fix completeness

Score

Total Score

60/100

Based on repository quality metrics

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

Reviews

💬

Reviews coming soon