investigate-bug
Skill0 starsChanged 3 months agoApache-2.0View on GitHub
Identify the mechanism behind an unexplained failure by discriminating plausible causes. Use when a bug, intermittent failure, or performance regression has an unknown cause. Do not use for repairing an established cause, implementing expected new behavior, or verifying a known change alone.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- jamdotdev/jam-plugintheir own version, first seen Oct 1, 2026
- danielvm-git/bigpowerstheir own version, first seen Sep 1, 2026
- jasonhulbert/skillstheir own version, first seen Aug 31, 2026
- hamakyo/okf-skillstheir own version, first seen Aug 21, 2026
- napnap11/claude-skillstheir own version, first seen Jun 26, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- danielvm-git/bigpowers★ 252same name
- hamakyo/okf-skills★ 2same name
- jamdotdev/jam-plugin★ 2same name
- jasonhulbert/skills★ 1same name
- napnap11/claude-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 repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- build-prototypeSkill
- challenge-planSkill
- design-interfaceSkill
- evaluate-skillSkill
- fix-bugSkill
- implement-test-firstSkill
- improve-skillSkill
- map-decisionsSkill
- migrate-systemSkill
- model-domainSkill
- refactor-codeSkill
- reframe-explanationSkill
- review-requirementsSkill
- split-workSkill
- synthesize-evidenceSkill
- write-agent-guidanceSkill
- write-commit-messageSkill
- write-skillSkill
- write-specSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
1
Distinctive
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 29
When access or observability prevents discrimination, report the exact missing observation and how its possible results separate the live …
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Investigate Bug
Explain the observed failure with a mechanism that survives a meaningful attempt to distinguish it from plausible alternatives.
- Separate observations from explanations: record the triggering inputs, relevant state or event order, actual result, and expected behavior. A recent change or correlated metric is a lead, not a cause. If expected behavior itself is unsettled, identify that missing decision before classifying it as a defect.
- Trace the failing path only far enough to locate competing mechanisms. Rank hypotheses by their fit to the evidence and the cost of distinguishing them. Choose a probe whose possible results would change that ranking; vary the suspected cause while holding consequential inputs constant. Repeating the same broad failing check adds little when both explanations predict it.
- Interpret each probe against its prediction. For intermittent failures, retain the event order, state, workload, and environment that make the contrast meaningful; one clean run does not disprove a race. A reproduction, comparison, or trace must connect the proposed mechanism to the observed failure, not just show that some error occurs.
- Close with the supported mechanism, decisive evidence, and remaining uncertainty. When access or observability prevents discrimination, report the exact missing observation and how its possible results separate the live hypotheses. An untested favorite remains a hypothesis.
This outcome ends at a supported cause or a specific diagnostic blocker. Diagnosis alone does not authorize a product repair. When repair is also requested, carry its evidence into that work instead of restarting the investigation. Comparing external sources, specifying desired behavior, and requested test-first sequencing remain independently useful outcomes; none is a prerequisite here.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
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.

