[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6NJYBHDEYSNRW754FG6ZKMX":3,"skill-same:01M6NJYBHDEYSNRW754FG6ZKMX":68},{"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":28,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":53,"install":54,"resources":67},"01M6NJYBHDEYSNRW754FG6ZKMX","feature-design",null,"Design and plan a feature — move it to in progress and write its design and sub-task plan","plwhite\u002Fclaudeplugins","plwhite","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F8448749?v=4","01M6NJY6F3ZZDJYK81DHP6JVJN","Peter White","01M6NJY6KSDFD9W61Y3Q85WR86",3,"MIT","https:\u002F\u002Fgithub.com\u002Fplwhite\u002Fclaudeplugins\u002Fblob\u002Fmain\u002Fdevproc\u002Fskills\u002Ffeature-design\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",[29,30,31,32,33,34,35,36,37,38,39],"design","feature","feature design","plan","write","task","design and plan","name","progress","it","move","2026-11-10 10:12:30",false,"---\nname: feature-design\ndescription: Design and plan a feature — move it to in progress and write its design and sub-task plan\nargument-hint: [feature name or slug]\n---\n\nDesign a specified feature: decide *how* it will be built and break the work\ninto sub-tasks, each with its own **sign-off criteria**. This is the second step\nof the feature lifecycle (`feature-spec` → `feature-design` → implement →\n`feature-end`). It assumes the feature has already been specified by\n`\u002Ffeature-spec` (which agreed the sign-off strategy); it produces the design and\nplan, but does **not** begin implementation.\n\nBefore proceeding, check that `features\u002FFEATUREMODEL.md` exists **and** that\n`CLAUDE.md` loads it via a live import — an un-backticked `@features\u002FFEATUREMODEL.md` line in ordinary prose, outside any fenced code block.\nIf either is missing, tell the user to run \u002Ffeature-init first and stop.\n\nThe user has identified the feature as: $ARGUMENTS\n\nA review-control token in `$ARGUMENTS` — `--no-review`, \"skip review\", \"no design review\" and the like — selects the review mode in step 7 and is **not part of the feature's name**. Strip it before matching `$ARGUMENTS` against pending features in step 1, or the match will fail.\n\nSteps:\n\n1. Read `features\u002FPENDING.md` and identify the feature to design.\n   - Match `$ARGUMENTS` against pending feature names and slugs.\n   - If `$ARGUMENTS` is blank and there is exactly one entry in `features\u002FPENDING.md`, use that.\n   - If no match is found, tell the user the feature is not in `features\u002FPENDING.md` and ask them to run `\u002Ffeature-spec` first. Do not proceed.\n   - If ambiguous, ask the user to clarify.\n\n   Then gather the specification to inform the design.\n   a. Read the feature's plan file `features\u002Fplans\u002F\u003Cslug>.md`. `\u002Ffeature-spec` normally captures the full source-issue content in its `## Requirements` section — prefer this over re-fetching the issue.\n   b. If the plan file is missing, or has no usable `## Requirements`, or has no `## Spec`, **stop and tell the user to run `\u002Ffeature-spec` first.** Do not proceed, and do not write the missing section yourself. Any of these means `\u002Ffeature-spec` has not completed for this feature — most likely the skills are being run out of order — and designing without a spec means inventing the statement of what the feature must do that the user was supposed to agree.\n\n2. Move the feature entry from `features\u002FPENDING.md` to `features\u002FCURRENT.md`. Update the entry's detail link if needed so it points at `features\u002Fplans\u002F\u003Cslug>.md` (the link is relative to `features\u002FCURRENT.md`, so written `[features\u002Fplans\u002F\u003Cslug>.md](plans\u002F\u003Cslug>.md)`).\n\n3. Decide whether to use deep planning mode:\n   - Use `\u002Fplan` if: the feature is complex (multiple systems touched, significant unknowns, non-trivial architecture decisions), OR the user has asked for deeper thinking or planning (e.g. \"use plan mode\" or \"this is a complex change\").\n   - Skip `\u002Fplan` for straightforward features where the sub-tasks are obvious from the specification.\n   - If using `\u002Fplan`: invoke it now before proceeding. The plan output will inform the sub-task breakdown.\n\n4. Before writing the design, do enough research to produce a realistic sub-task breakdown:\n   - Read relevant existing code and data files.\n   - If the feature involves external services, APIs, or unfamiliar areas of the codebase, do reconnaissance before drafting sub-tasks.\n   - If the specification is unclear, ask the user before writing the design.\n\n5. Flesh out the plan file `features\u002Fplans\u002F\u003Cslug>.md`. It normally already exists (created by `\u002Ffeature-spec`) with a `## Requirements` section, a `## Spec` section, a `## Sign-off strategy` section, a `## Design` placeholder, and a `## Review record` section. **Preserve the `## Requirements`, `## Spec`, `## Sign-off strategy` and `## Review record` sections** — the review record is the feature's review history and must survive this rewrite intact, and `## Spec` is the statement of what the feature must do that the design below has to satisfy — then prepend a `## Handoff` section, replace the Design placeholder with the real design, and add a `## Sub-tasks` section. Insert `## Sub-tasks` after `## Design`, leaving `## Review record` as the last section of the file. The file, and its `## Requirements` and `## Spec` sections, must be present by this point — step 1b stops if any of them is not. Target structure:\n\n```markdown\n# \u003CFeature title> — Feature Plan\n\n## Handoff\n\n**Last updated:** YYYY-MM-DD\n**Session summary:** Design and plan created. Implementation not yet started.\n**Sub-task in progress:** None\n**First action next session:** Begin Sub-task 1\n**Open questions \u002F decisions pending:** None\n**Dead ends to avoid:** None\n\n## Requirements\n\n\u003CPreserved from \u002Ffeature-spec — the captured input the spec was written from.>\n\n## Spec\n\n\u003CPreserved from \u002Ffeature-spec — what the feature must do, written to stand\nalone against `### Readability` in `features\u002FFEATUREMODEL.md`. This is what\nthe design below must satisfy; see step 9 if writing the design shows it needs\nto change.>\n\n## Sign-off strategy\n\n\u003CPreserved from \u002Ffeature-spec — the quality bar per sign-off category that the\nper-sub-task criteria below are derived from.>\n\n## Design\n\n\u003COpens with an overview of how the design works as a whole — enough that a\nreader who knows only `## Requirements` and `## Spec` can follow what is being\nproposed — before any detailed section; see `### Readability` in\n`features\u002FFEATUREMODEL.md`. For a simple feature the overview may be the whole\nsection. For a complex feature, detailed sections follow covering\narchitectural decisions, data layouts, component interactions, and open\nquestions resolved during planning. This section is the written record of\nwhat was decided and why — enough detail that the user can review it inline\nand provide corrections before implementation begins.>\n\n## Sub-tasks\n\n**▶ NEXT:** Sub-task 1\n\n> Run `\u002Ffeature-checkpoint` after each sub-task completes.\n\n\u003CList-wide notes, if any — e.g. a recurring omission justified once (see step 6).>\n\n### 1. \u003CSub-task name>\n\n\u003CBrief description of what the sub-task covers and what success looks like.>\n\n- [ ] \u003Csign-off criterion>   (see step 6)\n\n### 2. \u003CSub-task name>\n\n...\n\n### N. Final sign-off criteria\n\n\u003COnly when `## Sign-off strategy` defines end-of-feature gates; one checkbox per gate, omitted entirely otherwise — see step 6.>\n\n- [ ] \u003Cgate>\n\n## Review record\n\n\u003CPreserved from \u002Ffeature-spec, and appended to in step 8. Always the last\nsection of the file.>\n```\n\nKeep sub-task descriptions to one line. Implementation detail goes in `NOTES.md` as you discover it, not here. The Design section is the exception: it should capture the key decisions and rationale from the planning process. It must open with an overview of how the design works as a whole, before any detailed section, followable by a reader who knows only `## Requirements` and `## Spec` — see `### Readability` in `features\u002FFEATUREMODEL.md` for what that requires.\n\n6. Give each sub-task its **sign-off criteria**, derived from the `## Sign-off strategy` agreed at `\u002Ffeature-spec`. The conventions these must follow — the standard categories, the checkbox format, auditability, performer attribution on review boxes, omitting categories that do not apply rather than writing untickable placeholders, and materialising any strategy-defined end-of-feature gates as a conditional final sub-task rather than leaving them only in strategy prose — are defined in `features\u002FFEATUREMODEL.md` under `### Sign-off criteria`. Apply them. Specific to this step:\n\n   - Under each sub-task, add a checkbox for every sign-off that applies to it — the applicable standard categories plus any feature-specific sign-offs the strategy defined. List only what genuinely applies: a small internal sub-task may need only one box, a risky one may need all of them.\n   - If an omission is one a reader might question, justify it once where it belongs: a feature-wide skip in `## Sign-off strategy`, or a list-wide note at the top of `## Sub-tasks`, after the `▶ NEXT:` line, for a case that recurs across several sub-tasks (e.g. \"sub-tasks 1–2 carry no user review — no user-visible surface until sub-task 3\").\n   - List each sub-task's criteria in the order they will be performed.\n   - For each sub-task that changes both docs and code, decide whether to make it docs-first (**Docs-first sub-tasks** in `FEATUREMODEL.md`). Where it is unclear, ask the user.\n   - For each sign-off, decide whether it needs written steps, and if so whether they go inline or in a file under `features\u002Fplans\u002F\u003Cslug>\u002F`, per `FEATUREMODEL.md`. Where it is unclear, ask the user.\n   - Check whether `## Sign-off strategy` defines any end-of-feature gates (e.g. one feature-wide `\u002Freview-branch`, one `\u002Freview-docs` pass, a final user review). If it does, add them as the last sub-task, named **\"Final sign-off criteria\"**, one checkbox per gate — never spread across earlier sub-tasks and never left as strategy prose alone. If the strategy defines no such gates, do not add this sub-task; an empty or placeholder final sub-task is exactly the untickable-box case the conventions rule out.\n\n   Example — a docs-first sub-task, in which the user reviews the documented syntax before the parser is written:\n\n   ```\n   ### 3. Add the config parser\n\n   Document the new config format, then parse it.\n\n   - [ ] Documentation: config docs describe the new syntax\n   - [ ] Docs review (user): user confirms the config syntax as documented, before the parser is written\n   - [ ] Testing: unit tests for the parser, passing\n   - [ ] Code review (agent): \u002Freview-component the parser\n   ```\n\n   Final sub-task example — added only because the strategy in this case defined\n   these four gates; a feature whose strategy defines none gets no such sub-task:\n   ```\n   ### 6. Final sign-off criteria\n\n   End-of-feature gates for this feature, per `## Sign-off strategy`.\n\n   - [ ] Testing (dry-run): representative walkthrough recorded in NOTES.md\n   - [ ] Code review (agent): \u002Freview-branch over all changed files; findings resolved or dismissed\n   - [ ] Docs review (agent): \u002Freview-docs over the change, all kinds\n   - [ ] User review: user confirms the feature matches intent\n   ```\n\n> Step 7 below is near-identical in `feature-spec` and `feature-design`. If you change the review invocation, the finding-handling rules, the two-invocation cap, the unattended-mode gate, or the `## Review record` format, update both — a silent divergence in the unattended gate is the worst case, since it governs when human sign-off is bypassed. If you add or remove a finding marker, update both agents' `## Output Format` too: the markers are the contract between them.\n>\n> **One deliberate exception:** 7f's spec-amendment bullet is `\u002Ffeature-design`-only and has no counterpart in `feature-spec`, because only this skill can amend `## Spec`. It is a pointer to step 9, not a rule of its own, so the gate's substance stays parallel. Do not \"restore parity\" by deleting it or by copying it into `feature-spec`.\n\n7. **Have the design reviewed before the user sees it.** The point is that the user spends their attention on judgement calls, not on catching gaps an agent can catch.\n\n   a. **Skip only on an explicit instruction.** Check `$ARGUMENTS` for a skip instruction — `--no-review`, \"skip review\", \"no design review\" or similar — and honour the user declining if they raise it while the skill is running. If the review is skipped, go straight to step 8 and say plainly there that it did not run. Absent such an instruction, the review happens.\n\n   b. Call @feature-design-reviewer with the path of the plan file.\n\n   c. **Act on the findings by their marking, not their severity.** Each finding is marked `[rewrite]` or `[decision]`:\n      - `[rewrite]` — fix it yourself in the plan file. These are writing-quality faults: a decision recorded without its reasoning, a criterion that is not auditable, a requirement no sub-task covers, a sub-task that is really three.\n      - `[decision]` — **do not resolve it by choosing.** Carry it to step 8 as a question for the user. Guessing here is precisely the failure the review exists to prevent, and a plausible-looking guess is worse than an open question because nobody knows it was made.\n      - MINOR and SUGGESTION findings: apply the ones that are clearly right, and mention the rest rather than acting on them. Where one carries a `[decision]` marking, frame it to the user as an observation worth their answer rather than a blocking objection — but note that it still stops an unattended run under 7f, because the gate does not grade questions by severity. A small question is still a question.\n\n      If a finding marked `[decision]` turns out to rest on a fact you can establish rather than a judgement the user must make — the reviewer asks whether a component exists, and you can read the code and see — establish it and say you did. Do not manufacture a question you can answer. The distinction is judgement versus lookup, not who noticed it.\n\n   d. If your rewrites went beyond minor wording — you restructured the design, rewrote a sub-task or its criteria, or reordered the breakdown — call the agent once more. **Two invocations per run is the cap** — stop after the second whatever it says, and report anything still outstanding to the user in step 8. Do not spend the second pass when every outstanding finding is `[decision]` and waiting on the user: re-reviewing unchanged questions cannot change the verdict, and the user is the one who has to answer.\n\n   e. Note the final verdict (`READY FOR USER REVIEW` or `NEEDS WORK`) to report in step 8. If the agent fails, returns nothing, or returns findings with no verdict line, treat the result as `NEEDS WORK` and say in step 8 that the review did not complete and why — an absent verdict is not a pass.\n\n   f. **Unattended mode.** If the user has told you to run without checking in — \"don't stop for me\", \"work through the feature unattended\", or an autonomy boundary agreed with `dev-process-manager` that covers this stage — then the agent's verdict stands in for their sign-off, but only where it is unambiguous:\n\n      - **Proceed without pausing only if** the final verdict is `READY FOR USER REVIEW` **and** no finding was marked `[decision]`. A finding counts here if the *agent* marked it `[decision]`, even where you settled it by lookup under 7c: establishing a fact records what was true, it does not overturn the reviewer's judgement that the artefact needed an answer. Where every blocking `[decision]` was settled that way, say so plainly when you stop: what you established, that there is nothing for the user to decide, and that you stopped because the reviewer's doubt about the artefact stands.\n      - **Otherwise stop and ask**, exactly as step 8 describes. `NEEDS WORK`, or any `[decision]` finding, overrides the instruction to keep going. An autonomy boundary is permission to skip a *routine confirmation*; it is not permission to answer a question that is the user's to answer.\n      - **A skipped review cancels unattended mode**: with no review there is no verdict to stand in for the user's judgement, so stop and ask. The two instructions do not compound into \"proceed with nothing checked\".\n      - **A proposed spec amendment stops the run independently of the verdict.** This is the one stop condition no verdict can express: if step 9 has raised an amendment to `## Spec` that the user has not approved, you may not proceed here, however clean the review came back. The reviewer judges the design against the spec as written, so a clean verdict says nothing about a change to the spec itself. See step 9d.\n      - **Proceeding here means implementation may begin** without the user having seen the design. Use the unattended form of the `## Review record` line in step 8, *also* note it in the `## Handoff` section's session summary so a resuming session knows the design is unreviewed by a human without having to look for the record, and say in your report that you proceeded unattended and on whose instruction.\n\n   If the reviewer contradicts something the user has already settled, say so rather than quietly re-opening it: the user's decision stands, and the finding is worth a sentence, not a rewrite.\n\n8. Summarise the design and sub-task plan to the user, and **present each sub-task's sign-off criteria for them to agree or adjust** — this is where the user signs off on what each sub-task must satisfy before it counts as done. Update the criteria to match what they settle on.\n\n   *In unattended mode (step 7f), where the verdict permitted you to proceed, still produce this report — the user reads it after the fact rather than before. What changes is that you do not wait for a reply; what does not change is that they are told everything they would have been told. The sign-off criteria are frozen as the reviewer saw them, and the unattended form of the `## Review record` line is what tells a resuming session that no human adjusted them.*\n\n   Include with that summary:\n   - what the review changed, in a line or two — not a transcript of its findings;\n   - every `[decision]` finding, as a question they need to answer;\n   - any question *you* could not settle from the requirements, whether or not the review raised it, recorded in the plan file's Handoff section as well — a skipped review does not mean there is nothing to ask;\n   - the sign-off choices you made, so the user can see they were explicit: which sub-tasks you made docs-first, and for each sign-off with written steps whether they are inline or in a separate file under `features\u002Fplans\u002F\u003Cslug>\u002F`;\n   - any MINOR or SUGGESTION finding you did not apply, in brief — enough that the user knows it was raised, not a transcript;\n   - the verdict, or a plain statement that the review was skipped and on whose instruction.\n\n   **Record what happened in the plan file, in every case.** Append one line to the `## Review record` section at the end of the plan file, creating the section if `\u002Ffeature-spec` did not. Write the line whether the review ran, was skipped, or accepted the design unattended: the section is the durable evidence of what has and has not been checked, and a record that exists only when something happened cannot be trusted to show that nothing did. Append beneath the spec-stage line rather than replacing it — the record is the feature's review history, not its current state.\n\n   ```\n   - 2026-07-20 — Design reviewed by `feature-design-reviewer`: VERDICT: NEEDS WORK. Presented to the user for sign-off, with 2 open questions.\n   - 2026-07-20 — Design review: N\u002FA — skipped on the user's instruction. Presented to the user for sign-off, unreviewed.\n   - 2026-07-20 — Design reviewed by `feature-design-reviewer`: VERDICT: READY FOR USER REVIEW. Accepted unattended; no human has read this design.\n   ```\n\n   (Those are the three forms, not three lines to write — use the one that describes this run. The first form carries whichever verdict the review returned; a `VERDICT: READY FOR USER REVIEW` run is recorded the same way, without the trailing count of open questions.)\n\n   Implementation is a separate step with no slash command of its own — *do not start implementing without user confirmation*, unless step 7f's unattended gate was satisfied and the agreed autonomy boundary covers implementation as well as design. Passing the gate is permission to proceed *without waiting*; it is not permission to exceed the boundary the user set.\n\n9. **If design work shows the spec itself is wrong, incomplete, or impossible as written, you may amend `## Spec` — but never silently.** This can come up at any point while researching or writing the design (steps 3–6): design legitimately turns up problems the spec did not anticipate — the canonical case is \"this cannot be done exactly as specced, but a cheap 99% alternative is X\" — and `\u002Ffeature-design` is not frozen out of acting on that. This step is deliberately separate from steps 7 and 8 above: those two are near-identical to `feature-spec`'s equivalent steps by design, and a spec amendment is a `\u002Ffeature-design`-only event that has no counterpart there.\n\n   a. Edit `## Spec` to the corrected text. Where the amendment adds, rewords or removes a numbered requirement, follow the stable-numbering rule in the `Spec` entry under `### Documents to support the model` in `features\u002FFEATUREMODEL.md`; do not renumber the requirements that are already there.\n\n   b. **Put the amendment to the user for approval**, framed as either \"this is uncontroversial, please confirm\" or \"I think the spec should change, is this acceptable\" — whichever the change warrants. If the amendment surfaces while you are still researching or writing the design, raise it as soon as you make it rather than holding it back; if it lands at the same time as the design summary in step 8, fold it into that report instead of asking twice.\n\n   c. **Log the amendment in `## Review record`** once approved — its own line, separate from the three verdict forms in step 8, recording what changed, why, and that the user approved it:\n\n      ```\n      - 2026-07-20 — Spec amended during design, with the user's approval: \u003Cwhat changed and why>.\n      ```\n\n   d. **In unattended mode, a proposed amendment stops the run**, on the same principle as a `[decision]` finding under step 7f — it is a question that is the user's to answer, not a routine confirmation an autonomy boundary can cover. Stop and ask, exactly as step 8 describes, and do not proceed on the amended spec until the user has approved it.\n","Design a specified feature: decide *how* it will be built and break the work\ninto sub-tasks, each with its own **sign-off criteria**. This is the second step\nof the feature lifecycle (`feature-spec` → `feature-design` → implement →\n`feature-end`). It assumes the feature has already been specified by\n`\u002Ffeature-spec` (which agreed the sign-off strategy); it produces the design and\nplan, but does **not** begin implementation.\n\nBefore proceeding, check that `features\u002FFEATUREMODEL.md` exists **and** that\n`CLAUDE.md` loads it via a live import — an un-backticked `@features\u002FFEATUREMODEL.md` line in ordinary prose, outside any fenced code block.\nIf either is missing, tell the user to run \u002Ffeature-init first and stop.\n\nThe user has identified the feature as: $ARGUMENTS\n\nA review-control token in `$ARGUMENTS` — `--no-review`, \"skip review\", \"no design review\" and the like — selects the review mode in step 7 and is **not part of the feature's name**. Strip it before matching `$ARGUMENTS` against pending features in step 1, or the match will fail.\n\nSteps:\n\n1. Read `features\u002FPENDING.md` and identify the feature to design.\n   - Match `$ARGUMENTS` against pending feature names and slugs.\n   - If `$ARGUMENTS` is blank and there is exactly one entry in `features\u002FPENDING.md`, use that.\n   - If no match is found, tell the user the feature is not in `features\u002FPENDING.md` and ask them to run `\u002Ffeature-spec` first. Do not proceed.\n   - If ambiguous, ask the user to clarify.\n\n   Then gather the specification to inform the design.\n   a. Read the feature's plan file `features\u002Fplans\u002F\u003Cslug>.md`. `\u002Ffeature-spec` normally captures the full source-issue content in its `## Requirements` section — prefer this over re-fetching the issue.\n   b. If the plan file is missing, or has no usable `## Requirements`, or has no `## Spec`, **stop and tell the user to run `\u002Ffeature-spec` first.** Do not proceed, and do not write the missing section yourself. Any of these means `\u002Ffeature-spec` has not completed for this feature — most likely the skills are being run out of order — and designing without a spec means inventing the statement of what the feature must do that the user was supposed to agree.\n\n2. Move the feature entry from `features\u002FPENDING.md` to `features\u002FCURRENT.md`. Update the entry's detail link if needed so it points at `features\u002Fplans\u002F\u003Cslug>.md` (the link is relative to `features\u002FCURRENT.md`, so written `[features\u002Fplans\u002F\u003Cslug>.md](plans\u002F\u003Cslug>.md)`).\n\n3. Decide whether to use deep planning mode:\n   - Use `\u002Fplan` if: the feature is complex (multiple systems touched, significant unknowns, non-trivial architecture decisions), OR the user has asked for deeper thinking or planning (e.g. \"use plan mode\" or \"this is a complex change\").\n   - Skip `\u002Fplan` for straightforward features where the sub-tasks are obvious from the specification.\n   - If using `\u002Fplan`: invoke it now before proceeding. The plan output will inform the sub-task breakdown.\n\n4. Before writing the design, do enough research to produce a realistic sub-task breakdown:\n   - Read relevant existing code and data files.\n   - If the feature involves external services, APIs, or unfamiliar areas of the codebase, do reconnaissance before drafting sub-tasks.\n   - If the specification is unclear, ask the user before writing the design.\n\n5. Flesh out the plan file `features\u002Fplans\u002F\u003Cslug>.md`. It normally already exists (created by `\u002Ffeature-spec`) with a `## Requirements` section, a `## Spec` section, a `## Sign-off strategy` section, a `## Design` placeholder, and a `## Review record` section. **Preserve the `## Requirements`, `## Spec`, `## Sign-off strategy` and `## Review record` sections** — the review record is the feature's review history and must survive this rewrite intact, and `## Spec` is the statement of what the feature must do that the design below has to satisfy — then prepend a `## Handoff` section, replace the Design placeholder with the real design, and add a `## Sub-tasks` section. Insert `## Sub-tasks` after `## Design`, leaving `## Review record` as the last section of the file. The file, and its `## Requirements` and `## Spec` sections, must be present by this point — step 1b stops if any of them is not. Target structure:\n\n```markdown\n# \u003CFeature title> — Feature Plan\n\n## Handoff\n\n**Last updated:** YYYY-MM-DD\n**Session summary:** Design and plan created. Implementation not yet started.\n**Sub-task in progress:** None\n**First action next session:** Begin Sub-task 1\n**Open questions \u002F decisions pending:** None\n**Dead ends to avoid:** None\n\n## Requirements\n\n\u003CPreserved from \u002Ffeature-spec — the captured input the spec was written from.>\n\n## Spec\n\n\u003CPreserved from \u002Ffeature-spec — what the feature must do, written to stand\nalone against `### Readability` in `features\u002FFEATUREMODEL.md`. This is what\nthe design below must satisfy; see step 9 if writing the design shows it needs\nto change.>\n\n## Sign-off strategy\n\n\u003CPreserved from \u002Ffeature-spec — the quality bar per sign-off category that the\nper-sub-task criteria below are derived from.>\n\n## Design\n\n\u003COpens with an overview of how the design works as a whole — enough that a\nreader who knows only `## Requirements` and `## Spec` can follow what is being\nproposed — before any detailed section; see `### Readability` in\n`features\u002FFEATUREMODEL.md`. For a simple feature the overview may be the whole\nsection. For a complex feature, detailed sections follow covering\narchitectural decisions, data layouts, component interactions, and open\nquestions resolved during planning. This section is the written record of\nwhat was decided and why — enough detail that the user can review it inline\nand provide corrections before implementation begins.>\n\n## Sub-tasks\n\n**▶ NEXT:** Sub-task 1\n\n> Run `\u002Ffeature-checkpoint` after each sub-task completes.\n\n\u003CList-wide notes, if any — e.g. a recurring omission justified once (see step 6).>\n\n### 1. \u003CSub-task name>\n\n\u003CBrief description of what the sub-task covers and what success looks like.>\n\n- [ ] \u003Csign-off criterion>   (see step 6)\n\n### 2. \u003CSub-task name>\n\n...\n\n### N. Final sign-off criteria\n\n\u003COnly when `## Sign-off strategy` defines end-of-feature gates; one checkbox per gate, omitted entirely otherwise — see step 6.>\n\n- [ ] \u003Cgate>\n\n## Review record\n\n\u003CPreserved from \u002Ffeature-spec, and appended to in step 8. Always the last\nsection of the file.>\n```\n\nKeep sub-task descriptions to one line. Implementation detail goes in `NOTES.md` as you discover it, not here. The Design section is the exception: it should capture the key decisions and rationale from the planning process. It must open with an overview of how the design works as a whole, before any detailed section, followable by a reader who knows only `## Requirements` and `## Spec` — see `### Readability` in `features\u002FFEATUREMODEL.md` for what that requires.\n\n6. Give each sub-task its **sign-off criteria**, derived from the `## Sign-off strategy` agreed at `\u002Ffeature-spec`. The conventions these must follow — the standard categories, the checkbox format, auditability, performer attribution on review boxes, omitting categories that do not apply rather than writing untickable placeholders, and materialising any strategy-defined end-of-feature gates as a conditional final sub-task rather than leaving them only in strategy prose — are defined in `features\u002FFEATUREMODEL.md` under `### Sign-off criteria`. Apply them. Specific to this step:\n\n   - Under each sub-task, add a checkbox for every sign-off that applies to it — the applicable standard categories plus any feature-specific sign-offs the strategy defined. List only what genuinely applies: a small internal sub-task may need only one box, a risky one may need all of them.\n   - If an omission is one a reader might question, justify it once where it belongs: a feature-wide skip in `## Sign-off strategy`, or a list-wide note at the top of `## Sub-tasks`, after the `▶ NEXT:` line, for a case that recurs across several sub-tasks (e.g. \"sub-tasks 1–2 carry no user review — no user-visible surface until sub-task 3\").\n   - List each sub-task's criteria in the order they will be performed.\n   - For each sub-task that changes both docs and code, decide whether to make it docs-first (**Docs-first sub-tasks** in `FEATUREMODEL.md`). Where it is unclear, ask the user.\n   - For each sign-off, decide whether it needs written steps, and if so whether they go inline or in a file under `features\u002Fplans\u002F\u003Cslug>\u002F`, per `FEATUREMODEL.md`. Where it is unclear, ask the user.\n   - Check whether `## Sign-off strategy` defines any end-of-feature gates (e.g. one feature-wide `\u002Freview-branch`, one `\u002Freview-docs` pass, a final user review). If it does, add them as the last sub-task, named **\"Final sign-off criteria\"**, one checkbox per gate — never spread across earlier sub-tasks and never left as strategy prose alone. If the strategy defines no such gates, do not add this sub-task; an empty or placeholder final sub-task is exactly the untickable-box case the conventions rule out.\n\n   Example — a docs-first sub-task, in which the user reviews the documented syntax before the parser is written:\n\n   ```\n   ### 3. Add the config parser\n\n   Document the new config format, then parse it.\n\n   - [ ] Documentation: config docs describe the new syntax\n   - [ ] Docs review (user): user confirms the config syntax as documented, before the parser is written\n   - [ ] Testing: unit tests for the parser, passing\n   - [ ] Code review (agent): \u002Freview-component the parser\n   ```\n\n   Final sub-task example — added only because the strategy in this case defined\n   these four gates; a feature whose strategy defines none gets no such sub-task:\n   ```\n   ### 6. Final sign-off criteria\n\n   End-of-feature gates for this feature, per `## Sign-off strategy`.\n\n   - [ ] Testing (dry-run): representative walkthrough recorded in NOTES.md\n   - [ ] Code review (agent): \u002Freview-branch over all changed files; findings resolved or dismissed\n   - [ ] Docs review (agent): \u002Freview-docs over the change, all kinds\n   - [ ] User review: user confirms the feature matches intent\n   ```\n\n> Step 7 below is near-identical in `feature-spec` and `feature-design`. If you change the review invocation, the finding-handling rules, the two-invocation cap, the unattended-mode gate, or the `## Review record` format, update both — a silent divergence in the unattended gate is the worst case, since it governs when human sign-off is bypassed. If you add or remove a finding marker, update both agents' `## Output Format` too: the markers are the contract between them.\n>\n> **One deliberate exception:** 7f's spec-amendment bullet is `\u002Ffeature-design`-only and has no counterpart in `feature-spec`, because only this skill can amend `## Spec`. It is a pointer to step 9, not a rule of its own, so the gate's substance stays parallel. Do not \"restore parity\" by deleting it or by copying it into `feature-spec`.\n\n7. **Have the design reviewed before the user sees it.** The point is that the user spends their attention on judgement calls, not on catching gaps an agent can catch.\n\n   a. **Skip only on an explicit instruction.** Check `$ARGUMENTS` for a skip instruction — `--no-review`, \"skip review\", \"no design review\" or similar — and honour the user declining if they raise it while the skill is running. If the review is skipped, go straight to step 8 and say plainly there that it did not run. Absent such an instruction, the review happens.\n\n   b. Call @feature-design-reviewer with the path of the plan file.\n\n   c. **Act on the findings by their marking, not their severity.** Each finding is marked `[rewrite]` or `[decision]`:\n      - `[rewrite]` — fix it yourself in the plan file. These are writing-quality faults: a decision recorded without its reasoning, a criterion that is not auditable, a requirement no sub-task covers, a sub-task that is really three.\n      - `[decision]` — **do not resolve it by choosing.** Carry it to step 8 as a question for the user. Guessing here is precisely the failure the review exists to prevent, and a plausible-looking guess is worse than an open question because nobody knows it was made.\n      - MINOR and SUGGESTION findings: apply the ones that are clearly right, and mention the rest rather than acting on them. Where one carries a `[decision]` marking, frame it to the user as an observation worth their answer rather than a blocking objection — but note that it still stops an unattended run under 7f, because the gate does not grade questions by severity. A small question is still a question.\n\n      If a finding marked `[decision]` turns out to rest on a fact you can establish rather than a judgement the user must make — the reviewer asks whether a component exists, and you can read the code and see — establish it and say you did. Do not manufacture a question you can answer. The distinction is judgement versus lookup, not who noticed it.\n\n   d. If your rewrites went beyond minor wording — you restructured the design, rewrote a sub-task or its criteria, or reordered the breakdown — call the agent once more. **Two invocations per run is the cap** — stop after the second whatever it says, and report anything still outstanding to the user in step 8. Do not spend the second pass when every outstanding finding is `[decision]` and waiting on the user: re-reviewing unchanged questions cannot change the verdict, and the user is the one who has to answer.\n\n   e. Note the final verdict (`READY FOR USER REVIEW` or `NEEDS WORK`) to report in step 8. If the agent fails, returns nothing, or returns findings with no verdict line, treat the result as `NEEDS WORK` and say in step 8 that the review did not complete and why — an absent verdict is not a pass.\n\n   f. **Unattended mode.** If the user has told you to run without checking in — \"don't stop for me\", \"work through the feature unattended\", or an autonomy boundary agreed with `dev-process-manager` that covers this stage — then the agent's verdict stands in for their sign-off, but only where it is unambiguous:\n\n      - **Proceed without pausing only if** the final verdict is `READY FOR USER REVIEW` **and** no finding was marked `[decision]`. A finding counts here if the *agent* marked it `[decision]`, even where you settled it by lookup under 7c: establishing a fact records what was true, it does not overturn the reviewer's judgement that the artefact needed an answer. Where every blocking `[decision]` was settled that way, say so plainly when you stop: what you established, that there is nothing for the user to decide, and that you stopped because the reviewer's doubt about the artefact stands.\n      - **Otherwise stop and ask**, exactly as step 8 describes. `NEEDS WORK`, or any `[decision]` finding, overrides the instruction to keep going. An autonomy boundary is permission to skip a *routine confirmation*; it is not permission to answer a question that is the user's to answer.\n      - **A skipped review cancels unattended mode**: with no review there is no verdict to stand in for the user's judgement, so stop and ask. The two instructions do not compound into \"proceed with nothing checked\".\n      - **A proposed spec amendment stops the run independently of the verdict.** This is the one stop condition no verdict can express: if step 9 has raised an amendment to `## Spec` that the user has not approved, you may not proceed here, however clean the review came back. The reviewer judges the design against the spec as written, so a clean verdict says nothing about a change to the spec itself. See step 9d.\n      - **Proceeding here means implementation may begin** without the user having seen the design. Use the unattended form of the `## Review record` line in step 8, *also* note it in the `## Handoff` section's session summary so a resuming session knows the design is unreviewed by a human without having to look for the record, and say in your report that you proceeded unattended and on whose instruction.\n\n   If the reviewer contradicts something the user has already settled, say so rather than quietly re-opening it: the user's decision stands, and the finding is worth a sentence, not a rewrite.\n\n8. Summarise the design and sub-task plan to the user, and **present each sub-task's sign-off criteria for them to agree or adjust** — this is where the user signs off on what each sub-task must satisfy before it counts as done. Update the criteria to match what they settle on.\n\n   *In unattended mode (step 7f), where the verdict permitted you to proceed, still produce this report — the user reads it after the fact rather than before. What changes is that you do not wait for a reply; what does not change is that they are told everything they would have been told. The sign-off criteria are frozen as the reviewer saw them, and the unattended form of the `## Review record` line is what tells a resuming session that no human adjusted them.*\n\n   Include with that summary:\n   - what the review changed, in a line or two — not a transcript of its findings;\n   - every `[decision]` finding, as a question they need to answer;\n   - any question *you* could not settle from the requirements, whether or not the review raised it, recorded in the plan file's Handoff section as well — a skipped review does not mean there is nothing to ask;\n   - the sign-off choices you made, so the user can see they were explicit: which sub-tasks you made docs-first, and for each sign-off with written steps whether they are inline or in a separate file under `features\u002Fplans\u002F\u003Cslug>\u002F`;\n   - any MINOR or SUGGESTION finding you did not apply, in brief — enough that the user knows it was raised, not a transcript;\n   - the verdict, or a plain statement that the review was skipped and on whose instruction.\n\n   **Record what happened in the plan file, in every case.** Append one line to the `## Review record` section at the end of the plan file, creating the section if `\u002Ffeature-spec` did not. Write the line whether the review ran, was skipped, or accepted the design unattended: the section is the durable evidence of what has and has not been checked, and a record that exists only when something happened cannot be trusted to show that nothing did. Append beneath the spec-stage line rather than replacing it — the record is the feature's review history, not its current state.\n\n   ```\n   - 2026-07-20 — Design reviewed by `feature-design-reviewer`: VERDICT: NEEDS WORK. Presented to the user for sign-off, with 2 open questions.\n   - 2026-07-20 — Design review: N\u002FA — skipped on the user's instruction. Presented to the user for sign-off, unreviewed.\n   - 2026-07-20 — Design reviewed by `feature-design-reviewer`: VERDICT: READY FOR USER REVIEW. Accepted unattended; no human has read this design.\n   ```\n\n   (Those are the three forms, not three lines to write — use the one that describes this run. The first form carries whichever verdict the review returned; a `VERDICT: READY FOR USER REVIEW` run is recorded the same way, without the trailing count of open questions.)\n\n   Implementation is a separate step with no slash command of its own — *do not start implementing without user confirmation*, unless step 7f's unattended gate was satisfied and the agreed autonomy boundary covers implementation as well as design. Passing the gate is permission to proceed *without waiting*; it is not permission to exceed the boundary the user set.\n\n9. **If design work shows the spec itself is wrong, incomplete, or impossible as written, you may amend `## Spec` — but never silently.** This can come up at any point while researching or writing the design (steps 3–6): design legitimately turns up problems the spec did not anticipate — the canonical case is \"this cannot be done exactly as specced, but a cheap 99% alternative is X\" — and `\u002Ffeature-design` is not frozen out of acting on that. This step is deliberately separate from steps 7 and 8 above: those two are near-identical to `feature-spec`'s equivalent steps by design, and a spec amendment is a `\u002Ffeature-design`-only event that has no counterpart there.\n\n   a. Edit `## Spec` to the corrected text. Where the amendment adds, rewords or removes a numbered requirement, follow the stable-numbering rule in the `Spec` entry under `### Documents to support the model` in `features\u002FFEATUREMODEL.md`; do not renumber the requirements that are already there.\n\n   b. **Put the amendment to the user for approval**, framed as either \"this is uncontroversial, please confirm\" or \"I think the spec should change, is this acceptable\" — whichever the change warrants. If the amendment surfaces while you are still researching or writing the design, raise it as soon as you make it rather than holding it back; if it lands at the same time as the design summary in step 8, fold it into that report instead of asking twice.\n\n   c. **Log the amendment in `## Review record`** once approved — its own line, separate from the three verdict forms in step 8, recording what changed, why, and that the user approved it:\n\n      ```\n      - 2026-07-20 — Spec amended during design, with the user's approval: \u003Cwhat changed and why>.\n      ```\n\n   d. **In unattended mode, a proposed amendment stops the run**, on the same principle as a `[decision]` finding under step 7f — it is a question that is the user's to answer, not a routine confirmation an autonomy boundary can cover. Stop and ask, exactly as step 8 describes, and do not proceed on the amended spec until the user has approved it.\n",{"name":5,"description":7,"argument-hint":45},[46],"feature name or slug","main","3af5e96e991385c47f6d792f323ba4d44b4a7caa","devproc\u002Fskills\u002Ffeature-design",0,"https:\u002F\u002Fgithub.com\u002Fplwhite\u002Fclaudeplugins","https:\u002F\u002Fgithub.com\u002Fplwhite","2026-11-01 21:12:04",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add plwhite\u002Fclaudeplugins --skill feature-design",{"tool":60,"command":61},"bunx","bunx skills add plwhite\u002Fclaudeplugins --skill feature-design",{"tool":63,"command":64},"pnpm","pnpm dlx skills add plwhite\u002Fclaudeplugins --skill feature-design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fplwhite\u002Fclaudeplugins\u002Fblob\u002Fmain\u002Fdevproc\u002Fskills\u002Ffeature-design\u002FSKILL.md",true,[],[69,79,84,93,101,128],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":40},"01M6NJZNMTFQ12V28AKWC6K6VA","greet","Greet a person by name using the greeter tool","https:\u002F\u002Fgithub.com\u002Fplwhite\u002Fclaudeplugins\u002Fblob\u002Fmain\u002Ftests\u002Fdevproc\u002Freview-docs\u002Ffixture\u002Fchange\u002Fskills\u002Fgreet\u002FSKILL.md",[],[71,76,77,36,78],"tool","greeter","person",{"skillNo":80,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":40},"01M6NJZHFSET5D7Y55Q5392JGR","https:\u002F\u002Fgithub.com\u002Fplwhite\u002Fclaudeplugins\u002Fblob\u002Fmain\u002Ftests\u002Fdevproc\u002Freview-docs\u002Ffixture\u002Fbaseline\u002Fskills\u002Fgreet\u002FSKILL.md",[],[71,78,36,77,76],{"skillNo":85,"name":86,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":40},"01M6NJZDKAYGVR4Y6TPSMFNARD","review-full","https:\u002F\u002Fgithub.com\u002Fplwhite\u002Fclaudeplugins\u002Fblob\u002Fmain\u002Fdevproc\u002Fskills\u002Freview-full\u002FSKILL.md",[],[90,91,92],"review","full","review full",{"skillNo":94,"name":95,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":40},"01M6NJZACEJV6ET66CSGT3JZHF","review-docs","https:\u002F\u002Fgithub.com\u002Fplwhite\u002Fclaudeplugins\u002Fblob\u002Fmain\u002Fdevproc\u002Fskills\u002Freview-docs\u002FSKILL.md",[],[90,99,100],"docs","review docs",{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":110,"publishedAt":40},"01M6NJZ359VNFGGC5YYCDB5V7P","review-component","Code review scoped to a described component or area — resolves the description to files, then runs simplicity, general, and nitty agents; auto-applies code-level findings until convergence; escalates architectural findings for user confirmation","https:\u002F\u002Fgithub.com\u002Fplwhite\u002Fclaudeplugins\u002Fblob\u002Fmain\u002Fdevproc\u002Fskills\u002Freview-component\u002FSKILL.md",[107],{"categoryNo":108,"categoryName":109,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000007","代码审查",[111,112,90,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127],"review component","component","scoped","for","convergence","module","general","files","auto","simplicity","user","confirmation","src","payments","code","auth","code review",{"skillNo":129,"name":130,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":40},"01M6NJYYMDJ6QGSTNXVV3GWGRW","review-branch","https:\u002F\u002Fgithub.com\u002Fplwhite\u002Fclaudeplugins\u002Fblob\u002Fmain\u002Fdevproc\u002Fskills\u002Freview-branch\u002FSKILL.md",[],[134,90,135],"branch","review branch"]