スキル一覧に戻る
DennisToma

debug-fresh

by DennisToma

0🍴 0📅 2026年1月13日
GitHubで見るManusで実行

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.md rule 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

  1. Read the error
  2. Read the code at that line
  3. Trace the data flow
  4. Form one hypothesis
  5. Test with minimal change
  6. Fix or try next hypothesis

Step 5: Restore and Apply

git stash pop  # Restore previous work
# Apply the fix

Why This Works

Full ContextFresh Context
50+ messages1 message
Multiple files1-2 files
Pattern-matches old attemptsReasons 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

レビュー

💬

レビュー機能は近日公開予定です