agentleFS
morodomimorodomi/dev-crew/skills/orchestrate/SKILL.md

orchestrate

Skill1 starsChanged 55 days agoMITView on GitHub

TDDサイクル全体をPdM(Product Manager)として自律管理。plan mode起点でワークフロー制御。sync-plan→RED→GREEN→REFACTOR→REVIEW→COMMITを専門エージェントに委譲・判断する。Manual trigger: 「orchestrate」「全体管理」「PdMモード」。Do NOT use for 個別フェーズのみの実行(→ 各フェーズスキル)。

72 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ship-pr, discover and 7 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Upsolve-LabsSkill

    ship-pr

    Ship a feature branch: write docs, bump version, create PR with screenshots and evidence. Links Linear tickets if available. Use when ready to merge.

    Also in 3 projects that use this

  • anombyte93Skill

    discover

    Phase 1 of the prd-taskmaster pipeline: brainstorm-driven discovery. Delegates to superpowers:brainstorming in Interactive Mode (one adaptive question at a time), or self-brainstorms in Autonomous Mode when no user is present. Intercepts before the brainstorming chain hands off to writing-plans — this skill owns the exit. Extracts constraints, calibrates scale (Solo / Team / Enterprise), and advances the pipeline to GENERATE.

    Also in 4 projects that use this

  • genomewalkerSkill

    checkpoint

    Save a checkpoint of task status, decisions, active files, and next steps

    Also in 5 projects that use this

  • qtzx06Skill

    eval

    Evaluate trained YOLO model accuracy with mAP metrics and per-class error analysis. Identifies failure cases for targeted improvement. Use after training.

    Also in 3 projects that use this

  • sahinSkill

    execute

    Also in 3 projects that use this

  • AWSSkill

    writing-for-agents

    Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.

    Also in 5 projects that use this

The file

Files
SKILL.md

Current State

!ls -t docs/cycles/*.md 2>/dev/null | head -5 || echo "(none)" !git log --oneline -5 2>/dev/null || echo "(no commits)"

TDD Orchestrate (PdM Mode)

TDDサイクル全体をPdM (Product Manager) として管理。plan mode起点でワークフロー制御。

Progress Checklist

orchestrate Progress:
- [ ] Block 0: planファイル / Cycle doc 確認 → 開始地点決定
- [ ] Block 1: sync-plan (with Design Review) → 自律判断
- [ ] Block 2a: RED — Task(red-worker) でテスト作成、失敗確認
- [ ] Block 2b: GREEN — Task(green-worker) で実装、全テストPASS確認
- [ ] Block 2c: REFACTOR — Skill(refactor) で品質改善
- [ ] Block 2c.5: VERIFY — Product Verification (advisory, skip if absent)
- [ ] Block 2d: REVIEW — Skill(review --code) でコードレビュー → 自律判断
- [ ] Block 2e: DISCOVERED — スコープ外項目をissue起票
- [ ] Block 2f: RETROSPECTIVE — Skill(dev-crew:cycle-retrospective) で失敗-成功 insight 抽出
- [ ] Block 3: COMMIT → 完了

PdM の原則

  • 自分で実装・テスト・レビューしない → 専門 Teammate/Subagent に委譲
  • PASS/WARN → 自動進行、BLOCK → 再試行 → ユーザーに報告
  • 曖昧なまま進まない → AskUserQuestion で確認

Workflow

Block 0: Prerequisite Check

0. Codify gate — frontmatter-only scan: for f in docs/cycles/*.md; do awk '/^---$/{c++;next} c==1{print}' "$f" | grep -q 'retro_status: captured' && echo "$f"; done 非空 → Skill(dev-crew:codify-insight) 起動。既定は自動 triage、skill 候補/低確信のみ 1 回確認。exit 0 (全 resolved) → 次へ。exit 1 (abort) → BLOCK、/orchestrate 再起動を案内。空 → no-op。

最初に実行: TaskCreate でタスクを登録。詳細: reference.md

planファイルを起点に開始地点を決定する:

  1. planファイルあり? → YES: 未完了 cycle doc あり? plan-review 記録+architect Post-Transfer Verification 記録あり → Block 2a / sync-plan 済みだが architect 未実施 → Block 1(architect のみ再開、resume gap 対策)/ いずれも未実施 → Progress Log 再開 / cycle doc なし → Block 1 → NO: 新規開始 (plan mode): Skill(dev-crew:spec) → 設計・Test List → Skill(dev-crew:review, args: "--plan") → Step 8(承認前 Codex plan review、plan mode 内で完了済み) → approve → Block 1

Block 1: Sync-Plan (with Design Review)

Codex plan review は承認前(spec Step 8)に完了済みの前提で進行する。順序: sync-plan(転記)→ architect(転記後検証)。

  1. sync-plan: plan の Plan Review Record を Cycle doc へ転記し、Cycle doc を生成
  2. architect: 転記後検証(Post-Transfer Verification)を実施。転記欠落=BLOCK / scope 実質変更=AskUserQuestion で再承認 / 観察のみ=DISCOVERED
  3. Codex不在時: Socrates adversarial review — which codex 失敗時、Socrates を計画への adversarial reviewer として起動。詳細: reference.md
  4. codex_mode / 委譲モード: RED/GREEN の委譲先はユーザー選択を優先。詳細: reference.md
  5. 自律判断: PASS/WARN → Block 2a へ、BLOCK → sync-plan再実行

Block 2: Implementation

MUST: 次のフェーズに進む前に、現フェーズの完了条件を確認せよ。詳細手順はモードに応じて参照: steps-subagent.md / steps-teams.md / steps-codex.md

Block 2a: RED

Task(red-worker, sonnet): Cycle doc + TC → テスト作成・失敗確認

Block 2b: GREEN

Task(green-worker, sonnet): Cycle doc → テストを通す最小実装・全PASS確認

Block 2c: REFACTOR

Skill(dev-crew:refactor): Verification Gate通過(テスト全PASS + 静的解析0件 + フォーマット)

Block 2c.5: VERIFY (Product Verification)

## Verification セクションのコマンドを実行。advisory evidence(非ブロッキング)。real-path invocation なしの場合 WARN ログ (rules/integration-verification.md)。セクション不在 → WARN スキップ。詳細: reference.md

Block 2d: REVIEW

Skill(dev-crew:review, args: "--code"): competitive review(Codex利用可能時) 判定: PASS/WARN → Block 2e へ、BLOCK → GREEN再実行(max 1回)

Block 2e: DISCOVERED

スコープ外項目をCycle docに記録し、GitHub issueに起票(起票→ issue #N 参照、reject→ 理由記載)。

Block 2f: RETROSPECTIVE

Skill(dev-crew:cycle-retrospective): 失敗-成功 insight 抽出、retro_status: captured/resolved 遷移。abort (exit 1) → COMMIT 停止「/orchestrate を再起動してください」。詳細: reference.md

Block 3: Finalization

  1. COMMIT: pre-commit-gate(cycle doc 明示指定)PASS → Skill(dev-crew:commit) へ委譲(commit skill Step 3 が Cycle doc を phase: DONE へ遷移させてから git add & commit)
  2. 完了報告: サイクル完了をユーザーに報告

Mode Selection

詳細: reference.md | steps-codex.md | steps-teams.md | steps-subagent.md

codex_mode は RED/GREEN の委譲先のみ制御 する。Plan Review と Code Review は Codex 利用可能なら常時 competitive 実行 (codex_mode 値に依存しない)。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.