systematic-debugging
Structured root-cause debugging loop — reproduce, isolate, form a hypothesis, verify the fix. Use whenever a bug, crash, test failure, or unexpected behavior…
от metaspartan★ 41 звезда на GitHub
Установить systematic-debugging в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Systematic Debugging
A disciplined loop that finds the true root cause before changing code. Skipping it is the #1 cause of "fixes" that regress or don't hold.
The loop
- Reproduce reliably. Get a minimal, repeatable repro (command, input, test). If you can't reproduce it, say so and gather more info before touching code.
- Read the error fully. Capture the exact message, stack trace, and the line it points to. Don't guess from a summary.
- Isolate. Narrow the trigger: which input, which code path, which environment/version? Binary-search with logs or by disabling code.
- Form ONE hypothesis about the root cause. State it explicitly: "I think X happens because Y."
- Verify the hypothesis with the cheapest probe: a log, a print, a test, a debugger breakpoint (
lsp_diagnostics,execwith a tiny script). Confirm before fixing. - Fix the root cause, not the symptom. The fix should make the repro pass AND not break related cases.
- Add a regression test that captures the repro, so it can't come back.
- Re-run the full affected test suite, not just the one case.
Anti-patterns to avoid
- Changing multiple things at once → you won't know which fixed it.
- "Fixing" by catching/swallowing the error.
- Editing code based on a guess without confirming the hypothesis.
- Declaring fixed without re-running the repro.
When stuck
- Re-read the original repro; assumptions drift.
- Search code (
grep) and the issue for similar symptoms. - Check recent changes (
git log,git diff) — regressions usually track recent edits. - Form a NEW hypothesis; don't keep retesting the same one.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл systematic-debugging?
Structured root-cause debugging loop — reproduce, isolate, form a hypothesis, verify the fix. Use whenever a bug, crash, test failure, or unexpected behavior is reported.
Как установить скилл 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…