debug
Skill4 starsChanged 7 months agoMITView on GitHub
Systematically diagnose and fix bugs, unexpected behavior, or failing tests. Use when something is broken and the cause is not immediately obvious.
144 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- AllThingsSmitty/proven-skillstheir own version, first seen Oct 6, 2026
- prathish-ks/isthmustheir own version, first seen Oct 6, 2026
- muon-m2/magento2-toolstheir own version, first seen Oct 4, 2026
- andeeplus/aplustheir own version, first seen Oct 4, 2026
- nanocoai/nanoclawtheir own version, first seen Oct 4, 2026
- agentic-community/mcp-gateway-registrytheir own version, first seen Oct 4, 2026
Used with
Projects with it also use add-ollama-tool, 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-ollama-tool
Add Ollama MCP server so the container agent can call local models and optionally manage the Ollama model library.
Also in 6 projects that use this
MicrosoftSkilladd-slack
Add Slack channel integration via Chat SDK.
Also in 6 projects that use this
sskarzSkilladd-telegram-swarm
Add Agent Swarm (Teams) support to Telegram. Each subagent gets its own bot identity in the group. Requires Telegram channel to be set up first (use /add-telegram). Triggers on "agent swarm", "agent teams telegram", "telegram swarm", "bot pool".
Also in 5 projects that use this
- +9 more from microsoft
Other versions144 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- Marnie0415/pi-skills★ 190% same
Wrote their own version · 143
- Yeachan-Heo/oh-my-claudecode★ 40ksame name
- nanocoai/nanoclaw★ 31ksame name
- openai/symphony★ 28ksame name
- anthropics/knowledge-work-plugins★ 26ksame name
- NVIDIA/Model-Optimizer★ 5.2ksame name
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- jsmastery-pro/skills★ 1.4ksame name
- agentic-community/mcp-gateway-registry★ 956same name
- suboss87/FDEOps★ 950same name
- kdlbs/kandev★ 899same name
133 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 repository5 other files it gives its agents.
- code-reviewSkill
- planSkill
- refactorSkill
- specSkill
- testSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. 0 are common, 18 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 127 edited versions we read keep these.
18
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
Do not guess. Work systematically: reproduce, isolate, hypothesize, verify.
- Distinctive: line 12
Before touching any code, confirm you can reproduce the problem.
- Distinctive: line 17
If you cannot reproduce it, stop and ask for more information.
- Distinctive: line 21
If there is an error message or stack trace:
- Distinctive: line 22
Read the full trace, not just the first line
- Distinctive: line 24
Check what values were in scope at that point
- Distinctive: line 29
Add temporary logging or assertions to confirm assumptions about state
- Distinctive: line 31
Check: when did this last work?
- Distinctive: line 35
Write one sentence: "I believe X is happening because Y." Do not skip this.
- Distinctive: line 36
Do not skip this. It prevents you from randomly changing code and hoping it works.
- Distinctive: line 42
Check the actual values at runtime if possible
- Distinctive: line 43
Look for edge cases the author may have missed
- Distinctive: line 45
If your hypothesis is wrong, return to step 3.
- Distinctive: line 50
Do not refactor surrounding code while fixing a bug
- Distinctive: line 51
Do not fix multiple bugs in one change
- Distinctive: line 52
After fixing, re-read the change and ask: could this break anything else?
- Distinctive: line 57
Check that related behavior still works
- Distinctive: line 58
If a test was failing, confirm it now passes and no others broke
“Common” is measured: kept by at least 6 in 10 of the 127 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
Debugging
Do not guess. Work systematically: reproduce, isolate, hypothesize, verify.
Step 1: Reproduce
Before touching any code, confirm you can reproduce the problem.
- What is the exact input or sequence of actions that triggers it?
- Is it consistent or intermittent?
- Does it happen in all environments or only some?
If you cannot reproduce it, stop and ask for more information.
Step 2: Read the error
If there is an error message or stack trace:
- Read the full trace, not just the first line
- Find the deepest frame in your own code (not library internals) — that is your starting point
- Check what values were in scope at that point
Step 3: Isolate
Narrow down where the problem lives before reading more code.
- Add temporary logging or assertions to confirm assumptions about state
- Bisect: is the problem in the input, the transformation, or the output?
- Check: when did this last work? Use
git logandgit blameto find recent changes
Step 4: Form a hypothesis
Write one sentence: "I believe X is happening because Y." Do not skip this. It prevents you from randomly changing code and hoping it works.
Step 5: Verify the hypothesis
Find the code that should implement the behavior you described.
- Read it carefully
- Check the actual values at runtime if possible
- Look for edge cases the author may have missed
If your hypothesis is wrong, return to step 3. Do not guess-and-check.
Step 6: Fix
Make the smallest possible change that fixes the root cause.
- Do not refactor surrounding code while fixing a bug
- Do not fix multiple bugs in one change
- After fixing, re-read the change and ask: could this break anything else?
Step 7: Verify the fix
- Confirm the original issue no longer reproduces
- Check that related behavior still works
- If a test was failing, confirm it now passes and no others broke
Report format
Root Cause One sentence: what was actually wrong.
Fix What you changed and why that addresses the root cause.
Files Changed
path/to/file.ts:42— what changed
Regression Risk Any adjacent behavior that should be tested after this fix.
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.

