Creates or saves feature specs and implementation plans, automatically persists the last approved planning artifact before execution, and scaffolds feature documentation for delivery.
When triggered, translate the user's request into one or both of these artifacts:
feature-spec.md for product definitionimplementation-plan.md for technical executionDo not mix them by default. Create both only when both are actually needed.
Choose the artifact type before drafting.
feature-spec.md whenimplementation-plan.md whenWhen both are needed, produce them sequentially:
feature-spec.mdimplementation-plan.mdThis skill must behave differently depending on the active collaboration mode.
<proposed_plan> only.feature-spec.md or implementation-plan.mdfeature-spec.md artifact first.<proposed_plan> as the canonical content to be saved verbatim once Plan Mode ends.<proposed_plan> from the immediately preceding planning turn, treat it as the source of truth.<proposed_plan> verbatim to the target file.reviews/ if needed.When saving an approved artifact generated in Plan Mode:
<proposed_plan>If the user's prompt is too brief, gather enough context to determine:
Once you have enough context, determine the canonical feature path and file naming:
03-shopping-cart)./docs/features/[feature-name]/./docs/features/[feature-name]/feature-spec.md for product-definition artifacts./docs/features/[feature-name]/implementation-plan.md for technical execution artifacts.Only scaffold directories and files in Default mode.
Generate a decision-complete artifact that can be saved without rewording.
Use:
docs/templates/feature-spec.md for feature-spec.mddocs/templates/implementation-plan.md for implementation-plan.mdIn Plan Mode:
<proposed_plan>In Default mode:
After the feature folder and canonical artifact file are created in Default mode:
/docs/STATUS.md exists.### Current Milestones or ### Backlog list as [ ] [Feature Name] (Ref: /docs/features/[feature-name]/[canonical-file-name]).