debug-root-cause
БесплатноБез исполняемых скриптовНе проверенInvestigate a failing test, test failure, crash, exception, or software bug. Reproduce the failure, isolate the failing code, test hypotheses, and verify the…
от onfire7777★ 17 звёзд на GitHubОб этом скилле
Debug — Root Cause Analysis
Thinking Protocol
Before touching code, answer silently:
- What exactly is the symptom? (Be precise)
- When did it last work? What changed since then?
- Am I fixing a symptom or the root cause?
Execution
Phase 1: Reproduce
- Create shortest path to trigger the bug
- Record exact steps, input data, environment
- If not reproducible, focus on gathering conditions
Phase 2: Isolate
- Binary search the cause space:
git bisectfor regressions- Comment out / disable components to narrow scope
- Add targeted logging at system boundaries
- Goal: identify the single component where behavior diverges
Phase 3: Hypothesize & Test
- Form exactly 2-3 hypotheses for root cause
- For each: design a test that would DISPROVE it (seek disconfirmation)
- Run tests, record results, eliminate until one remains
Phase 4: Fix Root Cause
- Apply minimum change that fixes root cause
- If tempted to add a workaround, stop and dig deeper
- Verify fix resolves original reproduction case
Phase 5: Prevent Recurrence
- Write a test that fails without the fix, passes with it
- If bug class is systemic, add lint rule or validation
- Document in commit message
Rules
🚨 Fix-it-never-work-around-it. Band-aid fixes ARE band-aid fixes. 🚨 Don't guess. Hypothesize, then test. Can't test? Gather more data. 🚨 The bug is in your code until proven otherwise.
Установить debug-root-cause в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл debug-root-cause?
Investigate a failing test, test failure, crash, exception, or software bug. Reproduce the failure, isolate the failing code, test hypotheses, and verify the fix with a regression test. Use to find the root cause of unexpected software behavior.
Как установить скилл debug-root-cause?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл debug-root-cause запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This 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…
от Anthropic