Agent skill · Testing & QA

spec-driven-rca

Unified root cause analysis with 4-layer anti-skip enforcement for both tactical (dev workflow diagnosis) and strategic (5 Whys RCA documents) modes. Tactical mode auto-triggers after 2-3 failed fix attempts during TDD, returning fix prescriptions. Strategic mode invoked via /rca command, producing self-contained RCA documents with 5 Whys analysis, evidence collection, and actionable recommendations. Uses Execute-Verify-Record pattern at every step to prevent token optimization bias. Use this skill whenever root cause analysis is needed — after repeated test failures, integration failures, QA

majiayu000github.com/majiayu000GitHub ↗
claude-codecan modify filesMIT
Install
npx skills add majiayu000/claude-skill-registry --skill spec-driven-rca-bankielewicz-devforgeai --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 14 KB
Bundled scripts: none
Version: 2.0.0
Declared author: DevForgeAI
Allowed tools: -Read-Glob-Grep-Write-AskUserQuestion-Task
Path: skills/analysis/spec-driven-rca-bankielewicz-devforgeai/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Spec-Driven RCA Unified root cause analysis for the DevForgeAI framework. Operates in two modes: - **Tactical:** Fast diagnosis during dev workflow after repeated fix failures. Returns fix prescriptions. (Phases 00-03) - **Strategic:** Full 5 Whys RCA for framework breakdowns. Creates self-contained RCA documents. (Phases 00-02, 04-08) **Core Principle:** Understanding WHY a failure occurred is mandatory before attempting HOW to fix it. Every step in this skill exists because a previous failure proved it necessary. **If ambiguous or conflicts detected: HALT and use AskUserQuestion** --- ## Execution Model This skill expands inline. After invocation, execute Phase State Initialization immediately. Do not wait passively, ask permission, or offer execution options. **Self-Check (if ANY box is true = VIOLATION):** - [ ] Stopping to ask about token budget - [ ] Stopping to offer execution options - [ ] Waiting passively for results - [ ] Asking "should I execute this?" - [ ] Skipping a phase because it "seems simple" - [ ] Combining multiple phases into one - [ ] Summarizing instead of loading a reference file - [ ] Skipping verification because "I already know the answer" - [ ] Attem

What's inside
Steps it walks through
  1. Execution Model
  2. Anti-Skip Enforcement Contract
  3. Validation Modes
  4. Tactical Mode (Dev Workflow Diagnosis)
  5. Strategic Mode (Full RCA Document)
  6. Mode Detection Priority
  7. Parameter Extraction
  8. Phase State Initialization [MANDATORY FIRST]
  9. Phase Orchestration Loop
  10. Phase Index
  11. HALT: NO FIX ATTEMPTS UNTIL Phase 02 COMPLETES
  12. Escalation Protocol (Tactical Mode)
  13. 3-Attempt Escalation Rule
  14. Escalation Message Template
Ships with 1 file
  • metadata.json
Commands it runs
devforgeai-validate phase-init ${SESSION_ID} --workflow=rca --project-root=.
More from claude-skill-registry
All skills →
About this skill
What does the spec-driven-rca skill do?

Unified root cause analysis with 4-layer anti-skip enforcement for both tactical (dev workflow diagnosis) and strategic (5 Whys RCA documents) modes. Tactical mode auto-triggers after 2-3 failed fix attempts during TDD, returning fix prescriptions. Strategic mode invoked via /rca command, producing self-contained RCA documents with 5 Whys analysis, evidence collection, and actionable recommendations. Uses Execute-Verify-Record pattern at every step to prevent token optimization bias. Use this skill whenever root cause analysis is needed — after repeated test failures, integration failures, QA

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill spec-driven-rca-bankielewicz-devforgeai --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going