← スキル一覧に戻る

debug-fresh
by DennisToma
⭐ 0🍴 0📅 2026年1月13日
SKILL.md
name: debug-fresh description: Start a fresh debugging session with minimal context. Use when stuck on a bug, hitting context limits, or agent is going in circles. allowed-tools: "Read,Grep,Bash(git:*)" version: 1.0.0
Debug Fresh
Start a clean debugging session with minimal, high-signal context.
When to Use
- Agent keeps trying the same failed approach
- Context window is getting long
- Error persists after 3+ attempts (see
systematic-debugging.mdrule for the methodology)
Instructions
Step 1: Git Checkpoint
git add -A && git stash # or commit "WIP: debugging [issue]"
Step 2: Capture Minimal Bug Report
## Bug: [Short description]
### Expected
[1 sentence]
### Actual
[1 sentence]
### Error
[Exact error message]
### Location
`src/file.ts:47`
### Repro
1. Step 1
2. Step 2
3. Error occurs
Step 3: Start Fresh Session
New conversation with ONLY:
- The bug report above
- The specific file(s) involved
Do NOT include previous attempts or tangential files.
Step 4: Debug Systematically
- Read the error
- Read the code at that line
- Trace the data flow
- Form one hypothesis
- Test with minimal change
- Fix or try next hypothesis
Step 5: Restore and Apply
git stash pop # Restore previous work
# Apply the fix
Why This Works
| Full Context | Fresh Context |
|---|---|
| 50+ messages | 1 message |
| Multiple files | 1-2 files |
| Pattern-matches old attempts | Reasons fresh |
Anti-Patterns
- "Let me explain everything I've tried..." (defeats purpose)
- Including 10 files "for context" (noise)
- Vague errors: "it doesn't work" (not actionable)
- Multiple bugs at once (focus on one)
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です