skills/root-cause/SKILL.md
Systematic root cause analysis for bug diagnosis. Use when investigating the underlying cause of a bug.
npx skillsauth add the-own-lab/Claude-company-of-one root-causeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
A systematic methodology for diagnosing the underlying cause of bugs.
Collect all available information before forming any hypothesis:
Based on the evidence, identify candidate causes:
Validate or eliminate each hypothesis through direct investigation:
When the problem space is large, use binary search:
Confirm the root cause with definitive evidence:
Once the root cause is identified, assess the full impact:
Read the template before producing the diagnosis:
Read ${CLAUDE_PLUGIN_ROOT}/templates/DIAGNOSIS.md
Produce a structured DIAGNOSIS.md following the template above, containing:
file:line referencesdocumentation
Update BRIEF.md sections during a command run. Any skill that produces a brief-persisted artifact calls this to write it back.
development
Post-code check: run tests + confirm TODO acceptance items map to passing tests; applies a security lens but is not a separate scan.
documentation
Command post-step: write CHANGELOG + TODO once per command run. One call, not per-skill doc writes.
content-media
Author REQUIREMENTS.md + DESIGN.md + TODO.md for a feature. The three files are one contract; they ship together.