debug
Skill2 starsChanged 9 months agoMITView on GitHub
Systematic debugging using hypothesis testing. Reproduces the error, isolates the cause, and implements a fix. Use when the user reports a bug, error, or unexpected behavior, or says "debug this", "fix this error", "why is this failing", or "it's not working".
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 repository239 other files it gives its agents.
- claude-code-docs/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- claude-code-docs/llms.txtllms.txt
- agent-native-architectureSkill
- claude-apiSkill
- embedding-strategiesSkill
- fal-ai-mediaSkill
- gemini-imagegenSkill
- hybrid-search-implementationSkill
- langchain-architectureSkill
- llm-evaluationSkill
- ml-pipeline-workflowSkill
- prompt-engineering-patternsSkill
- rag-implementationSkill
- similarity-search-patternsSkill
- vector-index-tuningSkill
- api-design-principlesSkill
- api-designSkill
- architecture-patternsSkill
- cqrs-implementationSkill
- event-store-designSkill
- fastapi-templatesSkill
- microservices-patternsSkill
- openapi-spec-generationSkill
- projection-patternsSkill
- saga-orchestrationSkill
- api-conventionsSkill
- andrew-kane-gem-writerSkill
- angular-migrationSkill
- auth-implementation-patternsSkill
- backend-patternsSkill
- bazel-build-optimizationSkill
- coding-standardsSkill
- database-migrationSkill
- debugging-strategiesSkill
- dependency-upgradeSkill
- dhh-rails-styleSkill
- dotnet-backend-patternsSkill
- dspy-rubySkill
- error-handling-patternsSkill
- monorepo-managementSkill
- nodejs-backend-patternsSkill
- nx-workspace-patternsSkill
- react-modernizationSkill
- temporal-python-testingSkill
- turborepo-cachingSkill
- workflow-orchestration-patternsSkill
- defi-protocol-templatesSkill
- nft-standardsSkill
- solidity-securitySkill
- web3-testingSkill
- backtesting-frameworksSkill
- billing-automationSkill
- competitive-landscapeSkill
- data-storytellingSkill
- employment-contract-templatesSkill
- investor-materialsSkill
- investor-outreachSkill
- kpi-dashboard-designSkill
- market-sizing-analysisSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 14 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 176 edited versions we read keep these.
14
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 18
Read $ARGUMENTS carefully.
- Distinctive: line 19
If a stack trace is provided, read every file and line mentioned.
- Distinctive: line 31
Test each hypothesis systematically (highest likelihood first):
- Distinctive: line 32
Add targeted logging or print statements to narrow the scope
- Distinctive: line 33
Check variable values at key points
- Distinctive: line 35
Use binary search: disable/simplify half the code to find which half contains the bug
- Distinctive: line 36
Read the documentation or source of any library involved if the error is unfamiliar
- Distinctive: line 40
Do not fix until the root cause is confirmed
- Distinctive: line 46
Do not refactor or add features in the same change
- Distinctive: line 50
Run the full test suite - no regressions allowed
- Distinctive: line 59
If the bug cannot be reproduced: ask the user for more context (environment, inputs, exact error message)
- Distinctive: line 60
If multiple root causes are found: fix the most critical one, then list the others
- Distinctive: line 61
If the fix would be a large refactor: describe it and get user approval before implementing
- Distinctive: line 62
If the root cause is in a third-party dependency: report it, provide a workaround, and suggest filing an issue upstream
“Common” is measured: kept by at least 6 in 10 of the 176 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 the following issue: $ARGUMENTS
Phase 1: Reproduce
- Understand the error:
- Read $ARGUMENTS carefully. Extract: the error message, the affected component, any stack trace or file/line references.
- If a stack trace is provided, read every file and line mentioned.
- Reproduce the failure:
- Find or write a command, test, or script that triggers the error reliably
- Confirm it fails consistently before investigating the cause
Phase 2: Isolate
- Form hypotheses (list at least 3):
- Based on the error message and stack trace, what are the most likely root causes?
- Rank them by likelihood
- Test each hypothesis systematically (highest likelihood first):
- Add targeted logging or print statements to narrow the scope
- Check variable values at key points
- Inspect config files, environment variables, and dependencies that could be involved
- Use binary search: disable/simplify half the code to find which half contains the bug
- Read the documentation or source of any library involved if the error is unfamiliar
- Identify the root cause:
- A hypothesis is confirmed when you can explain both WHY the error occurs and WHY it does NOT occur in other cases
- Do not fix until the root cause is confirmed
Phase 3: Fix
- Implement the minimal fix:
- Change only what is necessary to address the root cause
- Do not refactor or add features in the same change
- Verify the fix:
- Re-run the reproduction case - it must succeed
- Run the full test suite - no regressions allowed
- Report the finding:
- Root cause (one sentence)
- Fix applied (file and line)
- How to prevent similar issues in the future (if obvious)
Error Handling
- If the bug cannot be reproduced: ask the user for more context (environment, inputs, exact error message)
- If multiple root causes are found: fix the most critical one, then list the others
- If the fix would be a large refactor: describe it and get user approval before implementing
- If the root cause is in a third-party dependency: report it, provide a workaround, and suggest filing an issue upstream
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.

