systematic-debugging
Find the root cause before proposing any fix: reproduce, read the error, diff against what changed, form one hypothesis, test it minimally. Use for a bug, a…
от GregHilston★ 15 звёзд на GitHub
Установить systematic-debugging в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Systematic debugging
Adapted from obra/superpowers (MIT), cut to the checklist. Invoke by name; it is not loaded on its own.
No fix without a root cause. A symptom fix is a failure even when the test goes green. Announce which phase you are in as you go.
Phase 1 — Investigate
- Read the error completely. The whole stack trace, every line number, every path. It usually names the cause.
- Reproduce it on demand. Exact steps, every time. If it will not reproduce, gather more data; do not guess.
- Diff against what changed.
git diff, recent commits, new dependencies, config, environment. - Across component boundaries, instrument before theorising. Log what enters and leaves each layer (CI → build → sign, API → service → DB), run once, and let the evidence say which layer breaks.
- Trace bad values backwards to where they originate. Fix at the source.
Phase 2 — Find the pattern
- Locate working code that does the same thing in this codebase.
- If following a reference implementation, read all of it, not the first screen.
- List every difference between working and broken, however small.
Phase 3 — One hypothesis, one change
- State it: "X is the root cause because Y."
- Make the smallest change that tests it. One variable at a time.
- If it did not work, form a new hypothesis. Do not stack fixes.
- If you do not understand something, say so and go find out.
Phase 4 — Fix
- Write the failing reproduction first: a test if there is a framework, a one-off script if not.
- One fix for the identified cause. No "while I'm here" changes.
- Verify: the reproduction passes, the rest of the suite still passes, the
original symptom is gone (see
/verification-before-completion).
Three failed fixes means stop. That is evidence of an architectural problem, not a fourth attempt. Say so and discuss before touching code again.
Rationalisations to refuse
| Thought | Reality |
|---|---|
| "It's obvious, just try it" | Obvious fixes that were wrong got you here. |
| "No time for process" | Guessing is slower than reading. |
| "I'll add a workaround for now" | Workarounds are the bug in a new place. |
| "It's probably X" | Probably is a hypothesis. Test it. |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл systematic-debugging?
Find the root cause before proposing any fix: reproduce, read the error, diff against what changed, form one hypothesis, test it minimally. Use for a bug, a failing test, a build failure, or "I already tried three fixes".
Как установить скилл systematic-debugging?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл systematic-debugging запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…