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>
This commit is contained in:
parent
0eb74b7af1
commit
00d5d4d4e9
53 changed files with 6950 additions and 0 deletions
31
.claude/prompts/debug.md
Normal file
31
.claude/prompts/debug.md
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# Debug Prompt
|
||||
|
||||
問題をデバッグして修正してください。
|
||||
|
||||
## プロセス
|
||||
|
||||
1. **問題の再現** - 症状の確認
|
||||
2. **原因調査** - ログ、スタックトレース分析
|
||||
3. **仮説立案** - 可能性のある原因
|
||||
4. **検証** - 仮説のテスト
|
||||
5. **修正** - 根本原因の解決
|
||||
6. **回帰テスト** - 再発防止の確認
|
||||
|
||||
## デバッグツール
|
||||
|
||||
```bash
|
||||
# ログ確認
|
||||
RUST_LOG=debug cargo run
|
||||
|
||||
# バックトレース
|
||||
RUST_BACKTRACE=1 cargo run
|
||||
|
||||
# テスト
|
||||
cargo test <test_name> -- --nocapture
|
||||
```
|
||||
|
||||
## 出力
|
||||
|
||||
- 根本原因の説明
|
||||
- 修正コード
|
||||
- 再発防止策
|
||||
30
.claude/prompts/implement-feature.md
Normal file
30
.claude/prompts/implement-feature.md
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# Feature Implementation Prompt
|
||||
|
||||
新機能を実装してください。
|
||||
|
||||
## プロセス
|
||||
|
||||
1. **要件理解** - 仕様の確認と質問
|
||||
2. **設計** - アーキテクチャ決定
|
||||
3. **実装** - コード作成
|
||||
4. **テスト** - ユニット/統合テスト
|
||||
5. **ドキュメント** - 必要に応じて
|
||||
|
||||
## コーディング規約
|
||||
|
||||
### Rust
|
||||
- `cargo fmt` でフォーマット
|
||||
- `cargo clippy` 警告ゼロ
|
||||
- Result型でエラーハンドリング
|
||||
- 適切なドキュメントコメント
|
||||
|
||||
### 構造
|
||||
- 単一責任の関数/構造体
|
||||
- 適切な抽象化レベル
|
||||
- テスト可能な設計
|
||||
|
||||
## 出力
|
||||
|
||||
- 実装コード
|
||||
- テストコード
|
||||
- 使用例
|
||||
22
.claude/prompts/refactor.md
Normal file
22
.claude/prompts/refactor.md
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# Refactoring Prompt
|
||||
|
||||
対象コードをリファクタリングしてください。
|
||||
|
||||
## 方針
|
||||
|
||||
1. **可読性向上** - 命名、構造の改善
|
||||
2. **DRY原則** - 重複コードの排除
|
||||
3. **SOLID原則** - 責務の分離
|
||||
4. **パフォーマンス** - 不要な処理の削除
|
||||
|
||||
## 制約
|
||||
|
||||
- 既存の機能を維持
|
||||
- テストが通ること
|
||||
- 破壊的変更を避ける
|
||||
|
||||
## 出力
|
||||
|
||||
- 変更内容の説明
|
||||
- 改善点のリスト
|
||||
- 必要に応じてテストの追加
|
||||
Loading…
Add table
Add a link
Reference in a new issue