debug
Skill4 starsChanged 4 months agoMITView on GitHub
Use when something in the project is broken, failing, or behaving unexpectedly — a build error, a red error message, a blank or white preview, a feature that stopped working, a component that disappeared, data that will not load, an edge function or permission failure, an error that keeps coming back after repeated fix attempts, or an app that runs but does the wrong thing. Also use when the user says "it's broken", "not working", "fix this error", "the screen is blank", "it worked before", "I'm stuck in a loop", or pastes a console error, stack trace, or log. Routes the symptom to the matching diagnostic playbook, finds the root cause, and fixes that rather than the symptom. Not for adding new features, and not for performance tuning unless something is actually failing.
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 repository15 other files it gives its agents.
- analyzeSkill
- authSkill
- emailsSkill
- knowledgeSkill
- mcpSkill
- paymentsSkill
- planSkill
- testSkill
- lovable-codebase-audit-cleanupSkill
- deploy-externalSkill
- shipSkill
- art-directionSkill
- responsiveSkill
- secureSkill
- skill-name-in-kebab-caseSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 127 edited versions we read keep these.
5
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 12
Read the user's description and any pasted error, then load the one playbook that owns it.
- Distinctive: line 33
If the symptom does not match a row, start at reference/triage.md and classify it there.
- Distinctive: line 45
Treat working features as locked: Do not modify a functioning component to fix a broken neighbour without saying why it must change.
- Distinctive: line 49
State the cause before the fix: Every report says what was wrong, why it produced this symptom, and what the change does about it.
- Distinctive: line 59
If the cause could not be isolated, say that instead of shipping a speculative fix, and give the next concrete step.
“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
Find the root cause, then fix that. A change that makes the error message disappear without explaining why the error happened is not a fix — it relocates the bug.
Route the symptom
Read the user's description and any pasted error, then load the one playbook that owns it. Do not load more than one to start; the playbook will tell you if the trail leads elsewhere.
| Symptom | Playbook |
| Build fails, red error banner, syntax or type error | reference/build-and-preview.md |
| Blank page, white screen, nothing renders | reference/build-and-preview.md |
| Preview not found, sandbox stuck spinning up | reference/build-and-preview.md |
| "File exceeds the 10 MB per-file commit limit" | reference/build-and-preview.md |
| No error, but the app does the wrong thing | reference/behavior.md |
| A component or whole section vanished | reference/behavior.md |
| Worked before the last change, broken now | reference/behavior.md |
| State stale, UI not updating after an action | reference/behavior.md |
| Data will not load, empty list, wrong rows | reference/backend.md |
| Edge function failing or not deploying | reference/backend.md |
| "Permission denied", RLS, user sees nothing or too much | reference/backend.md |
| Login, session, or role check misbehaving | reference/backend.md |
| Same error keeps returning, or a new one each fix | reference/loops.md |
| Two or more fix attempts with no progress | reference/loops.md |
| The project feels too tangled to repair | reference/loops.md |
| A monitoring check reported a finding | reference/triage.md |
If the symptom does not match a row, start at reference/triage.md and classify it there. If the user gave no symptom at all — "it's broken", "fix it" — do not guess: ask what they expected to happen and what happened instead, then route.
reference/prompts.md holds the reusable investigation recipes: investigate-without-editing, fragile-area change, codebase audit, performance audit. Pull from it whenever a playbook calls for one.
The rules that override everything
Gather evidence before editing. The exact error text, the console output, the last change that worked, and what the user expected. A fix built on a guessed cause is how one bug becomes three. reference/triage.md is the evidence checklist.
Two failed attempts means stop fixing and start investigating. Repeating a fix with small variations is the single most expensive failure mode here. After the second attempt, switch to reference/loops.md.
Change only what the diagnosis names. No "while I'm here" refactors, no defensive edits to unrelated files, no reformatting. Every extra file touched is a file that can regress, and it destroys the signal about what actually caused the fix to work.
Treat working features as locked. Do not modify a functioning component to fix a broken neighbour without saying why it must change. If a shared component has to change, name every feature that depends on it and confirm each still works.
Never silence a symptom. A null check that hides a null, an empty catch, a suppressed type error, an any cast — each converts a visible bug into an invisible one. If the real fix is out of scope, say so plainly instead of muting the evidence.
State the cause before the fix. Every report says what was wrong, why it produced this symptom, and what the change does about it. If you cannot explain why the symptom happened, you have not found the cause yet.
Report
- Symptom — as observed, with the error text.
- Root cause — what was actually wrong, and why it produced this symptom.
- Fix — the change, and the files touched.
- Verification — what you exercised to confirm it, and at what point it would have failed before.
- Left alone — anything you found but did not fix, and why.
If the cause could not be isolated, say that instead of shipping a speculative fix, and give the next concrete step.
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.

