debug
БесплатноБез исполняемых скриптовНе проверенActivate DEBUG mode for systematic investigation of issues, errors, or unexpected behavior through hypothesis testing and root cause analysis.
от sharkrebel★ 94 звезды на GitHubОб этом скилле
/debug - Systematic Problem Investigation
$ARGUMENTS
Purpose
This command activates DEBUG mode for systematic investigation of issues, errors, or unexpected behavior.
Behavior
When /debug is triggered:
Gather information
- Error message
- Reproduction steps
- Expected vs actual behavior
- Recent changes
Form hypotheses
- List possible causes
- Order by likelihood
Investigate systematically
- Test each hypothesis
- Check logs, data flow
- Use elimination method
Fix and prevent
- Apply fix
- Explain root cause
- Add prevention measures
Output Format
## 🔍 Debug: [Issue]
### 1. Symptom
[What's happening]
### 2. Information Gathered
- Error: `[error message]`
- File: `[filepath]`
- Line: [line number]
### 3. Hypotheses
1. ❓ [Most likely cause]
2. ❓ [Second possibility]
3. ❓ [Less likely cause]
### 4. Investigation
**Testing hypothesis 1:**
[What I checked] → [Result]
**Testing hypothesis 2:**
[What I checked] → [Result]
### 5. Root Cause
🎯 **[Explanation of why this happened]**
### 6. Fix
```[language]
// Before
[broken code]
// After
[fixed code]
7. Prevention
🛡️ [How to prevent this in the future]
---
## Examples
/debug login not working /debug API returns 500 /debug form doesn't submit /debug data not saving
---
## Key Principles
- **Ask before assuming** - get full error context
- **Test hypotheses** - don't guess randomly
- **Explain why** - not just what to fix
- **Prevent recurrence** - add tests, validation
Установить debug в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл debug?
Activate DEBUG mode for systematic investigation of issues, errors, or unexpected behavior through hypothesis testing and root cause analysis.
Как установить скилл debug?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл debug запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic