Files
wehub-resource-sync d48cda4081
CI / Test (ubuntu-latest, Node 18.x, bun) (push) Failing after 15m1s
CI / Test (ubuntu-latest, Node 18.x, npm) (push) Failing after 15m1s
CI / Test (ubuntu-latest, Node 18.x, pnpm) (push) Failing after 15m1s
CI / Test (ubuntu-latest, Node 18.x, yarn) (push) Failing after 15m1s
CI / Test (ubuntu-latest, Node 20.x, bun) (push) Failing after 17m13s
CI / Test (ubuntu-latest, Node 20.x, npm) (push) Failing after 18m42s
CI / Test (ubuntu-latest, Node 20.x, pnpm) (push) Failing after 15m0s
CI / Test (ubuntu-latest, Node 20.x, yarn) (push) Failing after 49m44s
CI / Test (ubuntu-latest, Node 22.x, bun) (push) Failing after 51m55s
CI / Test (ubuntu-latest, Node 22.x, pnpm) (push) Failing after 21m57s
CI / Test (ubuntu-latest, Node 22.x, npm) (push) Failing after 37m39s
CI / Test (ubuntu-latest, Node 22.x, yarn) (push) Failing after 34m7s
CI / Validate Components (push) Failing after 37m15s
CI / Python Tests (push) Failing after 10m1s
CI / Security Scan (push) Failing after 10m1s
CI / Lint (push) Failing after 17m12s
CI / Coverage (push) Failing after 20m19s
CI / Test (macos-latest, Node 18.x, bun) (push) Has been cancelled
CI / Test (macos-latest, Node 18.x, npm) (push) Has been cancelled
CI / Test (macos-latest, Node 18.x, pnpm) (push) Has been cancelled
CI / Test (macos-latest, Node 18.x, yarn) (push) Has been cancelled
CI / Test (windows-latest, Node 18.x, npm) (push) Has been cancelled
CI / Test (windows-latest, Node 18.x, pnpm) (push) Has been cancelled
CI / Test (windows-latest, Node 18.x, yarn) (push) Has been cancelled
CI / Test (macos-latest, Node 20.x, bun) (push) Has been cancelled
CI / Test (macos-latest, Node 20.x, npm) (push) Has been cancelled
CI / Test (macos-latest, Node 20.x, pnpm) (push) Has been cancelled
CI / Test (macos-latest, Node 20.x, yarn) (push) Has been cancelled
CI / Test (windows-latest, Node 20.x, npm) (push) Has been cancelled
CI / Test (windows-latest, Node 20.x, pnpm) (push) Has been cancelled
CI / Test (windows-latest, Node 20.x, yarn) (push) Has been cancelled
CI / Test (macos-latest, Node 22.x, bun) (push) Has been cancelled
CI / Test (macos-latest, Node 22.x, npm) (push) Has been cancelled
CI / Test (macos-latest, Node 22.x, pnpm) (push) Has been cancelled
CI / Test (macos-latest, Node 22.x, yarn) (push) Has been cancelled
CI / Test (windows-latest, Node 22.x, npm) (push) Has been cancelled
CI / Test (windows-latest, Node 22.x, pnpm) (push) Has been cancelled
CI / Test (windows-latest, Node 22.x, yarn) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 11:55:55 +08:00

4.2 KiB

Orchestrateコマンド

複雑なタスクのための連続的なエージェントワークフロー。

使用方法

/orchestrate [ワークフロータイプ] [タスク説明]

ワークフロータイプ

feature

完全な機能実装ワークフロー:

planner -> tdd-guide -> code-reviewer -> security-reviewer

bugfix

バグ調査と修正ワークフロー:

explorer -> tdd-guide -> code-reviewer

refactor

安全なリファクタリングワークフロー:

architect -> code-reviewer -> tdd-guide

security

セキュリティ重視のレビュー:

security-reviewer -> code-reviewer -> architect

実行パターン

ワークフロー内の各エージェントに対して:

  1. 前のエージェントからのコンテキストでエージェントを呼び出す
  2. 出力を構造化されたハンドオフドキュメントとして収集
  3. チェーン内の次のエージェントに渡す
  4. 結果を最終レポートに集約

ハンドオフドキュメント形式

エージェント間でハンドオフドキュメントを作成します:

## HANDOFF: [前のエージェント] -> [次のエージェント]

### コンテキスト
[実行された内容の要約]

### 発見事項
[重要な発見または決定]

### 変更されたファイル
[変更されたファイルのリスト]

### 未解決の質問
[次のエージェントのための未解決項目]

### 推奨事項
[推奨される次のステップ]

例: 機能ワークフロー

/orchestrate feature "Add user authentication"

以下を実行します:

  1. Plannerエージェント

    • 要件を分析
    • 実装計画を作成
    • 依存関係を特定
    • 出力: HANDOFF: planner -> tdd-guide
  2. TDD Guideエージェント

    • プランナーのハンドオフを読み込む
    • 最初にテストを記述
    • テストに合格するように実装
    • 出力: HANDOFF: tdd-guide -> code-reviewer
  3. Code Reviewerエージェント

    • 実装をレビュー
    • 問題をチェック
    • 改善を提案
    • 出力: HANDOFF: code-reviewer -> security-reviewer
  4. Security Reviewerエージェント

    • セキュリティ監査
    • 脆弱性チェック
    • 最終承認
    • 出力: 最終レポート

最終レポート形式

オーケストレーションレポート
====================
ワークフロー: feature
タスク: ユーザー認証の追加
エージェント: planner -> tdd-guide -> code-reviewer -> security-reviewer

サマリー
-------
[1段落の要約]

エージェント出力
-------------
Planner: [要約]
TDD Guide: [要約]
Code Reviewer: [要約]
Security Reviewer: [要約]

変更ファイル
-------------
[変更されたすべてのファイルをリスト]

テスト結果
------------
[テスト合格/不合格の要約]

セキュリティステータス
---------------
[セキュリティの発見事項]

推奨事項
--------------
[リリース可 / 要修正 / ブロック中]

並行実行

独立したチェックの場合、エージェントを並行実行します:

### 並行フェーズ
同時に実行:
- code-reviewer (品質)
- security-reviewer (セキュリティ)
- architect (設計)

### 結果のマージ
出力を単一のレポートに結合

引数

$ARGUMENTS:

  • feature <説明> - 完全な機能ワークフロー
  • bugfix <説明> - バグ修正ワークフロー
  • refactor <説明> - リファクタリングワークフロー
  • security <説明> - セキュリティレビューワークフロー
  • custom <エージェント> <説明> - カスタムエージェントシーケンス

カスタムワークフローの例

/orchestrate custom "architect,tdd-guide,code-reviewer" "Redesign caching layer"

ヒント

  1. 複雑な機能にはplannerから始める
  2. マージ前に常にcode-reviewerを含める
  3. 認証/決済/個人情報にはsecurity-reviewerを使用
  4. ハンドオフを簡潔に保つ - 次のエージェントが必要とするものに焦点を当てる
  5. 必要に応じてエージェント間で検証を実行