root-cause-debug
Skill1 starsChanged 2 months agoApache-2.0View on GitHub
Investigates defects by reproducing or observing the failure, testing hypotheses, identifying the underlying cause, fixing the cause rather than the symptom, and proving the fix with targeted regression evidence.
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Prefer the smallest coherent change that removes the cause rather than masking an error, suppressing a signal, weakening validation, or …
- Distinctive: line 22
Add or strengthen a regression test, invariant, diagnostic check, or reproducible verification when practical.
- Distinctive: line 24
Run targeted validation first, followed by broader checks proportional to the potential blast radius and regression risk.
- Distinctive: line 26
If repeated high-confidence fixes fail, stop blind iteration.
- Distinctive: line 28
Avoid unrelated cleanup while diagnosing the defect unless it is necessary to isolate or safely correct the root cause.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Root-cause debug
- Capture expected behavior, observed behavior, impact, and the smallest reliable reproduction or evidence available.
- Confirm that the observed failure is real and identify the conditions under which it appears or disappears.
- Inspect relevant recent changes, logs, state transitions, dependencies, configuration, and the actual control or data path before editing.
- Form explicit hypotheses about possible causes and gather evidence that can distinguish or falsify them.
- Identify the underlying cause, contributing conditions, affected components, and likely blast radius before choosing a fix.
- Prefer the smallest coherent change that removes the cause rather than masking an error, suppressing a signal, weakening validation, or special-casing only the observed example.
- Add or strengthen a regression test, invariant, diagnostic check, or reproducible verification when practical.
- Run targeted validation first, followed by broader checks proportional to the potential blast radius and regression risk.
- If repeated high-confidence fixes fail, stop blind iteration. Re-check assumptions, gather new evidence, reconsider the system model, or escalate reasoning rather than repeating the same strategy with more effort.
Avoid unrelated cleanup while diagnosing the defect unless it is necessary to isolate or safely correct the root cause.
Report the root cause, contributing conditions, implemented or proposed fix, regression evidence, affected scope, and remaining uncertainty.
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- listener-He/java-harness-agent★ 16same name
- TylerAkins/ai-agent-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- automation-cost-controlSkill
- backup-and-recovery-reviewSkill
- calculation-model-validationSkill
- change-reviewSkill
- compatibility-and-rolloutSkill
- continuous-improvementSkill
- cross-surface-consistencySkill
- delegation-strategySkill
- dependency-changeSkill
- documentation-syncSkill
- environment-release-safetySkill
- high-risk-change-reviewSkill
- interface-qaSkill
- secret-exposure-responseSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

