mergegate/.claude
林 駿甫 (Shunsuke Hayashi) 146fcafc5e [追加] DTP (Deterministic Task Protocol) 設計文書・指示書を移植
deterministic-task-protocol リポから miyabi-cli-standalone に統合:
- docs/dtp/: PLAYBOOK, PLAN, UML, GIT-RULES, Codex レビュー 3件
- autorun/: Phase 0-8 の TASKS/ASSIGNMENT/GATE + INDEX/HANDOFF/ROLLBACK
- project_memory/tasks.json: 全9 Phase の DAG SSOT
- skills/: polaris-ops, rust-llm-pitfalls
- .codex/instructions.md: Codex 設定

実装は miyabi-core に gate.rs, lock.rs, protocol.rs, store.rs を追加する方針。
既存の dag.rs, github.rs, approval.rs 等は変更不要。

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 01:07:32 +09:00
..
agents chore: Initialize Miyabi project with full planning 2025-11-22 17:45:08 +09:00
commands chore: Initialize Miyabi project with full planning 2025-11-22 17:45:08 +09:00
prompts chore: Initialize Miyabi project with full planning 2025-11-22 17:45:08 +09:00
skills/gitnexus [追加] DTP (Deterministic Task Protocol) 設計文書・指示書を移植 2026-04-10 01:07:32 +09:00
templates chore: Initialize Miyabi project with full planning 2025-11-22 17:45:08 +09:00
QUICK_START.md chore: Initialize Miyabi project with full planning 2025-11-22 17:45:08 +09:00
README.md chore: Initialize Miyabi project with full planning 2025-11-22 17:45:08 +09:00

.claude Directory

Claude Code設定ディレクトリ

構造

.claude/
├── agents/
│   ├── specs/           # Agent仕様定義
│   ├── prompts/         # 実行プロンプト
│   └── README.md
├── commands/            # カスタムスラッシュコマンド
├── prompts/             # 汎用プロンプト
└── templates/           # テンプレート

カスタムコマンド

commands/ 配下に *.md ファイルを作成:

# commands/build.md
プロジェクトをビルドして、エラーがあれば修正してください。

cargo build --release

使用: /project:build

Agent仕様

agents/specs/ でAgent定義:

  • 役割・責任範囲
  • 使用可能ツール
  • エスカレーション条件

プロンプト

prompts/ に再利用可能プロンプト:

  • コードレビュー
  • リファクタリング
  • テスト生成

使い方

# カスタムコマンド実行
/project:build

# Agent実行
miyabi agent run <agent-name> --issue <番号>