debug
Skill0 starsChanged 6 months agoMITView on GitHub
Find and fix the root cause of a bug systematically — reproduce, isolate, hypothesize, verify — instead of patching symptoms. Use when the user says "it's broken", "bug", "error", "it doesn't work", "fix this", "why is this happening", or a test is failing. Cross-cutting; run any time.
190 other projects use a version of this.
Adopted by
Most recently taken up by
- sentimony/skillstheir own version, first seen Nov 29, 2026
- ByronFinn/dev-skillstheir own version, first seen Nov 29, 2026
- Rune-kit/runetheir own version, first seen Nov 29, 2026
- Bazza1982/HASHItheir own version, first seen Nov 29, 2026
- alexcollins/skillstheir own version, first seen Nov 29, 2026
- Sagargupta16/craftsmanshiptheir own version, first seen Nov 29, 2026
Used with
Projects with it also use add-discord, add-slack and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkilladd-discord
Add Discord bot channel integration via Chat SDK.
Also in 11 projects that use this
MicrosoftSkilladd-slack
Add Slack channel integration via Chat SDK.
Also in 11 projects that use this
- +10 more from microsoft
Other versions190 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 190
- Yeachan-Heo/oh-my-claudecode★ 41ksame name
- Yeachan-Heo/oh-my-claude-sisyphus★ 41ksame name
- anthropics/knowledge-work-plugins★ 37ksame name
- nanocoai/nanoclaw★ 31ksame name
- gavrielc/nanoclaw★ 31ksame name
- qwibitai/nanoclaw★ 31ksame name
- openai/symphony★ 27ksame name
- FalkorDB/FalkorDB★ 11ksame name
- NVIDIA/Model-Optimizer★ 5.7ksame name
- NVIDIA/TensorRT-Model-Optimizer★ 5.6ksame name
180 more not listed
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 repository31 other files it gives its agents.
- accessibilitySkill
- ai-evalsSkill
- buildSkill
- code-reviewSkill
- data-modelSkill
- deploySkill
- designSkill
- documentSkill
- experimentSkill
- financeSkill
- ideateSkill
- incidentSkill
- instrumentSkill
- launchSkill
- legalSkill
- marketSkill
- onboardingSkill
- operateSkill
- orchestratorSkill
- performanceSkill
- planSkill
- polishSkill
- prototypeSkill
- researchSkill
- retentionSkill
- secureSkill
- sellSkill
- specSkill
- supportSkill
- testSkill
- validateSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 1 is distinctive, and 5 are very specific to this project.
0
Common
Most of the 177 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
Check that ## 05 Build is filled in COMPANY.md.
- Very specific: line 33
Isolate with
debugger: Read the full error and stack trace, check what changed recently (git log, git bisect), and halve the problem … - Distinctive: line 42
Look for siblings: Search for the same pattern elsewhere in the code.
- Very specific: line 43
Rewind if needed: If the cause is a spec, design, or data-model flaw, rewind Stage per the orchestrator rule instead of patching in code.
- Very specific: line 53
Update ## 06 Test → Known bugs (mark fixed, with root cause).
- Very specific: line 54
If the fix is a shortcut, log it in ## 05 Build → Tech debt log.
“Common” is measured: kept by at least 6 in 10 of the 177 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
Debug — fix the cause, not the symptom
Random changes until the error goes away create new bugs. This skill finds why something fails, fixes that, and proves it with a test so it never returns.
Connected skills
- Reads:
## 05 Build - Writes:
## 06 Test → Known bugs,## 05 Build → Tech debt logwhen relevant - Agents:
debugger - Previous: any
- Next: back to whatever stage was running
Goal
The root cause is identified with evidence, fixed, and covered by a regression test.
Inputs
- The bug report: what happened, what was expected, where, and how often.
Before you start
Check that ## 05 Build is filled in COMPANY.md. If a section you depend on is empty or still _TBD_, stop and tell the founder which skill fills it (see the orchestrator's stage table) instead of guessing.
Process
- Reproduce it. Get a reliable repro (steps, input, environment). If you can't, gather more data (logs, error tracking, user steps) before touching code. No repro, no fix.
- Write the failing test that captures the bug, where practical.
- Isolate with
debugger. Read the full error and stack trace, check what changed recently (git log,git bisect), and halve the problem until one unit misbehaves. - Hypothesize, then test it. State "I think X because Y" and run one experiment that could prove it wrong. One variable at a time.
- Fix the root cause — the earliest point where things go wrong, not where the error surfaces.
- Verify. The failing test passes, the full suite is green, and the original repro no longer fails.
- Look for siblings. Search for the same pattern elsewhere in the code.
- Rewind if needed. If the cause is a spec, design, or data-model flaw,
rewind
Stageper the orchestrator rule instead of patching in code.
Exit criteria
- Root cause stated in one sentence, with the evidence that confirms it.
- A regression test fails before the fix and passes after.
- Full suite green; sibling occurrences checked.
- Evidence shown for each criterion above (command output, screenshot, link, or measurement), not just asserted.
Update the ledger
- Update
## 06 Test → Known bugs(mark fixed, with root cause). - If the fix is a shortcut, log it in
## 05 Build → Tech debt log. - Decision Log:
YYYY-MM-DD · fixed <bug> · root cause <cause>.
Handoff
"Fixed at the root, with a test guarding it. Back to /company to continue."
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.

