ClaudeMods
☰
JA
● 0 人がオンライン ・閲覧 0 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 newtonmunene99

conductor

Claude Code のコンテキスト駆動開発:セットアップ、仕様化、計画、実装、レビュー、アーカイブ、引き継ぎ、リバート。

newtonmunene99@newtonmunene99

newtonmunene99/claudekit/tree/main/plugins/conductor

翻訳済み

この mod について

Conductor Plugin

Claude Code のコンテキスト駆動開発:セットアップ、仕様化、計画、実装、レビュー、アーカイブ、引き継ぎ、リバート。

二度測って、一度コードを書く。

Commands

| Command | Description | | :------ | :---------- | | /conductor:conductor-setup | プロジェクトを初期化。既存プロジェクトでは現在の規約に更新 | | /conductor:conductor-new-track | ブレインストーミング、仕様化、計画(単一トラックまたは programme mode) | | /conductor:conductor-implement | 計画の todo を実行(depends_on、実行可能な項目の選択、クリーンアップ + 継続オプション) | | /conductor:conductor-status | 進捗、実行可能/ブロック中のトラック、延期されたチェック、未マージのブランチ、古くなったファイル | | /conductor:conductor-archive | 完了したトラックの仕様と計画を conductor/archive/ に移し、台帳の行を残す | | /conductor:conductor-handoff | セッション状態を計画またはバックログに保存し、次のセッション用の短いプロンプトを表示 | | /conductor:conductor-revert | Git を認識したリバート(Claude が自分で開始しない唯一の skill) | | /conductor:conductor-review | ガイドライン、計画、仕様に照らしてレビュー | | /conductor:conductor-programme-review | 複数トラックの programme をレビュー | | /conductor:conductor-validate-review | リポジトリに対してレビューの指摘を検証 | | /conductor:conductor-prototype | spike/<slug> ブランチで意思決定トラックのスパイクを実施 |

Execution model

Conductor はトラックを直線的なチェーンではなく、小さな実行グラフとして動かします。完全なプロトコル表は README を参照してください。Working Agreements、scripts/conductor_state.py による決定論的な基盤、blocked_by 依存関係、サブエージェントへの並列ディスパッチ、独立検証、テスト品質ルール、失敗時のポリシー、収束予算、モデルルーティングを扱っています。

python3 "${CLAUDE_PLUGIN_ROOT}/scripts/conductor_state.py" tracks
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/conductor_state.py" plan conductor/plans/<file>.plan.md
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/conductor_state.py" verify-paths <plan-or-review.md> --create-ok
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/conductor_state.py" backlog
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/conductor_state.py" set-todo <plan> <todo_id> completed --sha <sha>
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/conductor_state.py" track-status <track_id> in_progress
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/conductor_state.py" archive <track_id>
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/conductor_state.py" doctor [--fix] [--stamp]

HUD (mods)

function hooks 対応の Claude Code ビルドでは、アクティブなトラックを画面に表示する mod として hooks/register.tsx も読み込まれます。表示される内容はすべて conductor_state.py から取得されます。conductor/context/tracks.md がないリポジトリでは、計画を自分で解析せず、何も表示しません。

  • ステータス行:バンドが非表示のときは <track> 7/12、進行中のトラックがなければ次に実行可能なトラックを表示
  • プロンプト上のバンド:トラック、進捗バー、ブロック中と延期の数、次の todo、Board と Hide ボタン
  • /conductor-board ペイン:次の todo、並列バッチ、待機中/ブロック中の todo、延期されたチェック、進行中の他トラック、implement/review/archive/status コマンドを入力するボタン
  • Toast:フェーズ完了、todo の新しいブロック、レビューラウンド上限到達、トラック完了
  • doctor がずれを検出するとアップグレード通知 Toast
  • ステータスガード:conductor/plans/ で todo の状態を変更する Edit/Write/sed -i/リダイレクトや tracks.md の書き換えを拒否し、set-todo を案内

各 Edit、Write、Bash 呼び出しの後と、各セッションの終了時に更新されます。claude plugin validate plugins/conductor と claude plugin test plugins/conductor で開発します。

Upgrading an existing project

/conductor:conductor-setup を再実行すると、doctor の実行、機械的な修復、Working Agreements の追加、古いワークフロー部分の更新、バージョンの記録を行います。

Evals

