/write-spec
Draft a feature spec from existing discovery artifacts, following the feature-specs skill.
Input: $ARGUMENTS
Workflow
Resolve the bet. If the arguments name a feature idea or an insight file, start there. Otherwise read the recent files in
product/insights/, propose the insight that looks highest-impact as the one to bet on, and confirm with the user before proceeding.Load the evidence. Read
product/overview.md(belief registry included — beliefs already registered for this feature or the product bear on the bet), the personas inproduct/personas/relevant to the chosen insight, the interview transcripts the insight cites, and any market research inproduct/research/that bears on the bet. Identify the primary persona for the journey and confirm the choice if it isn't obvious.Draft per the
feature-specsskill: problem with cited evidence, user journey from the primary persona's point of view, 3–5 critical user stories with observable acceptance criteria, the falsifiable hypothesis block, and assumptions. Where the evidence is thin, the claim becomes an assumption — never invent quotes or journey steps.Present and iterate. Show the draft; walk the user through the journey and the hypothesis in particular (those carry the most judgment). Adjust until they own it — the spec is their bet, not the agent's.
Register the assumptions in the overview — the spec keeps no list of its own.
product/overview.mdis the single belief registry. Reuse the feature slug from the idea brief when the spec descends from one; otherwise use the spec's slug. For each assumption: already registered → the spec's Assumptions section references it; new → propose appending[feature: {slug}] [risk] {assumption}to the overview's unverified beliefs — risk classified per thefeature-specsskill's four categories, with their default owners — and write nothing without the user's approval.Save to
product/specs/{YYYY-MM-DD-HHMM}-{slug}.mdand suggest the natural next step in one line: run the critique panel over it (/critique-spec).