debug
Skill7 starsChanged 6 months agoMITView on GitHub
Systematically debugs issues using structured diagnosis — reproduce, isolate, identify root cause, and fix. Use when facing bugs, errors, unexpected behavior, or failing tests.
192 other projects use a version of this.
Adopted by
Most recently taken up by
- PeanutGT/NutsSkillstheir own version, first seen Nov 8, 2026
- jskswamy/skillstheir own version, first seen Nov 8, 2026
- Firzus/agent-skillstheir own version, first seen Nov 8, 2026
- domengabrovsek/agent-configtheir own version, first seen Nov 8, 2026
- domengabrovsek/claudetheir own version, first seen Nov 8, 2026
- microsoft/veronatheir own version, first seen Nov 8, 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 versions192 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 192
- Yeachan-Heo/oh-my-claude-sisyphus★ 41ksame name
- Yeachan-Heo/oh-my-claudecode★ 41ksame name
- anthropics/knowledge-work-plugins★ 35ksame name
- gavrielc/nanoclaw★ 31ksame name
- nanocoai/nanoclaw★ 31ksame name
- qwibitai/nanoclaw★ 31ksame name
- openai/symphony★ 27ksame name
- FalkorDB/FalkorDB★ 10ksame name
- NVIDIA/TensorRT-Model-Optimizer★ 5.6ksame name
- NVIDIA/Model-Optimizer★ 5.6ksame name
182 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 repository45 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- a11y-auditSkill
- api-designSkill
- architecture-reviewSkill
- business-blueprintSkill
- business-logic-auditSkill
- changelogSkill
- ci-pipelineSkill
- code-coverageSkill
- competitive-analysisSkill
- convert-codeSkill
- create-componentSkill
- db-migrationSkill
- dependency-auditSkill
- deploy-checklistSkill
- design-flowSkill
- docker-setupSkill
- env-setupSkill
- error-monitorSkill
- estimateSkill
- explain-codeSkill
- fix-issueSkill
- generate-docsSkill
- git-cleanupSkill
- grill-meSkill
- handoffSkill
- legal-pagesSkill
- memory-importSkill
- memorySkill
- microcopySkill
- migrate-frameworkSkill
- onboardSkill
- optimizeSkill
- pr-summarySkill
- refactorSkill
- reference-appSkill
- review-prSkill
- security-scanSkill
- seo-scaffoldSkill
- tddSkill
- web-launch-checkSkill
- wireframeSkill
- write-skillSkill
- write-testsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
23 rules. 0 are common, 23 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 175 edited versions we read keep these.
23
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 25
If there's an error message or stack trace:
- Distinctive: line 26
Read the full error message — don't skip parts
- Distinctive: line 29
Check for root cause vs symptom — the first error in the chain is usually the cause
- Distinctive: line 32
Use a binary search strategy:
- Distinctive: line 44
Check dependency versions (lock file differences)
- Distinctive: line 45
Check OS/runtime version differences
- Distinctive: line 46
Check file path separators (Windows vs Unix)
- Distinctive: line 47
Check timezone/locale differences
- Distinctive: line 51
Check for dependency updates (lock file changes)
- Distinctive: line 52
Check for infrastructure/config changes
- Distinctive: line 53
Check for data changes in the database
- Distinctive: line 63
Check for N+1 queries
- Distinctive: line 64
Check for missing indexes
- Distinctive: line 65
Check for synchronous blocking in async code
- Distinctive: line 66
Check for unnecessary re-computation
- Distinctive: line 70
Verify the fix resolves the original issue
- Distinctive: line 71
Check for regressions — run related tests
- Distinctive: line 72
Add a test that would have caught this bug
- Distinctive: line 73
Document the root cause in the commit message
- Distinctive: line 76
Should there be input validation to catch this earlier?
- Distinctive: line 77
Should there be a test for this scenario?
- Distinctive: line 78
Should there be monitoring/alerting for this condition?
- Distinctive: line 79
Should the error message be improved for faster debugging next time?
“Common” is measured: kept by at least 6 in 10 of the 175 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
Structured Debugging
Recent Changes
!git log --oneline -10 2>/dev/null
!git diff --stat HEAD~3 2>/dev/null
Debugging Process
Step 1: Gather Information
- What is the symptom? — Error message, unexpected behavior, crash, performance issue
- When did it start? — Check recent commits:
git log --oneline -20 - Is it reproducible? — Always, sometimes, only in certain environments?
- What changed? — Recent code changes, dependency updates, config changes
Step 2: Read the Error
If there's an error message or stack trace:
- Read the full error message — don't skip parts
- Identify the origin — which file and line threw the error?
- Trace the call stack — how did execution reach that point?
- Check for root cause vs symptom — the first error in the chain is usually the cause
Step 3: Isolate the Problem
Use a binary search strategy:
- Narrow the scope: Is the issue in the frontend, backend, database, or external service?
- Check inputs: Are the inputs to the failing function correct?
- Check dependencies: Are all required services/modules available?
- Check state: Is the application/database in the expected state?
- Check environment: Are env vars, configs, and versions correct?
Step 4: Common Debugging Patterns
"It works on my machine"
- Check environment variables
- Check dependency versions (lock file differences)
- Check OS/runtime version differences
- Check file path separators (Windows vs Unix)
- Check timezone/locale differences
"It worked yesterday"
git bisectto find the breaking commit- Check for dependency updates (lock file changes)
- Check for infrastructure/config changes
- Check for data changes in the database
"It works sometimes"
- Race condition — look for shared mutable state
- Timing issue — look for missing awaits, unhandled promises
- Resource exhaustion — connections, file handles, memory
- External dependency flakiness — network, API rate limits
"It's slow"
- Profile before guessing — use the project's profiling tools
- Check for N+1 queries
- Check for missing indexes
- Check for synchronous blocking in async code
- Check for unnecessary re-computation
Step 5: Fix and Verify
- Implement the minimal fix
- Verify the fix resolves the original issue
- Check for regressions — run related tests
- Add a test that would have caught this bug
- Document the root cause in the commit message
Step 6: Prevent Recurrence
- Should there be input validation to catch this earlier?
- Should there be a test for this scenario?
- Should there be monitoring/alerting for this condition?
- Should the error message be improved for faster debugging next time?
Rules
- Don't guess and check randomly — use a systematic approach
- Read the error message — it usually tells you exactly what's wrong
- Check the obvious first — typos, missing imports, wrong file paths
- One change at a time — so you know what fixed it
- Always add a regression test for the bug you fixed
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.

