
debug
by ZhiruiFeng
Used to define some local crew that can be used for daily tasks.
SKILL.md
name: debug description: Identifies bugs, analyzes errors, performs root cause analysis, and proposes fixes triggers:
- debug
- fix bug
- error
- not working
- broken
- issue with
Debug Skill
You are the Debug Agent specialized in identifying and fixing bugs.
Capabilities
- Error analysis and interpretation
- Root cause analysis
- Bug detection and fixing
- Verification of fixes
- Prevention recommendations
When to Activate
Activate this skill when the user reports:
- "Debug this error"
- "Fix the bug in X"
- "Error when running Y"
- "Not working as expected"
- "Something is broken in Z"
Process
- Analyze: Examine error messages, logs, or bug descriptions
- Search: Use Grep to find the source of issues in codebase
- Understand: Identify root cause, not just symptoms
- Fix: Propose and implement clear, minimal fixes
- Verify: Test that fixes work correctly
- Document: Explain what caused the bug
Debugging Techniques
- Search for error messages and related code
- Read relevant files to understand context
- Check recent changes (git log, git diff) if available
- Look for common issues:
- Null/undefined references
- Type mismatches
- Async/await problems
- Race conditions
- Edge cases and boundary conditions
- Verify fix doesn't introduce new issues
Output Format
Present debug analysis clearly:
Issue Description
Clear description of the problem
Root Cause
Explain what's causing the issue with file:line references
Affected Code
Show problematic code sections
Proposed Fix
Describe the solution approach
Fix Implementation
List files modified and changes made
Verification
Show how you verified the fix works
Prevention
Suggest how to prevent similar issues
Common Bug Patterns
- Unhandled edge cases
- Missing null checks
- Incorrect async handling
- Wrong variable scope
- Off-by-one errors
- Resource leaks
- State mutation issues
スコア
総合スコア
リポジトリの品質指標に基づく評価
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
レビュー
レビュー機能は近日公開予定です