2 つの claude plugin eval スイート(evals/、evals-graph/)と、python3 -m unittest discover plugins/conductor/scripts によるユニットテストがあります。どちらのスイートも軌跡ではなく結果を評価し、どのケースも Bash を許可しません。

Programme mode

conductor/reviews/*.md から始め、検証 → トラック分割 → 統合 → 順番に実装します。ブロックが解除されたら、明示的なクリーンアップの選択を通じて続行します。

Decision tracks

成果物は .adr/decisions/<slug>.md の OKF 意思決定コンセプトです。.adr/ の .gitignore には * があるため、依頼しない限り意思決定、スパイクの証拠、フォールバック用語集はコミットされません。

Artifacts

  • Conductor:conductor/context/、conductor/specs/、conductor/plans/、conductor/reviews/、conductor/archive/(Working Agreements に従ってコミットするか gitignored のままにする)
  • OKF の知識:リポジトリの knowledge/ または <pkg>/knowledge/

Attribution

Conductor は gemini-cli-extensions/conductor に由来します。OKF は Google Cloud OKF spec に由来します。Engineering skills は mattpocock/skills(MIT)に由来します。

インストール

まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。

claude plugin marketplace add newtonmunene99/claudekit
claude plugin install conductor
原文 / README

Conductor Plugin

Context-driven development for Claude Code: setup, spec, plan, implement, review, archive, handoff, and revert.

Measure twice, code once.

Commands

| Command | Description | | :------ | :---------- | | /conductor:conductor-setup | Project bootstrap; on an existing project, upgrades it to current conventions | | /conductor:conductor-new-track | Brainstorm, spec, plan (single track or programme mode) | | /conductor:conductor-implement | Execute plan todos (depends_on, eligible picker, cleanup + continue options) | | /conductor:conductor-status | Progress, eligible / blocked tracks, deferred checks, unmerged branches, out-of-date files | | /conductor:conductor-archive | Move finished tracks' spec and plan to conductor/archive/, keeping a ledger line | | /conductor:conductor-handoff | Save session state into the plan or backlog and print a short prompt for the next session | | /conductor:conductor-revert | Git-aware revert (the only skill Claude will not start by itself) | | /conductor:conductor-review | Review against guidelines, plan, spec | | /conductor:conductor-programme-review | Review multi-track programme | | /conductor:conductor-validate-review | Validate review findings against repo | | /conductor:conductor-prototype | Decision-track spike on spike/<slug> branch |

Execution model

Conductor runs a track as a small execution graph, not a linear chain:

| Concern | Mechanism | Where | | ------- | --------- | ----- | | Standing answers | Working Agreements in the project's workflow.md: Conductor files local or committed, who commits, branch, autonomy, hand checks, verifier | Working Agreements Protocol | | Plumbing without the model | scripts/conductor_state.py: reads (tracks, plan, backlog, verify-paths, doctor) and state writes (set-todo, track-status, archive) | Deterministic Plumbing Protocol | | Real dependencies only | todo blocked_by + files; implement runs any ready todo | Plan Authoring Guide | | Parallel work | disjoint-file todos and parallel-ready tracks fan out to subagents, user-confirmed | Parallel Dispatch Protocol | | Verification on the edge | fresh read-only verifier per phase (the whole track on the last one), per todo for risky changes, and on every plan draft | Independent Verification Protocol | | Tests that can fail | Google Testing on the Toilet rules, contract probes, no tautological tests | templates/test-quality.md | | Local failures | retry / skip / repair / isolate / escalate / stop table | Failure Policy | | Bounded loops | attempts per todo, review_rounds per plan, hard caps | Convergence Budgets | | Cost | scripts → cheap model → strong model by task | Model Routing |

All protocols live in templates/conductor-protocol.md.

python3 "${CLAUDE_PLUGIN_ROOT}/scripts/conductor_state.py" tracks
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/conductor_state.py" plan conductor/plans/<file>.plan.md
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/conductor_state.py" verify-paths <plan-or-review.md> --create-ok
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/conductor_state.py" backlog
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/conductor_state.py" set-todo <plan> <todo_id> completed --sha <sha>
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/conductor_state.py" track-status <track_id> in_progress
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/conductor_state.py" archive <track_id>
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/conductor_state.py" doctor [--fix] [--stamp]

HUD (mods)

On Claude Code builds with function hooks, the plugin also loads hooks/register.tsx, a mod that keeps the active track on screen. Everything it shows comes from conductor_state.py; it never parses plans itself, and it shows nothing in a repo without conductor/context/tracks.md.

| Piece | What it does | | :---- | :----------- | | Status line | <track> 7/12 while the band is hidden, or the next eligible track when none is in progress | | Band above the prompt | Track, progress bar, blocked and deferred counts, the next todo; Board (b) and Hide buttons | | /conductor-board | Pane with next todo, parallel batch, waiting and blocked todos, deferred checks, every other track in progress (progress, next todo, its own Implement), other tracks, and buttons that fill in /conductor:conductor-implement, review, archive or status | | Toasts | Phase done, a todo newly blocked, review hitting its 2-round limit, track complete | | Upgrade nudge | At session start, a toast when doctor finds drift worth /conductor:conductor-setup | | Status guard | Denies Edit/Write/sed -i/redirects that change a todo's status in conductor/plans/ or rewrite tracks.md, pointing at set-todo. New pending todos and other plan fields pass. It matches spellings, so it is a guardrail, not a boundary; it stays off when python3 cannot run the script |

It refreshes after each Edit, Write or Bash call and at the end of every turn, re-running the script only when tracks.md or a plan in progress changed. With several tracks in progress, the status line and band follow the one whose plan changed last. Develop it with claude plugin validate plugins/conductor and claude plugin test plugins/conductor.

Upgrading an existing project

Run /conductor:conductor-setup again. On a project that is already set up it runs doctor, applies the mechanical repairs (plans stranded by old archives, duplicated backlog items, contradictory .gitignore advice), adds Working Agreements, refreshes stale workflow sections while keeping project-specific lines, and stamps the version in conductor/context/index.md. /conductor:conductor-status says when a project is out of date.

Evals

Two claude plugin eval suites, kept separate so each runs, costs, and reports on its own:

| Suite | Dir | Covers | | ----- | --- | ------ | | status | evals/ (default) | /conductor:conductor-status outcomes: counts, eligible / blocked / parallel-ready, legacy format, not-set-up, negative | | graph | evals-graph/ | implement picks the first ready todo (blocked_by), offers parallel dispatch, reports typo'd blockers, escalates at attempts: 3; validate-review flags wrong paths; implement not-set-up |

claude plugin eval ./plugins/conductor --allow-tools Write
claude plugin eval ./plugins/conductor --eval-dir evals-graph --allow-tools Write Edit

Both suites grade outcomes (last message and files), not tool trajectories: a slash-expanded skill never shows up as a Skill tool call. No case grants Bash, so conductor_state.py is not exercised by the evals; the skills' documented manual fallbacks are. results/ dirs are gitignored.

The script has its own unit tests, which run each subcommand against a throwaway conductor/ tree:

python3 -m unittest discover plugins/conductor/scripts

Programme mode

From conductor/reviews/*.md → validate → split tracks → synthesis → implement in order (continue via explicit cleanup choices when unblocked).

Reference: docs/examples/remediation-programme-example.md

Decision tracks

Deliverable is an OKF decision concept at .adr/decisions/<slug>.md, in the local decision bundle at the repo root. .adr/ carries a .gitignore with *, so decisions, spike evidence and the fallback glossary are never committed unless you ask. Project docs stay in repo knowledge bundles (knowledge/, <pkg>/knowledge/).

Workflow: /engineering:grilling → /engineering:research → /conductor:conductor-prototype → /engineering:grill-with-docs

See OKF v0.1.

Project docs / knowledge requests

  1. Discover existing **/knowledge/index.md bundles
  2. Prefer repo-root knowledge/ or domain <pkg>/knowledge/ beside code
  3. Scaffold from templates/knowledge/bundle-placement-guide.md

Artifacts

  • Conductor: conductor/context/, conductor/specs/, conductor/plans/, conductor/reviews/, conductor/archive/. Commit them, or keep conductor/ gitignored; setup records the choice in Working Agreements and every command follows it.
  • OKF knowledge: knowledge/ or <pkg>/knowledge/ in the repository

Attribution

Conductor from gemini-cli-extensions/conductor. OKF from Google Cloud OKF spec. Engineering skills from mattpocock/skills (MIT).

Output style: Base rules are defined in templates/conductor-protocol.md and templates/output-style.md.

関連作品