オーケストレーターフロー用のエージェント定義ファイルを作成。Claude Code、GitHub Copilot、OpenAI Codex の各フォーマットに対応。13種類のエージェントテンプレートから必要なものだけを選択して作成可能。ツール非依存の汎用的な指示形式。「エージェント作成」「オーケストレーターにエージェント追加」などのリクエスト時に使用。
From orchestrator-pluginnpx claudepluginhub dio0550/d-market --plugin orchestrator-pluginThis skill uses the workspace's default tool permissions.
references/agent-catalog.mdreferences/agents/code-reviewer.mdreferences/agents/committer.mdreferences/agents/debugger.mdreferences/agents/explorer.mdreferences/agents/implementer.mdreferences/agents/linter.mdreferences/agents/orchestrator-copilot.mdreferences/agents/orchestrator.mdreferences/agents/plan-reviewer.mdreferences/agents/planner.mdreferences/agents/pr-creator.mdreferences/agents/refactorer.mdreferences/agents/security-scanner.mdreferences/agents/task-manager-copilot.mdreferences/agents/task-manager.mdreferences/agents/test-runner.mdreferences/claude-code-format.mdreferences/codex-format.mdreferences/copilot-format.mdGuides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Analyzes BMad project state from catalog CSV, configs, artifacts, and query to recommend next skills or answer questions. Useful for help requests, 'what next', or starting BMad.
オーケストレーターフローで使用するエージェント定義ファイルを作成するスキル。
1. ターゲットツール確認 → Claude Code / Copilot / Codex
2. エージェント選択 → カタログから必要なものを選ぶ
3. テンプレート参照 → 個別ファイルから詳細を確認
4. ツール別の調整 → 操作名をツール固有の形式に変換
5. エージェント定義の生成 → 適切なディレクトリに配置
6. テンプレートの配置 → .orchestrator/templates/ にコピー
まずどのツール向けかを確認:
| ツール | 形式 | 配置先 | サブエージェント呼び出し |
|---|---|---|---|
| Claude Code | YAML + Markdown | .claude/agents/ | Task ツール |
| GitHub Copilot | YAML + Markdown | .github/agents/ | #tool:agent/runSubagent (agentName指定) |
| OpenAI Codex | 純粋 Markdown | AGENTS.md | 別ファイル参照 |
フォーマット詳細:
agent-catalog.md を参照し、必要なエージェントを選択。
| プリセット | エージェント | 用途 |
|---|---|---|
| Minimal | Orchestrator, Planner, Implementer | 最小限 |
| Standard | + Explorer, Test Runner, Linter, Committer | 一般的 |
| Full | 全14種類 | フル機能 |
制御: Orchestrator, Orchestrator Copilot版
計画: Explorer, Planner, Plan Reviewer
実装: Implementer, Task Manager, Task Manager Copilot版
検証: Code Reviewer, Test Runner, Linter, Security Scanner
修正: Debugger, Refactorer
Git: Committer, PR Creator
各エージェントには推奨モデルが設定されている:
| クラス | 記号 | エージェント | 用途 |
|---|---|---|---|
| 🧠 高性能 | opus相当 | Orchestrator, Planner, Plan Reviewer, Code Reviewer, Debugger | 判断・設計・レビュー |
| ⚡ 中程度 | sonnet相当 | Explorer, Implementer, Refactorer, Security Scanner | 分析・コード生成 |
| 💨 軽量 | haiku相当 | Test Runner, Linter, Committer, PR Creator | 定型作業・コマンド実行 |
詳細は agent-catalog.md の「モデル選択ガイド」を参照。
各テンプレートには以下が含まれる:
テンプレートの「必要な操作」をターゲットツールの形式に変換する。
詳細は tool-mapping.md を参照:
| ツール | ディレクトリ |
|---|---|
| Claude Code | plugins/.../agents/{name}.md または .claude/agents/{name}.md |
| Copilot | .github/agents/{name}.agent.md |
| Codex | {name}/AGENTS.md または ルート追記 |
各エージェントはセッションフォルダ内の所定パスに結果を書き出す。Orchestrator はファイル内容をプロンプトに含めず、パスだけを渡す。各エージェントが自分で Read する。
.orchestrator/
├── templates/ # 共通テンプレート(セッション外)
├── {連番}-{feature名}/ # セッションフォルダ(例: 0001-user-auth)
│ ├── explorer/
│ │ └── result.md
│ ├── planner/
│ │ ├── plan.md
│ │ └── tasks.md
│ ├── plan-reviewer/
│ │ ├── review-1.md # ラウンドごとに連番
│ │ └── review-2.md
│ ├── task-{id}/ # Phase 2: タスク単位
│ │ ├── implementer/
│ │ │ └── result-{round}.md
│ │ ├── test-runner/
│ │ │ └── result-{round}.md
│ │ ├── linter/
│ │ │ └── result-{round}.md
│ │ ├── code-reviewer/
│ │ │ └── review-{round}.md
│ │ ├── refactorer/
│ │ │ └── result-{round}.md
│ │ ├── debugger/
│ │ │ └── report-{round}.md
│ │ └── task-manager/
│ │ └── lifecycle.md
│ ├── test-runner/ # Phase 3: セッション全体検証
│ │ └── result-{round}.md
│ ├── linter/
│ │ └── result-{round}.md
│ ├── debugger/
│ │ └── report-{round}.md
│ ├── security-scanner/
│ │ └── result.md
│ ├── committer/ # Phase 4: Git
│ │ └── result.md
│ └── pr-creator/
│ └── result.md
エージェントはランタイムで .orchestrator/templates/ 内のテンプレートを Read して出力フォーマットを決定する。
このステップを省略するとエージェントが正しく動作しない。必ず全ファイルをコピーすること。
まず出力先ディレクトリを作成:
mkdir -p .orchestrator/templates
mkdir -p .orchestrator/scripts
次に、以下の7ファイルを 1つずつ Read → Write でコピーする:
| # | Read 対象(このスキルの参照ファイル) | Write 先 |
|---|---|---|
| 1 | exploration-result.md | .orchestrator/templates/exploration-result.md |
| 2 | implementation-plan.md | .orchestrator/templates/implementation-plan.md |
| 3 | code-review-result.md | .orchestrator/templates/code-review-result.md |
| 4 | test-result.md | .orchestrator/templates/test-result.md |
| 5 | plan-review-result.md | .orchestrator/templates/plan-review-result.md |
| 6 | task-lifecycle-result.md | .orchestrator/templates/task-lifecycle-result.md |
| 7 | tasks.md | .orchestrator/templates/tasks.md |
手順: 各行について Read ツールでファイル内容を取得し、Write ツールで Write 先に書き出す。内容は一切変更しない。
セッション初期化スクリプトを Read → Write でコピーする:
| # | Read 対象(このスキルの参照ファイル) | Write 先 |
|---|---|---|
| 1 | init-session.sh | .orchestrator/scripts/init-session.sh |
| 2 | init-task.sh | .orchestrator/scripts/init-task.sh |
コピー後、実行権限を付与:
chmod +x .orchestrator/scripts/init-session.sh .orchestrator/scripts/init-task.sh
.orchestrator/templates/ に7ファイルが配置されている.orchestrator/scripts/init-session.sh と init-task.sh が配置されている