[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AB5NA0QY9NN076N24NJPJQ":3,"skill-same:01M7AB5NA0QY9NN076N24NJPJQ":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7AB5NA0QY9NN076N24NJPJQ","spec-to-plan",null,"Turn a converged devague spec into a buildable plan by working forwards (the spec→plan leg; drives the `devague plan` CLI group). Seed a plan from a converged frame, add tasks that collectively cover every coverage target (the frame's confirmed claims + honesty conditions), give each task acceptance criteria and an honest dependency order, park genuine unknowns as first-class risks, and export a plan only once it *converges*. Use when the user says \"spec to plan\", \"stp\", \"turn this spec into a plan\", \"plan this spec\", \"make a build plan\", or after the `think` skill exports a spec. Authored and maintained in agentculture\u002Fdevague (origin = devague); guildmaster pulls this skill from here and broadcasts it to the AgentCulture mesh — it is NOT vendored from guildmaster like the other skills here.","agentculture\u002Fculture-nodes","agentculture","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F277824871?v=4","01M7AAZDPCFA8RDCA27DQKKWCJ","AgentCulture","01M7AAZDQ1B6FYE24021YCDAPR",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fagentculture\u002Fculture-nodes\u002Fblob\u002Fmain\u002F.qwen\u002Fskills\u002Fspec-to-plan\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: spec-to-plan\ndescription: >-\n  Turn a converged devague spec into a buildable plan by working forwards (the\n  spec→plan leg; drives the `devague plan` CLI group). Seed a plan from a\n  converged frame, add tasks that collectively cover every coverage target (the\n  frame's confirmed claims + honesty conditions), give each task acceptance\n  criteria and an honest dependency order, park genuine unknowns as first-class\n  risks, and export a plan only once it *converges*. Use when the user says\n  \"spec to plan\", \"stp\", \"turn this spec into a plan\", \"plan this spec\", \"make a\n  build plan\", or after the `think` skill exports a spec. Authored and\n  maintained in agentculture\u002Fdevague (origin = devague); guildmaster pulls this\n  skill from here and broadcasts it to the AgentCulture mesh — it is NOT\n  vendored from guildmaster like the other skills here.\n---\n\n\u003C!-- lineage: claude (.claude\u002Fskills\u002Fspec-to-plan\u002FSKILL.md) -> colleague (..\u002Fcolleague\u002F.colleague\u002Fskills\u002Fspec-to-plan.md, ff7331e v1.63.1) -> qwen (this file). Surface adaptation: qwen drives the devague CLI directly through its shell tool; there is no curated tool allow-list to navigate. -->\n\n# spec-to-plan — work a converged spec forwards into a buildable plan\n\nThe skill is named **`spec-to-plan`**; the product\u002FCLI it drives is the\n**`devague plan`** command group. (The prior leg — turning a vague idea into a\nspec — is the sibling **`think`** skill.) It is the **forward** peer of the\nworking-backwards spec engine: where `think` converges on *what* to build,\n`spec-to-plan` converges on *how* to build it.\n\nA plan is seeded from a **converged frame** and tracks **tasks** against the\nspec's **coverage targets**. The CLI is **deterministic and move-driven** — you\n(the agent) choose the next move; the CLI tracks state and tells you what's still\nmissing. Run `devague plan learn` for the method and `devague plan explain\n\u003Cmove>` for any single move.\n\n## How to run\n\nInvoke the `devague` CLI directly through the shell tool\n(`run_shell_command`; it is on PATH — if not: `uv tool install devague`).\nPlans persist under `.devague\u002F` in the current directory, alongside the frames\nthey derive from:\n\n```bash\ndevague plan \u003Cmove> [args...]\ndevague plan status\n```\n\nEvery move — including `status` — is `devague plan \u003Cmove>`, so you can call the\nCLI directly.\n\n### Moves\n\n| Move | What it does |\n|------|--------------|\n| `new --frame \u003Cslug>` | Seed a plan from a **converged** frame. Derives the coverage targets (`c*`\u002F`h*`) the plan must satisfy. Refuses an unconverged frame. |\n| `task \"\u003Csummary>\"` | Add a task. `--accept \"\u003Ccrit>\"`, `--dep \u003CtN>`, `--covers \u003Cc*\u002Fh*>` (each repeatable), `--instruction \"\u003Ctext>\"` (verbatim working guidance, at creation); `--origin llm` lands it `proposed`. |\n| `instruct \u003CtN> \"\u003Ctext>\"` | Add\u002Fupdate a task's working instruction. Changing it on an already-`confirmed` task flips it back to `proposed` — the user re-confirms (the plan side's mirror of the frame side's `interrogate --instruction` re-confirm rule). |\n| `accept \u003CtN> \"\u003Ccrit>\"` | Add an acceptance criterion to a task. |\n| `depend \u003CtN> --on \u003CtM>` | Record that task `tN` depends on `tM`. |\n| `cover \u003CtN> --target \u003Cc*\u002Fh*>` | Mark a task as covering a coverage target. |\n| `confirm \u003CtN>` \u002F `reject \u003CtN>` | Resolve a task. **User-only decision.** Takes **one task id per call** — loop for batches (unlike the frame engine's transactional multi-id `confirm`; parity is a recorded follow-up in the 2026-07-01 plan, devague#53). |\n| `risk \"\u003Ctext>\" --kind \u003Ckind>` | Record a first-class plan risk (`--task \u003CtN>` to attach). |\n| `converge` | Evaluate the gate against the **live** source frame; list remaining gaps, plus non-blocking warnings (e.g. a confirmed task with no instruction). |\n| `export` | Write the buildable plan to `docs\u002Fplans\u002F` — only after `converge` passes. |\n| `waves` | Emit deterministic dependency waves — `{plan, waves}` plus a top-level `tasks` object keyed by task id (per-task summary\u002Finstruction\u002Facceptance criteria\u002Fcovers — see *The `waves --json` payload* below) — scheduling + subagent-brief metadata only, *not* orchestration. Read-only, works on an in-progress plan; refuses a cyclic\u002Fdangling graph. Devague describes the graph; an operator decides how to run it (#20). |\n| `status` | Read-only: where the plan stands + the recommended next move, re-checked against the live frame (`--json` too). |\n| `show` \u002F `list` | Render a plan \u002F list plans (`--json` for raw state). |\n| `learn` \u002F `explain \u003Cmove>` | Teach the method \u002F explain one move. |\n\nRisk kinds (shared with the frame engine): `unknown_nonblocking`,\n`unknown_blocking`, `out_of_scope`, `follow_up`.\n\n### `status` — the next-move verb\n\n`status` is a first-class, **read-only** CLI verb (`devague plan status`,\ninternalised from this wrapper in 0.11.0 — issue\n[#30](https:\u002F\u002Fgithub.com\u002Fagentculture\u002Fdevague\u002Fissues\u002F30)). It composes\n`devague plan list` + `devague plan converge` and prints where the current plan\nstands, the remaining gaps, and the recommended next move derived from the first\ngap. Like `converge`\u002F`export` it re-checks the **live** source frame (so frame\ndrift surfaces as an error), but it never mutates state. Pass `--json` for the\nstructured payload (`{plan, total, ready_for_plan, blockers, warnings,\nparked_items, required_next_moves}`).\n\n```text\nplan: my-feature    (1 plan total)\nconvergence: NOT passed — 2 gap(s):\n  - coverage target c5 (boundary) has no confirmed task\n  - task t2 has no acceptance criteria\n\nrecommended next move (first gap):\n  cover c5: devague plan task \"\u003Csummary>\" --covers c5 --accept \"\u003C...>\"\n```\n\nRun it whenever you're unsure what to do next.\n\n## Hard rules (do not violate)\n\nThese are the point of the method — convergence must mean something.\n\n- **Seed from a converged spec only.** `plan new` refuses a frame that hasn't\n  converged. The plan's coverage targets *are* the spec's confirmed claims and\n  honesty conditions — there is nothing honest to plan against until the spec\n  converges.\n- **LLM proposals stay proposed.** A task captured with `--origin llm` lands as\n  `proposed`. **Never `confirm` your own proposal.** Confirmation is a user-only\n  decision — surface the proposed task and let the user confirm or reject it.\n- **Cover every target; criteria on every task.** The gate requires every\n  coverage target to be covered by a confirmed task, and every confirmed task to\n  carry at least one acceptance criterion. Don't hand-wave a task as \"done-ish.\"\n- **Keep the graph honest.** Dependencies must reference real tasks and form an\n  acyclic graph; the gate rejects dangling deps and cycles.\n- **Park real unknowns as risks; don't paper over them.** A genuinely unknown\n  decision is an `unknown_blocking` risk — it holds back convergence, by design.\n- **Converge against the live frame.** `converge`\u002F`export` re-load the source\n  frame every time. If the frame was deleted or has regressed below convergence,\n  they refuse — re-converge the spec (in `think`) first.\n\n## Coaching toward small, file-disjoint, TDD-gated tasks\n\nWhen authoring a plan that will be built via parallel execution (fanned out to\nmultiple agents via the downstream `assign-to-workforce` skill), prefer the\nfollowing discipline to maximize parallelism and minimize merge friction:\n\n### Acceptance criteria are the testable contract; instruction is the working guidance\n\nTwo fields do two distinct jobs on every task (shipped: devague#53 t5):\n\n- **`--accept \"\u003Ccriterion>\"`** (repeatable) — the **testable contract**: what\n  a test suite checks to prove the task done. Write each as something a cheaper\n  model can be validated against test-first: name the files or modules the task\n  owns, the observable behavior that proves it done, and the compatibility\n  constraints (\"pre-existing plans load with no error\"). A criterion a\n  subagent can't be validated against alone is a summary, not a contract.\n- **`--instruction \"\u003Ctext>\"`** (at `task` time) \u002F `instruct \u003CtN> \"\u003Ctext>\"`\n  (afterwards) — verbatim **working guidance** carried to the subagent: the\n  approach to take, which files to touch first, anything the acceptance\n  criteria don't spell out. Write it yourself; never invent filler to satisfy\n  the gate. Changing it on an already-`confirmed` task flips the task back to\n  `proposed` — the user re-confirms.\n\n`devague plan converge` warns (non-blocking) when a confirmed task carries no\ninstruction:\n\n```text\ntask t1 has no instruction — attach operator guidance with `devague plan instruct t1 \"\u003Ctext>\"`\n```\n\nNeither field replaces the other: acceptance criteria stay the pass\u002Ffail gate;\ninstruction is what a subagent reads before it starts, quoted verbatim (never\nparaphrased) into the brief — see *The `waves --json` payload* below.\n\n### Text hygiene for exports\n\nThe exported plan-md must pass markdown lint. The plan's H1 inherits the\n*frame's* title — set a short, period-free `--title` at `devague new` time (see\n`think`'s export-hygiene rules). And backtick angle-bracket placeholders in\ntask text (`` `instruct \u003CtN>` ``, not `instruct \u003CtN>`) — bare ones fail MD033.\nThere is no task-edit move yet, so fixing text after confirmation means\nhand-editing state JSON.\n\n### Small and crisply scoped\n\nEach task should be **small enough for a simpler or cheaper model to build\ntest-first** without re-deriving the full design. If a task spans multiple files\nor architectural layers, split it — narrow scope forces you to write sharp\nacceptance criteria and keeps waves wide.\n\n### File disjoint\n\n**Prefer tasks that touch non-overlapping files.** When two same-wave tasks\nmodify the same file, merge collision becomes inevitable. The dependency graph\nalone *does not* guarantee file disjointness — it only sequences task *content*\ndependencies; same-wave tasks with overlapping file-writes must be split across\nwaves or given explicit dependencies.\n\nCheck `devague plan waves` output: if a wave is wide but all tasks touch\n`src\u002Fcore.py`, the wave is *formally* parallel but *operationally* serialized at\nmerge. Reorder task boundaries so wide waves operate on disjoint file sets.\n\n### TDD acceptance criteria on every task\n\nEvery confirmed task must carry **at least one acceptance criterion**, phrased as\na testable condition (not a vague outcome). For example:\n\n- Bad: \"Implement the parser\"\n- Better: \"Parser accepts a valid spec file and rejects malformed YAML without\n  data loss\"\n\nAcceptance criteria are **the contract** between the main agent (who merges) and\nthe subagent (who builds). A test suite derived from these criteria validates\neach task's output *before* merge, independent of model capability. This is not\noptional: `devague plan converge` warns (non-blocking) when a confirmed task\nlacks criteria.\n\n### The key invariant: parallel = serial\n\n**A plan built in parallel must yield identical results to building it serially.**\nThis is guaranteed only if:\n\n1. Same-wave tasks have no inter-task dependencies (checked by `waves`).\n2. Same-wave tasks touch disjoint files (you must verify; the CLI does not).\n3. Each task's acceptance criteria are sharp enough that a subagent's output\n   passes them independent of whether it was built in isolation or alongside\n   other tasks.\n\nThe TDD gate — tests pass before *and* after the merge — is the main agent's\nproof that parallelism didn't break correctness.\n\n### The `waves --json` payload — the subagent brief\n\n`devague plan waves --json` keeps its original shape — `{\"plan\": \"\u003Cslug>\",\n\"waves\": [[...], ...]}`, the ordered task-id scheduling batches — and adds a\ntop-level `\"tasks\"` object, keyed by task id, carrying each task's brief\nverbatim (devague#53 t9):\n\n```json\n{\n  \"plan\": \"\u003Cslug>\",\n  \"waves\": [[\"t1\"], [\"t2\", \"t3\"]],\n  \"tasks\": {\n    \"t1\": {\n      \"summary\": \"\u003Ctask summary>\",\n      \"instruction\": \"\u003Cverbatim instruction, or \\\"\\\" if none>\",\n      \"acceptance_criteria\": [\"\u003Ccriterion>\", \"...\"],\n      \"covers\": [\"\u003Cc*\u002Fh* id>\", \"...\"]\n    }\n  }\n}\n```\n\nThis is enough to build a per-subagent brief with **no external context** —\nno need to also fetch `plan show --json` or the exported plan-md. Quote\n`instruction` and `acceptance_criteria` verbatim into the brief; don't\nparaphrase them.\n\n### How to route tasks to the workforce\n\nOnce your plan converges, `devague plan waves` emits the dependency-graph plus\nthe per-task brief above as **scheduling metadata** (ordered batches of task\nIDs, each with its summary\u002Finstruction\u002Facceptance criteria\u002Fcovers). This feeds\ndirectly into the `assign-to-workforce` skill, which:\n\n1. Displays the plan, waves, and suggested per-task subagent\u002Fmodel pairing.\n2. Waits for the human to approve the implementation split plan (or edit\n   assignments).\n3. Fans out approved waves to isolated subagent worktrees (one per task per\n   wave) — each subagent's brief quotes its task's `instruction` and\n   `acceptance_criteria` verbatim from the payload above.\n4. Returns control to the main agent, which TDD-gates each merge before moving\n   to the next wave.\n\nPlan for workforce execution early: narrow task scope, write crisp acceptance\ncriteria, attach a working instruction, and strive for wide waves with\ndisjoint files.\n\n## Output contract\n\nResults go to **stdout**, diagnostics and errors to **stderr** — a strict split\nyou can rely on when parsing. Pass `--json` to any move for a structured payload.\nExit code `0` on success, non-zero on user error (with a `hint:` line). Plans\nlive under `.devague\u002Fplans\u002F` in the current directory; the exported plan-md lands\nin `docs\u002Fplans\u002F`.\n\n## Worked example\n\nPicking up after `think` exported a spec for the frame `my-feature`:\n\n```bash\ndevague plan new --frame my-feature   # seeds the plan + its coverage targets\ndevague plan show                     # see the c*\u002Fh* targets you must cover\n\ndevague plan task \"Build the core engine\" --accept \"engine has a convergence gate\" \\\n    --covers c1 --covers c3 --instruction \"implement in devague\u002Fframe.py; see docs\u002Fspec-contract.md for the schema\"\ndevague plan task \"Pressure-test honesty conditions\" --dep t1 --covers h1 --covers h2 \\\n    --accept \"every honesty condition maps to a test\"\n\n# Add\u002Frefine an instruction after the fact — changing it on a confirmed task\n# flips it back to 'proposed' (the user re-confirms):\ndevague plan instruct t2 \"write tests\u002Ftest_honesty.py covering each honesty condition\"\n\n# Park a genuine unknown instead of guessing:\ndevague plan risk \"exact rollout sequencing\" --kind unknown_nonblocking\n\ndevague plan status                   # what's left + the next move\ndevague plan converge                 # gate; resolve any listed gaps (warnings never block export)\ndevague plan export                   # writes docs\u002Fplans\u002Fmy-feature.md once converged\ndevague plan waves --json             # scheduling metadata + the per-task subagent brief\n```\n\nThe exported plan-md is a buildable artifact: topologically ordered tasks, each\nwith acceptance criteria and the spec targets it covers. It feeds directly into\nimplementation.\n\n## Provenance\n\nThis is a **first-party** skill — its origin is `agentculture\u002Fdevague`, where the\ndevague agent maintains it alongside the tool it operates (dogfooding), next to\nits sibling `think`. It is the *inverse* of the other skills under this repo's\n`.qwen\u002Fskills\u002F`, which culture-nodes vendors **from** the upstream sources\ntracked in `docs\u002Fskill-sources.md`. When ready, guildmaster pulls it **from**\ndevague and broadcasts it to the rest of the\nAgentCulture mesh. The `cite, don't import` policy still holds: downstream repos\ncopy it, they don't symlink or depend on it. See `docs\u002Fskill-sources.md`.\n","\u003C!-- lineage: claude (.claude\u002Fskills\u002Fspec-to-plan\u002FSKILL.md) -> colleague (..\u002Fcolleague\u002F.colleague\u002Fskills\u002Fspec-to-plan.md, ff7331e v1.63.1) -> qwen (this file). Surface adaptation: qwen drives the devague CLI directly through its shell tool; there is no curated tool allow-list to navigate. -->\n\n# spec-to-plan — work a converged spec forwards into a buildable plan\n\nThe skill is named **`spec-to-plan`**; the product\u002FCLI it drives is the\n**`devague plan`** command group. (The prior leg — turning a vague idea into a\nspec — is the sibling **`think`** skill.) It is the **forward** peer of the\nworking-backwards spec engine: where `think` converges on *what* to build,\n`spec-to-plan` converges on *how* to build it.\n\nA plan is seeded from a **converged frame** and tracks **tasks** against the\nspec's **coverage targets**. The CLI is **deterministic and move-driven** — you\n(the agent) choose the next move; the CLI tracks state and tells you what's still\nmissing. Run `devague plan learn` for the method and `devague plan explain\n\u003Cmove>` for any single move.\n\n## How to run\n\nInvoke the `devague` CLI directly through the shell tool\n(`run_shell_command`; it is on PATH — if not: `uv tool install devague`).\nPlans persist under `.devague\u002F` in the current directory, alongside the frames\nthey derive from:\n\n```bash\ndevague plan \u003Cmove> [args...]\ndevague plan status\n```\n\nEvery move — including `status` — is `devague plan \u003Cmove>`, so you can call the\nCLI directly.\n\n### Moves\n\n| Move | What it does |\n|------|--------------|\n| `new --frame \u003Cslug>` | Seed a plan from a **converged** frame. Derives the coverage targets (`c*`\u002F`h*`) the plan must satisfy. Refuses an unconverged frame. |\n| `task \"\u003Csummary>\"` | Add a task. `--accept \"\u003Ccrit>\"`, `--dep \u003CtN>`, `--covers \u003Cc*\u002Fh*>` (each repeatable), `--instruction \"\u003Ctext>\"` (verbatim working guidance, at creation); `--origin llm` lands it `proposed`. |\n| `instruct \u003CtN> \"\u003Ctext>\"` | Add\u002Fupdate a task's working instruction. Changing it on an already-`confirmed` task flips it back to `proposed` — the user re-confirms (the plan side's mirror of the frame side's `interrogate --instruction` re-confirm rule). |\n| `accept \u003CtN> \"\u003Ccrit>\"` | Add an acceptance criterion to a task. |\n| `depend \u003CtN> --on \u003CtM>` | Record that task `tN` depends on `tM`. |\n| `cover \u003CtN> --target \u003Cc*\u002Fh*>` | Mark a task as covering a coverage target. |\n| `confirm \u003CtN>` \u002F `reject \u003CtN>` | Resolve a task. **User-only decision.** Takes **one task id per call** — loop for batches (unlike the frame engine's transactional multi-id `confirm`; parity is a recorded follow-up in the 2026-07-01 plan, devague#53). |\n| `risk \"\u003Ctext>\" --kind \u003Ckind>` | Record a first-class plan risk (`--task \u003CtN>` to attach). |\n| `converge` | Evaluate the gate against the **live** source frame; list remaining gaps, plus non-blocking warnings (e.g. a confirmed task with no instruction). |\n| `export` | Write the buildable plan to `docs\u002Fplans\u002F` — only after `converge` passes. |\n| `waves` | Emit deterministic dependency waves — `{plan, waves}` plus a top-level `tasks` object keyed by task id (per-task summary\u002Finstruction\u002Facceptance criteria\u002Fcovers — see *The `waves --json` payload* below) — scheduling + subagent-brief metadata only, *not* orchestration. Read-only, works on an in-progress plan; refuses a cyclic\u002Fdangling graph. Devague describes the graph; an operator decides how to run it (#20). |\n| `status` | Read-only: where the plan stands + the recommended next move, re-checked against the live frame (`--json` too). |\n| `show` \u002F `list` | Render a plan \u002F list plans (`--json` for raw state). |\n| `learn` \u002F `explain \u003Cmove>` | Teach the method \u002F explain one move. |\n\nRisk kinds (shared with the frame engine): `unknown_nonblocking`,\n`unknown_blocking`, `out_of_scope`, `follow_up`.\n\n### `status` — the next-move verb\n\n`status` is a first-class, **read-only** CLI verb (`devague plan status`,\ninternalised from this wrapper in 0.11.0 — issue\n[#30](https:\u002F\u002Fgithub.com\u002Fagentculture\u002Fdevague\u002Fissues\u002F30)). It composes\n`devague plan list` + `devague plan converge` and prints where the current plan\nstands, the remaining gaps, and the recommended next move derived from the first\ngap. Like `converge`\u002F`export` it re-checks the **live** source frame (so frame\ndrift surfaces as an error), but it never mutates state. Pass `--json` for the\nstructured payload (`{plan, total, ready_for_plan, blockers, warnings,\nparked_items, required_next_moves}`).\n\n```text\nplan: my-feature    (1 plan total)\nconvergence: NOT passed — 2 gap(s):\n  - coverage target c5 (boundary) has no confirmed task\n  - task t2 has no acceptance criteria\n\nrecommended next move (first gap):\n  cover c5: devague plan task \"\u003Csummary>\" --covers c5 --accept \"\u003C...>\"\n```\n\nRun it whenever you're unsure what to do next.\n\n## Hard rules (do not violate)\n\nThese are the point of the method — convergence must mean something.\n\n- **Seed from a converged spec only.** `plan new` refuses a frame that hasn't\n  converged. The plan's coverage targets *are* the spec's confirmed claims and\n  honesty conditions — there is nothing honest to plan against until the spec\n  converges.\n- **LLM proposals stay proposed.** A task captured with `--origin llm` lands as\n  `proposed`. **Never `confirm` your own proposal.** Confirmation is a user-only\n  decision — surface the proposed task and let the user confirm or reject it.\n- **Cover every target; criteria on every task.** The gate requires every\n  coverage target to be covered by a confirmed task, and every confirmed task to\n  carry at least one acceptance criterion. Don't hand-wave a task as \"done-ish.\"\n- **Keep the graph honest.** Dependencies must reference real tasks and form an\n  acyclic graph; the gate rejects dangling deps and cycles.\n- **Park real unknowns as risks; don't paper over them.** A genuinely unknown\n  decision is an `unknown_blocking` risk — it holds back convergence, by design.\n- **Converge against the live frame.** `converge`\u002F`export` re-load the source\n  frame every time. If the frame was deleted or has regressed below convergence,\n  they refuse — re-converge the spec (in `think`) first.\n\n## Coaching toward small, file-disjoint, TDD-gated tasks\n\nWhen authoring a plan that will be built via parallel execution (fanned out to\nmultiple agents via the downstream `assign-to-workforce` skill), prefer the\nfollowing discipline to maximize parallelism and minimize merge friction:\n\n### Acceptance criteria are the testable contract; instruction is the working guidance\n\nTwo fields do two distinct jobs on every task (shipped: devague#53 t5):\n\n- **`--accept \"\u003Ccriterion>\"`** (repeatable) — the **testable contract**: what\n  a test suite checks to prove the task done. Write each as something a cheaper\n  model can be validated against test-first: name the files or modules the task\n  owns, the observable behavior that proves it done, and the compatibility\n  constraints (\"pre-existing plans load with no error\"). A criterion a\n  subagent can't be validated against alone is a summary, not a contract.\n- **`--instruction \"\u003Ctext>\"`** (at `task` time) \u002F `instruct \u003CtN> \"\u003Ctext>\"`\n  (afterwards) — verbatim **working guidance** carried to the subagent: the\n  approach to take, which files to touch first, anything the acceptance\n  criteria don't spell out. Write it yourself; never invent filler to satisfy\n  the gate. Changing it on an already-`confirmed` task flips the task back to\n  `proposed` — the user re-confirms.\n\n`devague plan converge` warns (non-blocking) when a confirmed task carries no\ninstruction:\n\n```text\ntask t1 has no instruction — attach operator guidance with `devague plan instruct t1 \"\u003Ctext>\"`\n```\n\nNeither field replaces the other: acceptance criteria stay the pass\u002Ffail gate;\ninstruction is what a subagent reads before it starts, quoted verbatim (never\nparaphrased) into the brief — see *The `waves --json` payload* below.\n\n### Text hygiene for exports\n\nThe exported plan-md must pass markdown lint. The plan's H1 inherits the\n*frame's* title — set a short, period-free `--title` at `devague new` time (see\n`think`'s export-hygiene rules). And backtick angle-bracket placeholders in\ntask text (`` `instruct \u003CtN>` ``, not `instruct \u003CtN>`) — bare ones fail MD033.\nThere is no task-edit move yet, so fixing text after confirmation means\nhand-editing state JSON.\n\n### Small and crisply scoped\n\nEach task should be **small enough for a simpler or cheaper model to build\ntest-first** without re-deriving the full design. If a task spans multiple files\nor architectural layers, split it — narrow scope forces you to write sharp\nacceptance criteria and keeps waves wide.\n\n### File disjoint\n\n**Prefer tasks that touch non-overlapping files.** When two same-wave tasks\nmodify the same file, merge collision becomes inevitable. The dependency graph\nalone *does not* guarantee file disjointness — it only sequences task *content*\ndependencies; same-wave tasks with overlapping file-writes must be split across\nwaves or given explicit dependencies.\n\nCheck `devague plan waves` output: if a wave is wide but all tasks touch\n`src\u002Fcore.py`, the wave is *formally* parallel but *operationally* serialized at\nmerge. Reorder task boundaries so wide waves operate on disjoint file sets.\n\n### TDD acceptance criteria on every task\n\nEvery confirmed task must carry **at least one acceptance criterion**, phrased as\na testable condition (not a vague outcome). For example:\n\n- Bad: \"Implement the parser\"\n- Better: \"Parser accepts a valid spec file and rejects malformed YAML without\n  data loss\"\n\nAcceptance criteria are **the contract** between the main agent (who merges) and\nthe subagent (who builds). A test suite derived from these criteria validates\neach task's output *before* merge, independent of model capability. This is not\noptional: `devague plan converge` warns (non-blocking) when a confirmed task\nlacks criteria.\n\n### The key invariant: parallel = serial\n\n**A plan built in parallel must yield identical results to building it serially.**\nThis is guaranteed only if:\n\n1. Same-wave tasks have no inter-task dependencies (checked by `waves`).\n2. Same-wave tasks touch disjoint files (you must verify; the CLI does not).\n3. Each task's acceptance criteria are sharp enough that a subagent's output\n   passes them independent of whether it was built in isolation or alongside\n   other tasks.\n\nThe TDD gate — tests pass before *and* after the merge — is the main agent's\nproof that parallelism didn't break correctness.\n\n### The `waves --json` payload — the subagent brief\n\n`devague plan waves --json` keeps its original shape — `{\"plan\": \"\u003Cslug>\",\n\"waves\": [[...], ...]}`, the ordered task-id scheduling batches — and adds a\ntop-level `\"tasks\"` object, keyed by task id, carrying each task's brief\nverbatim (devague#53 t9):\n\n```json\n{\n  \"plan\": \"\u003Cslug>\",\n  \"waves\": [[\"t1\"], [\"t2\", \"t3\"]],\n  \"tasks\": {\n    \"t1\": {\n      \"summary\": \"\u003Ctask summary>\",\n      \"instruction\": \"\u003Cverbatim instruction, or \\\"\\\" if none>\",\n      \"acceptance_criteria\": [\"\u003Ccriterion>\", \"...\"],\n      \"covers\": [\"\u003Cc*\u002Fh* id>\", \"...\"]\n    }\n  }\n}\n```\n\nThis is enough to build a per-subagent brief with **no external context** —\nno need to also fetch `plan show --json` or the exported plan-md. Quote\n`instruction` and `acceptance_criteria` verbatim into the brief; don't\nparaphrase them.\n\n### How to route tasks to the workforce\n\nOnce your plan converges, `devague plan waves` emits the dependency-graph plus\nthe per-task brief above as **scheduling metadata** (ordered batches of task\nIDs, each with its summary\u002Finstruction\u002Facceptance criteria\u002Fcovers). This feeds\ndirectly into the `assign-to-workforce` skill, which:\n\n1. Displays the plan, waves, and suggested per-task subagent\u002Fmodel pairing.\n2. Waits for the human to approve the implementation split plan (or edit\n   assignments).\n3. Fans out approved waves to isolated subagent worktrees (one per task per\n   wave) — each subagent's brief quotes its task's `instruction` and\n   `acceptance_criteria` verbatim from the payload above.\n4. Returns control to the main agent, which TDD-gates each merge before moving\n   to the next wave.\n\nPlan for workforce execution early: narrow task scope, write crisp acceptance\ncriteria, attach a working instruction, and strive for wide waves with\ndisjoint files.\n\n## Output contract\n\nResults go to **stdout**, diagnostics and errors to **stderr** — a strict split\nyou can rely on when parsing. Pass `--json` to any move for a structured payload.\nExit code `0` on success, non-zero on user error (with a `hint:` line). Plans\nlive under `.devague\u002Fplans\u002F` in the current directory; the exported plan-md lands\nin `docs\u002Fplans\u002F`.\n\n## Worked example\n\nPicking up after `think` exported a spec for the frame `my-feature`:\n\n```bash\ndevague plan new --frame my-feature   # seeds the plan + its coverage targets\ndevague plan show                     # see the c*\u002Fh* targets you must cover\n\ndevague plan task \"Build the core engine\" --accept \"engine has a convergence gate\" \\\n    --covers c1 --covers c3 --instruction \"implement in devague\u002Fframe.py; see docs\u002Fspec-contract.md for the schema\"\ndevague plan task \"Pressure-test honesty conditions\" --dep t1 --covers h1 --covers h2 \\\n    --accept \"every honesty condition maps to a test\"\n\n# Add\u002Frefine an instruction after the fact — changing it on a confirmed task\n# flips it back to 'proposed' (the user re-confirms):\ndevague plan instruct t2 \"write tests\u002Ftest_honesty.py covering each honesty condition\"\n\n# Park a genuine unknown instead of guessing:\ndevague plan risk \"exact rollout sequencing\" --kind unknown_nonblocking\n\ndevague plan status                   # what's left + the next move\ndevague plan converge                 # gate; resolve any listed gaps (warnings never block export)\ndevague plan export                   # writes docs\u002Fplans\u002Fmy-feature.md once converged\ndevague plan waves --json             # scheduling metadata + the per-task subagent brief\n```\n\nThe exported plan-md is a buildable artifact: topologically ordered tasks, each\nwith acceptance criteria and the spec targets it covers. It feeds directly into\nimplementation.\n\n## Provenance\n\nThis is a **first-party** skill — its origin is `agentculture\u002Fdevague`, where the\ndevague agent maintains it alongside the tool it operates (dogfooding), next to\nits sibling `think`. It is the *inverse* of the other skills under this repo's\n`.qwen\u002Fskills\u002F`, which culture-nodes vendors **from** the upstream sources\ntracked in `docs\u002Fskill-sources.md`. When ready, guildmaster pulls it **from**\ndevague and broadcasts it to the rest of the\nAgentCulture mesh. The `cite, don't import` policy still holds: downstream repos\ncopy it, they don't symlink or depend on it. See `docs\u002Fskill-sources.md`.\n",{"name":5,"description":7},"main","a2056e6191a4e106faf886773efed2f44ff120b2",".qwen\u002Fskills\u002Fspec-to-plan",0,"https:\u002F\u002Fgithub.com\u002Fagentculture\u002Fculture-nodes","https:\u002F\u002Fgithub.com\u002Fagentculture","https:\u002F\u002Fagentculture.org","Agent first OSS software","2026-09-29 08:50:58",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add agentculture\u002Fculture-nodes --skill spec-to-plan",{"tool":39,"command":40},"bunx","bunx skills add agentculture\u002Fculture-nodes --skill spec-to-plan",{"tool":42,"command":43},"pnpm","pnpm dlx skills add agentculture\u002Fculture-nodes --skill spec-to-plan","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fagentculture\u002Fculture-nodes\u002Fblob\u002Fmain\u002F.qwen\u002Fskills\u002Fspec-to-plan\u002FSKILL.md",true,[],[48,55,60,65,72,79],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7AB6FGWR0P3SPYFX2W801D5","sample","Fixture skill proving the .qwen\u002Fskills leg carries at least one skill.","https:\u002F\u002Fgithub.com\u002Fagentculture\u002Fculture-nodes\u002Fblob\u002Fmain\u002Fadapters\u002Fqwen\u002Ftests\u002Ffixtures\u002Fconfig-repo-no-culture-yaml\u002F.qwen\u002Fskills\u002Fsample\u002FSKILL.md",[],[],{"skillNo":56,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7AB6E9PFCDZE193CGPM0K35","https:\u002F\u002Fgithub.com\u002Fagentculture\u002Fculture-nodes\u002Fblob\u002Fmain\u002Fadapters\u002Fqwen\u002Ftests\u002Ffixtures\u002Fconfig-repo-no-agents-md\u002F.qwen\u002Fskills\u002Fsample\u002FSKILL.md",[],[],{"skillNo":61,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7AB6CJ3G1ZZJD63NEZZK1JH","https:\u002F\u002Fgithub.com\u002Fagentculture\u002Fculture-nodes\u002Fblob\u002Fmain\u002Fadapters\u002Fqwen\u002Ftests\u002Ffixtures\u002Fconfig-repo-complete\u002F.qwen\u002Fskills\u002Fsample\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7AB64WWKV9H2J7JDV5KXGPA","think","Think a vague feature idea into a buildable spec by working backwards (the idea→spec leg; drives the `devague` CLI). Start from the announcement (\"pretend it shipped\"), capture and classify claims, interrogate them with honesty conditions and hard questions, park open vagueness as a first-class object, and export a spec only once the frame *converges*. Use when the user says \"think this through\", \"spec this\", \"work backwards\", \"turn this idea into a spec\", \"announcement frame\", or \"devague\", or when a feature request is too vague to build yet. Explore scope first when the idea touches an existing codebase — the sibling `scope` skill is the optional opening leg ahead of `think`. Once a spec exports, hand off to the sibling `spec-to-plan` skill to turn it into a plan. Authored and maintained in agentculture\u002Fdevague (origin = devague); guildmaster pulls this skill from here and broadcasts it to the AgentCulture mesh — it is NOT vendored from guildmaster like the other skills here.","https:\u002F\u002Fgithub.com\u002Fagentculture\u002Fculture-nodes\u002Fblob\u002Fmain\u002F.qwen\u002Fskills\u002Fthink\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7AB5X0FTZ081AFH3BTGQKVA","summarize-delivery","Close the loop after an `assign-to-workforce` run by turning what actually happened into an accountability artifact — planned versus actual delivery, mid-work decisions, plan drift, evidence-backed delivery claims, and remaining work. The plan the user confirmed is the contract; this skill records where execution obeyed it, where it changed, and what is genuinely safe to claim as delivered. Runs on complete, partial, AND failed runs — failure is reported faithfully, never smoothed over. Use when the user says \"summarize delivery\", \"delivery summary\", \"wrap up\", \"close the loop\", \"what did we actually ship\", or \"plan versus actual\", or after `assign-to-workforce` merges (or fails to merge) a plan's waves. Authored and maintained in agentculture\u002Fdevague (origin = devague); guildmaster pulls this skill from here and broadcasts it to the AgentCulture mesh — it is NOT vendored from guildmaster like the inbound skills here.","https:\u002F\u002Fgithub.com\u002Fagentculture\u002Fculture-nodes\u002Fblob\u002Fmain\u002F.qwen\u002Fskills\u002Fsummarize-delivery\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7AB5EVDPXVK8WZ46VTAHPF3","scope","Explore the scope of a vague idea BEFORE framing it into a spec (the idea→scope leg; the optional opening move ahead of the `think` skill). Survey the surfaces the idea touches — code, docs, skills, CI, sibling repos — and seed the coming Announcement Frame with boundary, non-goal, and assumption claims that cite what was actually explored (provenance, not generic disclaimers). Use when the user says \"explore scope\", \"scope this idea\", \"what does this touch\", \"map the scope\", \"scope exploration\", or when an idea touches an existing codebase and speccing it cold would mean guessing its boundaries. Hand off to the sibling `think` skill to build the frame. Authored and maintained in agentculture\u002Fdevague (origin = devague); guildmaster pulls this skill from here and broadcasts it to the AgentCulture mesh — it is NOT vendored from guildmaster like the inbound skills here.","https:\u002F\u002Fgithub.com\u002Fagentculture\u002Fculture-nodes\u002Fblob\u002Fmain\u002F.qwen\u002Fskills\u002Fscope\u002FSKILL.md",[],[]]