Code Design Rationale Investigator
cursor/plugins
Digs into why code is shaped the way it is by checking git history, pull requests and connected tools in parallel, then reporting a cited read on the tradeoffs.
Detailed guide for Root Cause Analysis (RCA) methodologies. An agent skill from revfactory/harness-100.
$ npx skills add revfactory/harness-100 --skill rca-methodology -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install revfactory/harness-100 rca-methodology --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .claude/skills && cp -r skills-src/en/25-incident-postmortem/.claude/skills/rca-methodology .claude/skills/rca-methodology && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "rca-methodology" agent skill from https://github.com/revfactory/harness-100/tree/main/en/25-incident-postmortem/.claude/skills/rca-methodology into .claude/skills/rca-methodology/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rca-methodology", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/revfactory/harness-100/tree/main/en/25-incident-postmortem/.claude/skills/rca-methodologyType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add revfactory/harness-100 --skill rca-methodology -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install revfactory/harness-100 rca-methodology --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .agents/skills && cp -r skills-src/en/25-incident-postmortem/.claude/skills/rca-methodology .agents/skills/rca-methodology && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "rca-methodology" agent skill from https://github.com/revfactory/harness-100/tree/main/en/25-incident-postmortem/.claude/skills/rca-methodology into .agents/skills/rca-methodology/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rca-methodology", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add revfactory/harness-100 --skill rca-methodology -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install revfactory/harness-100 rca-methodology --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/en/25-incident-postmortem/.claude/skills/rca-methodology .cursor/skills/rca-methodology && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "rca-methodology" agent skill from https://github.com/revfactory/harness-100/tree/main/en/25-incident-postmortem/.claude/skills/rca-methodology into .cursor/skills/rca-methodology/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rca-methodology", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/revfactory/harness-100.git --path en/25-incident-postmortem/.claude/skills/rca-methodology--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add revfactory/harness-100 --skill rca-methodology -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install revfactory/harness-100 rca-methodology --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/en/25-incident-postmortem/.claude/skills/rca-methodology .gemini/skills/rca-methodology && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "rca-methodology" agent skill from https://github.com/revfactory/harness-100/tree/main/en/25-incident-postmortem/.claude/skills/rca-methodology into .gemini/skills/rca-methodology/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rca-methodology", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install revfactory/harness-100 rca-methodologyInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add revfactory/harness-100 --skill rca-methodology -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .github/skills && cp -r skills-src/en/25-incident-postmortem/.claude/skills/rca-methodology .github/skills/rca-methodology && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "rca-methodology" agent skill from https://github.com/revfactory/harness-100/tree/main/en/25-incident-postmortem/.claude/skills/rca-methodology into .github/skills/rca-methodology/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rca-methodology", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add revfactory/harness-100 --skill rca-methodology -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install revfactory/harness-100 rca-methodology --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/en/25-incident-postmortem/.claude/skills/rca-methodology .opencode/skills/rca-methodology && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "rca-methodology" agent skill from https://github.com/revfactory/harness-100/tree/main/en/25-incident-postmortem/.claude/skills/rca-methodology into .opencode/skills/rca-methodology/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rca-methodology", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
rca-methodologyDetailed guide for Root Cause Analysis (RCA) methodologies. An agent skill from revfactory/harness-100.
Rca Methodology is an agent skill from revfactory/harness-100. Detailed guide for Root Cause Analysis (RCA) methodologies. Structured RCA techniques including 5 Whys, Fishbone diagrams, Fault Tree Analysis, change analysis, and a cognitive bias prevention checklist. Use this skill for 'root cause analysis', 'RCA', '5 Whys', 'fishbone', 'Fault Tree', 'cause analysis methodology', 'change analysis', and other incident cause analysis tasks. Enhances the analysis capabilities of root-cause-investigator. Note: timeline reconstruction and remediation planning are outside the scope…
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Root cause analysis and Marketing psychology. The licence is Apache-2.0.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 8e8d35c. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Rca Methodology loads about 1.5k tokens when it runs. Until then it costs about 137 tokens; SKILL.md has 258 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from revfactory/harness-100 at commit 8e8d35c, republished under its Apache-2.0 licence (© revfactory). 258 words, ~1,497 tokens.
.claude/skills/rca-methodology/SKILL.md (or your agent's skills folder).A collection of structured analysis techniques for systematically tracing incident root causes.
Problem: Payment service was down for 30 minutes.
Why 1: Why did the payment service go down?
-> The DB connection pool was exhausted.
Why 2: Why was the connection pool exhausted?
-> Slow queries held connections for extended periods.
Why 3: Why did slow queries occur?
-> A full table scan was performed without an index.
Why 4: Why was there no index?
-> The index addition was missed in the migration during the new feature deployment.
Why 5: Why was the missing index not detected?
-> Query performance verification was not included in the deployment pipeline.
Root Cause: Absence of query performance verification step in the deployment pipeline| Pitfall | Description | Prevention |
|---|---|---|
| Stopping too early | Concluding at step 2-3 | Verify: "Would fixing this prevent recurrence?" |
| Leading to blame | Ending with "who made the mistake" | Focus on system/process causes |
| Single path only | Missing compound causes | Review branches at each step |
| Speculation-based answers | Hypotheses without evidence | Verify with logs/metrics |
+- People -------- Insufficient deployer training
| Code review skipped
|
+- Process -------- Deployment checklist not followed
| Performance testing not conducted
|
Payment Svc Down <--+- Technology ---- Missing index
| Connection pool size insufficient
|
+- Environment ---- Production data scale not reflected
| Staging environment mismatch
|
+- Monitoring ----- Slow query alert not configured
DB metrics dashboard absent| Traditional 6M | Software Application | Investigation Items |
|---|---|---|
| Man | People/Team | Training, communication, on-call structure |
| Method | Process | Deployment procedures, change management, approval flows |
| Machine | Technology/Infrastructure | Servers, DB, network, code |
| Material | Data/Input | Input data, external API responses |
| Measurement | Monitoring | Alerts, metrics, logs, tracing |
| Environment | Environment | Configuration, env vars, dependent services |
Payment Service Outage (Top Event)
|
+-----| OR |-----+
| |
DB Failure Application Failure
| |
+-----| OR |-----+ +---| AND |---+
| | | |
Pool Exhaustion Disk Full Slow Queries High Traffic
| |
+-----| AND |-----+ +-----| OR |-----+
| | | |
Missing Index Large Data New Code Deploy Schema ChangeProbability Calculation:
OR gate: P(A OR B) = 1 - (1-P(A)) x (1-P(B))
AND gate: P(A AND B) = P(A) x P(B)
Example: P(slow query)=0.3, P(high traffic)=0.2
P(app failure) = 0.3 x 0.2 = 0.06 (6%)Investigate changes before and after the incident:
| Change Time | Change Content | Changed By | Impact Scope | Incident Correlation |
|------------|---------------|-----------|-------------|---------------------|
| T-2h | Payment API v2.3 deploy | Dev team | Payment service | HIGH |
| T-1h | Redis config change | Ops team | Cache service | MEDIUM |
| T-30m | CDN cache purge | Marketing | Frontend | LOW |
Correlation criteria:
1. Temporal proximity: Change time <-> Incident time
2. Scope match: Change scope <-> Incident impact scope
3. Rollback effect: Whether rolling back the change resolves the incident| Bias | Description | Prevention |
|---|---|---|
| Confirmation bias | Collecting only evidence matching the first hypothesis | Actively search for counterexamples |
| Hindsight bias | "Obviously this was the cause" | Judge based only on information available at the time |
| Availability bias | Equating with recently experienced similar incidents | Enforce evidence-based analysis |
| Fundamental attribution error | Attributing to human error | Prioritize system/process causes |
| Anchoring | Fixating on initial report content | Analyze independently from multiple perspectives |
| Situation | Recommended Technique | Reason |
|---|---|---|
| Simple incident, quick analysis needed | 5 Whys | Lightweight, can be done immediately |
| Suspected compound causes | Fishbone | Multi-dimensional cause exploration |
| Safety-related severe incidents | FTA | Quantitative, systematic |
| Post-deployment incidents | Change Analysis | Narrow down cause candidates |
| All cases | 5 Whys + Change Analysis combined | Fast yet systematic |
© revfactory, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in en/25-incident-postmortem/.claude/skills/rca-methodology of revfactory/harness-100.
Open the folder on GitHubat commit 8e8d35c
Rca Methodology next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Rca Methodology this skillrevfactory/harness-100 | 1.3k | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Code Design Rationale Investigatorcursor/plugins | 10k | 9 repos | ~2.6k | Automated safety check: Pass | None | |
| OpenLogi macOS Permissions TriageAprilNEA/OpenLogi | 23k | — | ~2.5k | Automated safety check: Notes | Apache-2.0 | |
| Bug Finder for daisyUIsaadeghi/daisyui | 43k | — | ~2.3k | Automated safety check: Pass | MIT | |
| Root Cause Debugginggarrytan/gstack | 136k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Graph-Based Bug Tracingtirth8205/code-review-graph | 32k | 1 repos | ~287 | Automated safety check: Pass | MIT |
cursor/plugins
Digs into why code is shaped the way it is by checking git history, pull requests and connected tools in parallel, then reporting a cited read on the tradeoffs.
AprilNEA/OpenLogi
Decides whether an OpenLogi device problem on macOS is a privacy-permission (TCC) problem, using agent log lines, and says which identity needs which grant.
saadeghi/daisyui
Investigates suspected bugs in the daisyUI monorepo through read-only analysis, then writes a decision-ready fix plan in tmp/bugs without changing any product code.
garrytan/gstack
Investigates bugs, errors and stack traces in phases and requires a root-cause hypothesis to be confirmed before any fix is written.
tirth8205/code-review-graph
Traces a bug through a code knowledge graph, following callers, callees and execution flow before opening source files, within a small token budget.
go-musicfox/go-musicfox
Fix or implement a tracker issue end to end from a single command — takes an issue id or a plain problem description (filed first via om-prepare-issue), classifies, then drives the bug autofix chain…
revfactory/harness-100
A skill for analyzing website anti-bot defense mechanisms and developing legitimate evasion strategies.
revfactory/harness-100
Reference for designing how an API reports failures: structured error codes, response shapes, client-friendly messages, an error catalog and retry or fallback advice.
revfactory/harness-100
Walks a backend-dev agent through OWASP API Top 10 checks, authentication and authorization patterns, and defense code during API design.
revfactory/harness-100
Methodology for systematically designing and generating CLI tool argument parser structures.
revfactory/harness-100
Audience segmentation skill used by the analyst and curator agents.
revfactory/harness-100
Audio storytelling skill used by the podcast scriptwriter and show note editor.
Categories
Detailed guide for Root Cause Analysis (RCA) methodologies. An agent skill from revfactory/harness-100. Rca Methodology is an agent skill from revfactory/harness-100. Detailed guide for Root Cause Analysis (RCA) methodologies.
Rca Methodology fits situations like: root cause analysis; cause analysis methodology; change analysis; other incident cause analysis tasks.
Run `npx skills add revfactory/harness-100 --skill rca-methodology -a claude-code`. Or copy the skill folder (en/25-incident-postmortem/.claude/skills/rca-methodology in revfactory/harness-100) into .claude/skills/rca-methodology in your project. Claude Code loads it when a task matches its description.
Run `npx skills add revfactory/harness-100 --skill rca-methodology -a codex`. Or copy the skill folder (en/25-incident-postmortem/.claude/skills/rca-methodology in revfactory/harness-100) into .agents/skills/rca-methodology in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add revfactory/harness-100 --skill rca-methodology -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rca-methodology, .gemini/skills/rca-methodology, .github/skills/rca-methodology and .opencode/skills/rca-methodology in your project.
SKILL.md names no scripts, command-line tools or credentials: Rca Methodology is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Rca Methodology is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Rca Methodology: Code Design Rationale Investigator (cursor/plugins, 10k stars), OpenLogi macOS Permissions Triage (AprilNEA/OpenLogi, 23k stars), Bug Finder for daisyUI (saadeghi/daisyui, 43k stars) and Root Cause Debugging (garrytan/gstack, 136k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
revfactory (a GitHub user) maintains it in revfactory/harness-100, which has 1,290 GitHub stars. The repository holds 464 skills in this directory. The repository was last updated on March 22, 2026.
Source: revfactory/harness-100 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.