systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
от skeletorflet★ 48 звёзд на GitHub
Установить systematic-debugging в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Systematic Debugging
Overview
Random fixes waste time and create new bugs. Quick patches mask underlying issues.
Core principle: ALWAYS find root cause before attempting fixes. Symptom fixes are failure.
The Iron Law
NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST
The Four Phases
Phase 1: Root Cause Investigation
- Read Error Messages Carefully - don't skip past errors
- Reproduce Consistently - can you trigger it reliably?
- Check Recent Changes - git diff, recent commits
- Gather Evidence in Multi-Component Systems - add diagnostic instrumentation
- Trace Data Flow - where does bad value originate?
Phase 2: Pattern Analysis
- Find Working Examples in same codebase
- Compare Against References - read reference completely
- Identify Differences between working and broken
- Understand Dependencies
Phase 3: Hypothesis and Testing
- Form Single Hypothesis - be specific
- Test Minimally - one variable at a time
- Verify Before Continuing - worked? Phase 4. Didn't? New hypothesis.
Phase 4: Implementation
- Create Failing Test Case - simplest possible reproduction
- Implement Single Fix - one change at a time
- Verify Fix - test passes, no other tests broken
- If fix doesn't work after 3 attempts: STOP and question architecture
Red Flags
"Quick fix for now", "Just try changing X", "Multiple changes at once" - all mean STOP.
Quick Reference
| Phase | Key Activities | Success Criteria |
|---|---|---|
| 1. Root Cause | Read errors, reproduce, check changes | Understand WHAT and WHY |
| 2. Pattern | Find working examples, compare | Identify differences |
| 3. Hypothesis | Form theory, test minimally | Confirmed or new hypothesis |
| 4. Implementation | Create test, fix, verify | Bug resolved, tests pass |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл systematic-debugging?
Use when encountering any bug, test failure, or unexpected behavior, before proposing 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…