/system-dev-planner:run-system-dev-plan --feature-id <graph-node-id> --feature-context <repo-relative-json> [--repo-root DIR] [--config .dev-graph/config.json]from system-dev-planner
Decomposes a dev-graph feature into exactly 13 task specs, generates a 13-entry inventory and 13-node DAG, then atomically promotes the plan after independent validation.
Ships in system-dev-planner. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Purpose & Output Contractの最小の実成果物をmain contextで作成する。effect別のparse/open・secret・irreversible・corrupt guardだけを実行し、現物path・digest・開き方を提示してからaccept-as-is/diagnoseを記録する。accept-as-isはその場でhandoff完了とし、後続sectionを実行しない。
以下の既存workflow・goal-seek・評価・修正sectionはdiagnoseが記録されてsemantic_evaluator_startedへ遷移した場合だけ実行する。release/exhaustiveは別の明示eventを必要とする。
dev-graph の1 feature を、確定 system-spec を起点に P01..P13 各1件の exact 13 executable task specs へ分解し、13-entry inventory と 13-node の intra-feature DAG を持つ package にまとめる。
--feature-id <graph-node-id> と --feature-context <repo-relative-json> (必須)、任意の --repo-root と --config。init は caller repository の layout だけを用意する。feature-package.json・task-specs/phase-01..13.md・workstream-inventory.json・task-graph.json・system-build-handoff.json・staging-manifest.json)。C12 deterministic validation を通した path・digest・開き方を示す。plan-structure-report.html・task-specs.html。validate-generation-lineage.py --repo-root <repo-root> --package <package-slug> (書込なし) が exit 0 であること、すなわち現行世代の実バイトが pointer/receipt の digest と一致し、supersede 済み世代があればそれが byte-for-byte 不変で現行世代を指す marker を持つことまでを完了条件に含める。<package-slug> は C11 が書いた feature 別 current pointer (<state>/current/<package-slug>.json) のファイル名で、feature_package_id の英数字・.・_・- 以外を - に置換した値。marker 欠落は同じ scope の --write-markers (欠落時だけ作る create-only) で是正し、書込なしで再確認して完了とする。task projection (tasks/<parent_feature>/<id>.md) は本 run が発行した registration request を dev-graph が適用した後に初めて生成されるため、build-task-projection-rerun.py は本 run の完了条件に含めない。これは契約 1.3.0 未満で登録済みの projection を移行する別運用であり (references/feature-execution-package-contract.md §2.3)、repository 全件の移行・監査と同様に 1 feature run の完了スコープに混ぜない。runtime_root_policy: host-skill-path を適用する。CLAUDE_PLUGIN_ROOT をplugin rootとして使用する。SKILL.md のabsolute pathから、plugin manifestを持つ祖先を上方探索して論理 PLUGIN_ROOT を解決する。cwd からplugin rootを推測せず、literal placeholderをshellへ渡さない。各shell invocation内で解決済みabsolute pathを PLUGIN_ROOT に設定する。prompts/ 配下はこのowner Skill契約を継承する。${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/resolve-project-context.py に一元化する。${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}} は code/assets の位置決めだけに使い、caller の文書・状態の authority にはしない。parent_feature のみを扱い、P01..P13 各1件の exact 13 executable tasks を生成する。別の13 phase 文書と14件目は生成しない。${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/manage-system-plan-lock.py だけが生成・更新・解放する。repository_id/run_id/session_owner/feature_id/feature_digest/acquired_at/heartbeat_at/expires_at を束縛し、開始時に acquire、各動的計画反復に renew、成否にかかわらず終了処理で release を実行する。他 component は lock JSON を直接作成・書換・削除しない。${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/hooks/guard-implementation-readiness.py は run 識別 env に依存せず repository-local canonical lock を自己発見し、malformed same-repository lock を fail-closed 拒否し、expires_at 超過 lock は C13 と同じ audit receipt 規則で cleanup する。initpython3 "${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/init-project-layout.py" --repo-root "$CLAUDE_PROJECT_DIR"
missing config keys/directories だけを作成し、既存値・docs/specs/tasks/issues を上書きしない。receipt と repository_id 導出元を保存する。
plan--feature-id と --feature-context は必須。feature context は caller repository 相対 JSON で、graph_node_id, artifact_kind=feature, purpose, goal, scope_in, scope_out, acceptance, architecture_refs, updated_at を持つ。C09 が realpath containment を検証し、JSON の graph_node_id と --feature-id が一致しなければ staging 作成前に停止する。absolute path、..、root 外 symlink、別 repository の context は拒否する。
pre-choiceではmain contextがexact-13 packageの最小usable draftを1回生成し、C12 deterministic validationを通してpath/digestを提示する。以下の動的計画・fork evaluator・反復・promotionは利用者がdiagnoseを選んだ後だけ開始する。
実装を始める前に、外側ループの purpose(なぜ行うか)/background(どの経緯・制約か)/goal(何をもって完了か)を goal-spec に固定する。各 P01..P13 は portable 契約 system-task-goal-seek/v1 の内側ループとして、汎用実行 prompt・task goal・rubric・前周の feedback を入力に実行し、独立評価の rubric verdict=PASS まで修正と再評価を反復する。反復上限で PASS に届かなければ fail-closed で停止する。P13 は実行結果・判断・改善点を確定 system spec と architecture へ書き戻し、次回の外側ループへ引き継ぐ。
complete と判定している。system-build-handoff.json を生成し、その bytes が staging-manifest.json の canonical digest に含まれている。handoff は receipt を自己発行しない。supersedesから直前世代を追跡できる。task-graph.json から「この feature で何をやるか + exact-13 タスク・ノード・依存の関係性」を 1 枚の自己完結 HTML (plan-structure-report.html) へ投影する。目的/本質的課題/できることの価値セクション (goal-spec / value-narrative.json 由来・非エンジニア/技術者の dual audience) と依存関係表を携帯し、build 前に計画の全体像を確認できるようにする。plugin-dev-planner と共通の完了ステップとして、両プランナーとも同一の共有 reporter を best-effort で呼ぶ (harness-creator 未配備環境では skip・非ゲート):
共有 reporter は別 plugin (harness-creator) にあるので、${PLUGIN_ROOT}/.. から推測せず、先に1回 python3 "${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/extract-plugin-root.py" harness-creator で root を解決し、表示された absolute path を <HARNESS_CREATOR_ROOT> に使う。非0 で終わったら未配備としてこのステップと次の仕様書ブラウザを skip する。
python3 "<HARNESS_CREATOR_ROOT>/scripts/project-task-status.py" --task-graph <PLAN_DIR>/task-graph.json --goal-spec <PLAN_DIR>/goal-spec.json --out-html <PLAN_DIR>/plan-structure-report.html --out-md <PLAN_DIR>/plan-structure.md --out-json <PLAN_DIR>/plan-structure-status.json
--goal-spec を渡さないと reporter の価値セクション (目的/本質的課題/できること) は fail-soft で沈黙欠落する。非エンジニア向け平易層 (plain_intro 等) を出すには curated value-narrative.json を PLAN_DIR に用意する (未用意なら平易層のみ省略)。task-specs/*.md の本文を、サイドバー index → 各仕様書へページ遷移 → ブラウザ back で戻れる自己完結 HTML にする (中身閲覧ビュー)。構造/依存/価値の plan-structure-report.html と対になり、相互リンクで往復できる。plugin-dev-planner と共通の完了ステップ (best-effort・非ゲート):
python3 "<HARNESS_CREATOR_ROOT>/scripts/render-spec-browser.py" --plan-dir <PLAN_DIR>diagnose選択後だけ component-inventory.json の goal_seek.max_loops=5 を有効化する。5周で未達なら自動続行せず findings と staging path を報告する。accept-as-isではこの周回を0回のまま終了する。途中失敗時も published/current は旧世代を維持する。発見した独立作業は package に追加せず follow-up feature candidate として返す。
${PLUGIN_ROOT} は caller の authority ではない: plugin root は script と asset の位置決めにだけ使う。caller repository の文書・状態の解決と path 検査は resolve-project-context.py に任せる。graph_node_id と --feature-id が違うと、C09 は staging を作らずに停止する。absolute path、..、root 外 symlink、別 repository の context も拒否される。acquire、各反復の renew、成否にかかわらない終了時の release を manage-system-plan-lock.py で行う。lock JSON を手で書き換えて形が崩れると、guard hook が malformed lock として fail-closed で拒否する。${PLUGIN_ROOT}/.. で探さない: install 先では .. の先が同じ plugin の別 version 群になる。harness-creator の reporter は extract-plugin-root.py で解決する。--goal-spec を渡し忘れない: 渡さないと plan-structure-report.html の価値セクションが警告なしに欠ける。goal_seek.max_loops=5 が有効になるのは diagnose を選んだ後だけで、5周で未達なら自動続行せず findings と staging path を返す。What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
dev-graph, task-decomposition, atomic-promotion, system-plan
npx claudepluginhub daishiman/harness-dev --plugin system-dev-planner3 skills in this plugin
Other plugins' skills for the same job