Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/Arete-Consortium/ai-skills --skill debugコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?SkillsMP が現在取得できるファイルをダウンロードできます。
SKILL.md を表示中
| name | debug |
| description | Systematic Debugging Workflow |
| lifecycle | experimental |
Structured approach to debugging issues.
/debug <error message or description>
/debug --trace # Include stack trace analysis
/debug --bisect # Git bisect guidance
# Debug Session: [Issue Description]
## 1. Problem Statement
**Error**: [Exact error message]
**When**: [When does it occur]
**Frequency**: [Always / Sometimes / Once]
## 2. Reproduction Steps
1. Step 1
2. Step 2
3. Error occurs
**Minimal Reproduction**:
```python
# Smallest code that reproduces the issue
| # | Hypothesis | Likelihood | Test |
|---|---|---|---|
| 1 | Null pointer | High | Add null check |
| 2 | Race condition | Medium | Add logging |
| 3 | Config issue | Low | Check config |
Action: What I did Result: What happened Conclusion: Confirmed / Ruled out
[Exact cause identified]
# Before
problematic_code()
# After
fixed_code()
## Common Error Patterns
### Python
| Error | Common Causes |
|-------|---------------|
| `AttributeError` | None value, wrong type, typo |
| `KeyError` | Missing dict key, wrong key name |
| `ImportError` | Missing dep, circular import, wrong path |
| `TypeError` | Wrong arg type, wrong arg count |
| `ValueError` | Invalid value, parsing error |
### Rust
| Error | Common Causes |
|-------|---------------|
| `unwrap() panic` | None/Err not handled |
| `borrow checker` | Ownership, lifetime issues |
| `type mismatch` | Generic constraints, conversions |
## Debugging Commands
```bash
# Python with debugger
python -m pdb script.py
# Python with verbose imports
python -v script.py
# Rust with backtrace
RUST_BACKTRACE=1 cargo run
# Git bisect
git bisect start
git bisect bad HEAD
git bisect good v1.0.0
When /debug is invoked: