mergegate/.claude/prompts/debug.md
Shunsuke Hayashi 00d5d4d4e9 chore: Initialize Miyabi project with full planning
- Add .claude/ configuration (agents, commands, prompts, templates)
- Add comprehensive documentation:
  - WBS.md - Work Breakdown Structure
  - SPRINT_PLANNING.md - 4-sprint detailed plan
  - OPERATION_PLAN.md - Execution procedures
  - PRODUCT_SPEC.md - Product requirements
  - PREPARATION_OPS.md - Pre-sprint checklist
- Add PlantUML diagrams (wbs-diagram, gantt-chart)
- Configure Miyabi (.miyabi.yml)
- Set up Rust workspace structure

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 17:45:08 +09:00

613 B

Debug Prompt

問題をデバッグして修正してください。

プロセス

  1. 問題の再現 - 症状の確認
  2. 原因調査 - ログ、スタックトレース分析
  3. 仮説立案 - 可能性のある原因
  4. 検証 - 仮説のテスト
  5. 修正 - 根本原因の解決
  6. 回帰テスト - 再発防止の確認

デバッグツール

# ログ確認
RUST_LOG=debug cargo run

# バックトレース
RUST_BACKTRACE=1 cargo run

# テスト
cargo test <test_name> -- --nocapture

出力

  • 根本原因の説明
  • 修正コード
  • 再発防止策