Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Update an existing plan document.
Instructions: $ARGUMENTS
- List all plans in
docs/plans/(excluding_template.md) - Identify the relevant plan based on the instructions
- Read the current plan content
- Apply the requested changes while preserving the document structure
- Resolve open questions interactively before finishing — see below
- Update the
Last updateddate - If status changed, update the plan's status accordingly
- Mirror the change to the plan's trackers — see below
Resolving open questions (required)
Never leave a plan sitting on unresolved open questions after an edit. Before
finishing, check the plan's Open Questions section and use the
AskUserQuestion tool to settle anything the author can decide now — both
questions that were already there and any your changes introduced.
- Ask them together in one call where possible (the tool takes up to 4 questions), so the author sees the whole decision surface at once.
- For each question give 2–4 concrete options, not an open prompt. Lead with
your recommendation and mark it
(Recommended). - Use the
previewfield to show the actual shape of each option — the code, the config, or the schema it implies. - State the cost of each option in its description, not just what it does.
Then fold the answers back into the plan:
- Move each resolved question out of Open Questions into Key Decisions, phrased as a decision with its date and the reasoning that settled it.
- Record any accepted trade-off explicitly, and if it constrains how other code must be written, add it to Constraints on Current Work.
- Leave Open Questions holding only genuinely deferred items, each with a note on what would unblock it.
- If the last blocking question is now settled, move the status off
Draft.
If a question genuinely cannot be answered yet — it depends on work that hasn't landed, or on information nobody has — say so and leave it deferred with the reason. That is a resolution too; silently leaving it unexamined is not.
Keeping the trackers in step (required)
The plan's **Tracking:** header names its Linear issue and its GitHub
issue. After editing the plan, make the trackers say the same thing the plan
now says. The shape of both issues, the milestone mapping and the fallbacks
when a tool is unavailable are described in /project:create-plan under
"Tracking the plan in Linear and GitHub"; read that section rather than
inventing a variant here.
- Target changed (the plan moved to another release): move the Linear
issue to milestone
X.Yand the GitHub issue to milestonevX.Y, creating either milestone if it is missing. - Status changed: set the Linear issue's status through the mapping in
/project:create-plan(Implemented→ Done,Superseded→ Canceled, and so on). Close the GitHub issue when the plan becomes Implemented or Superseded; reopen it if the plan goes back to In Progress. - Title changed: rename both issues to the new H1.
- Summary, dependencies or migration steps changed: refresh the issue
descriptions with the
patchoperations onsave_issue, and edit the GitHub body withgh issue edit, so a reader of either tracker sees the current design. - The header has no trackers (a plan written before this rule, or one
marked
Linear —/GitHub —): create the missing tracker now following/project:create-plan, and fill the header in.
If the Linear MCP tools are not available in this session, update GitHub only, leave the Linear half of the header as it was, and say in the final message what still needs doing by hand.
Recording decisions
When an update settles something significant — a reversal, a cross-plan
constraint, or a decision other plans will need to reference — also add a dated
entry to docs/plans/decisions.md, and add a superseding note to any other plan
whose Key Decisions this contradicts. A decision that lives in only one plan
will be missed by whoever reads the other one.