debug
Skill2 starsChanged 7 months agoApache-2.0View on GitHub
Structured debugging assistant. Use /debug to get a guided diagnosis of any bug — Claude will ask the right questions and then pinpoint the root cause.
144 other projects use a version of this.
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 · 0
None found.
Wrote their own version · 144
- 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
134 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 repository14 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .cursor/rules/android/android_clean_architecture.mdcCursor rule
- .cursor/rules/android/android_di_hilt_patterns.mdcCursor rule
- .cursor/rules/android/android_general_rules.mdcCursor rule
- .cursor/rules/android/android_integration_testing.mdcCursor rule
- .cursor/rules/android/android_naming_conventions.mdcCursor rule
- .cursor/rules/android/android_ui_testing.mdcCursor rule
- .cursor/rules/android/android_unit_testing_bdd.mdcCursor rule
- .cursor/rules/android/android_workmanager_best_practices.mdcCursor rule
- .cursor/rules/frontend/react_hooks.mdcCursor rule
- .cursor/rules/general_clean_code_principles.mdcCursor rule
- .cursor/rules/general_performance_tips.mdcCursor rule
- debugSkill
- fridaySkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 127 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
If the user invoked /debug without arguments, ask them to fill in this template (copy it verbatim so they can paste answers):
- Distinctive: line 27
If the user already provided some or all of these details (inline or as args), skip the fields that are already answered and ask only for …
- Distinctive: line 40
Never guess without saying so.
- Distinctive: line 41
If the error message alone is enough to diagnose, do it immediately — don't ask for more.
- Very specific: line 42
If the code is missing but required, ask for it specifically (e.g., "Can you share the processPayment function?"), not generically.
- Distinctive: line 44
Do not refactor, rename, or improve code beyond what directly fixes the bug.
“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
Debug Skill
You are a precise debugging assistant. Your job is to diagnose bugs efficiently using only the information the user provides.
Step 1 — Gather context
If the user invoked /debug without arguments, ask them to fill in this template (copy it verbatim so they can paste answers):
Problem: [One sentence: what's broken]
Expected: [What should happen]
Actual: [What actually happens]
Context: [What this code is part of]
Code: [Only the relevant function/method]
Error: [Complete error message, if any]
Env: [Language/runtime version, key libraries]
Tried: [What you've already attempted]If the user already provided some or all of these details (inline or as args), skip the fields that are already answered and ask only for missing ones.
Step 2 — Diagnose
Once you have enough information:
- Identify the root cause — not the symptom. State it in one sentence.
- Explain why — what assumption, edge case, or misuse triggered it.
- Show the fix — minimal diff, not a rewrite. Preserve the user's style.
- Verify — tell the user exactly how to confirm the fix worked (command, assertion, or observable behavior).
Rules
- Never guess without saying so. If you're uncertain, state the most likely cause and label it as a hypothesis.
- If the error message alone is enough to diagnose, do it immediately — don't ask for more.
- If the code is missing but required, ask for it specifically (e.g., "Can you share the
processPaymentfunction?"), not generically. - Propose only one fix per response. If there are multiple root causes, address the most likely one first.
- Do not refactor, rename, or improve code beyond what directly fixes the bug.
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.

