investigate-bug
Skill1 starsChanged 19 days agoMITView on GitHub
Use when a defect, crash, regression, flaky test, or unexpected behavior needs an investigation before a fix. Collect evidence, test hypotheses and hand off a failing regression test to tdd-loop.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- hamakyo/okf-skillstheir own version, first seen Nov 21, 2026
- danielvm-git/bigpowerstheir own version, first seen Nov 6, 2026
- Esri/calcite-design-systemtheir own version, first seen Nov 2, 2026
- lvndry/skillstheir own version, first seen Nov 1, 2026
- dativo-io/talontheir own version, first seen Oct 25, 2026
- BuilderIO/agent-nativetheir own version, first seen Oct 17, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- BuilderIO/agent-native★ 7.8ksame name
- Esri/calcite-design-system★ 391same name
- danielvm-git/bigpowers★ 297same name
- dativo-io/talon★ 18same name
- hamakyo/okf-skills★ 3same name
- jasonhulbert/skills★ 1same name
- napnap11/claude-skills★ 1same name
- tejastn10/workbench★ 1same name
- lvndry/skills★ 0same 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 repository36 other files it gives its agents.
- AGENTS.mdAGENTS.md
- apply-architectureSkill
- assess-threatsSkill
- bootstrapSkill
- chart-routeSkill
- clarify-intentSkill
- code-reviewSkill
- domain-glossarySkill
- improve-agentsSkill
- learnSkill
- make-diagramSkill
- migrate-dataSkill
- model-domainSkill
- plan-workSkill
- profile-performanceSkill
- recover-workSkill
- releaseSkill
- review-blast-radiusSkill
- review-specSkill
- review-standardsSkill
- setup-dkstackSkill
- setup-editorconfigSkill
- setup-labelsSkill
- setup-quality-gatesSkill
- setup-repo-protectionSkill
- setup-supply-chainSkill
- setup-versioningSkill
- start-issueSkill
- tdd-loopSkill
- triageSkill
- ui-designSkill
- ui-reviewSkill
- verify-claimSkill
- write-adrSkill
- write-prSkill
- writing-checkSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 11 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
11
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 8
Follow debugging. For an outage, also read incident analysis.
- Distinctive: line 15
If reproduction fails, identify missing evidence and test plausible alternatives.
- Distinctive: line 16
Write at least two competing hypotheses when the cause is uncertain.
- Distinctive: line 18
Test one variable at a time.
- Distinctive: line 20
Use tdd-loop for the actual fix.
- Distinctive: line 26
Do not claim a confirmed root cause or a verified fix.
- Distinctive: line 29
Prefer non-destructive instrumentation or an isolated experiment.
- Distinctive: line 30
Ask for missing access or input only when it changes the next safe action.
- Distinctive: line 34
Do not start subagents for this skill.
- Distinctive: line 39
Do not weaken tests or quality gates.
- Distinctive: line 40
Do not apply speculative patches until a hypothesis has supporting evidence.
“Common” is measured: kept by at least 6 in 10 of the 9 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 a bug
Follow debugging. For an outage, also read incident analysis.
Steps
- Record expected behavior, actual behavior, impact, and the known environment.
- Collect safe reproduction steps, input samples, logs, versions, and errors.
- Reproduce in the smallest controlled environment that preserves the failure.
- If reproduction fails, identify missing evidence and test plausible alternatives.
- Write at least two competing hypotheses when the cause is uncertain.
- For each hypothesis, name a result that would falsify it.
- Test one variable at a time. Use
git bisectwhen a known good commit exists. - Locate the cause at a source line or boundary, supported by evidence.
- Use tdd-loop for the actual fix.
- Re-run the reproduction, regression test, and affected existing checks.
- Report the cause, proof, changed behavior, and remaining uncertainty.
When reproduction is unavailable
- Do not claim a confirmed root cause or a verified fix.
- Preserve the diagnostic evidence. Report each check that did not run as NOT RUN, as quality gates says.
- Prefer non-destructive instrumentation or an isolated experiment.
- Ask for missing access or input only when it changes the next safe action.
Subagents
Do not start subagents for this skill. Reason: hypothesis tests must follow one controlled investigation and shared evidence record. See the subagent guide.
Boundaries
- Do not weaken tests or quality gates.
- Do not apply speculative patches until a hypothesis has supporting evidence.
- Remain within the issue and the safety limits.
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.

