debug
Skill0 starsChanged 4 months agoMITView on GitHub
Systematisches Debugging bei Bug, Testfehler oder unerwartetem Verhalten — findet die ROOT CAUSE, bevor irgendein Fix vorgeschlagen wird. Vier Phasen, Rückwärts-Tracing zur Quelle, Fix an der Quelle statt am Symptom. Use when the user says "debug", "Fehler finden", "Bug", "Test schlägt fehl", "warum passiert das", "esc debug", or before proposing any fix.
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.
The file
Files
esc:debug — Ursache vor Fix
Ziel: die eigentliche Ursache finden, bevor irgendetwas geändert wird. Symptom-Fixe sind ein
Fehlschlag. Geführt aus skeptischer + pragmatischer Sicht (${CLAUDE_PLUGIN_ROOT}/shared/viewpoints.md).
EISERNES GESETZ: KEINE FIXES OHNE ROOT-CAUSE-ANALYSE ZUERSTSolange Phase 1 nicht abgeschlossen ist, darfst du keinen Fix vorschlagen. Verletzung des Buchstabens ist Verletzung des Geistes.
Die vier Phasen (jede vor der nächsten abschließen)
Phase 1 — Ursache untersuchen
- Fehlermeldung/Stacktrace vollständig lesen (nicht nur die erste Zeile).
- Konsistent reproduzieren. Nicht reproduzierbar → mehr Daten sammeln, nicht raten.
- Letzte Änderungen prüfen (
git diff, jüngste Commits, Dependencies, Config). - In Mehr-Komponenten-Systemen an jeder Grenze instrumentieren (Logs/Asserts) und einmal laufen lassen, um zu sehen WO es bricht.
- Datenfluss rückwärts tracen: den fehlerhaften Wert vom Symptom zurück bis zum ursprünglichen Auslöser verfolgen („was hat das aufgerufen?"). Fix an der Quelle, nicht am Symptom.
Phase 2 — Muster-Analyse
Funktionierendes Beispiel finden und vollständig vergleichen; jede Differenz benennen (nichts als „kann nicht wichtig sein" abtun); Abhängigkeiten verstehen.
Phase 3 — Hypothese & Test
Eine Hypothese formulieren: „Ich vermute X ist die Ursache, weil Y." Minimal testen — kleinste mögliche Änderung, eine Variable. Verifizieren, bevor es weitergeht. Bei Unklarheit ehrlich: „Ich verstehe X nicht."
Phase 4 — Umsetzung
- Zuerst einen scheiternden Testfall schreiben, der den Bug reproduziert (siehe
esc:implement, ROT-GRÜN). - Einen Fix an der Quelle umsetzen — kein „wo ich schon dabei bin".
- Verifizieren (Regressionstest rot→grün).
- Bei ≥3 gescheiterten Fixversuchen: STOPP — nicht die x-te Hypothese, sondern die Architektur infrage stellen. „Halten wir an diesem Muster nur aus Trägheit fest?"
Warnsignale — STOPP (zurück zu Phase 1)
„Quick-Fix jetzt, später untersuchen" · „einfach X ändern und schauen" · „ist wahrscheinlich X, fixe das" · Lösung vorschlagen, bevor der Datenfluss getract ist · „ein Fixversuch noch" (bei bereits 2+) · „jeder Fix deckt an anderer Stelle ein neues Problem auf".
Definition of Done
- Ursache ist belegt (Phase 1 abgeschlossen, rückwärts zur Quelle getract).
- Ein Fix an der Quelle; Regressionstest rot→grün (mit gezeigter Ausgabe).
- Keine Nebenbei-Änderungen; bei ≥3 Fehlversuchen wurde die Architektur hinterfragt.
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.

