guided-plan
Guided Plan
A guided plan explains a change before (or as) it is made. The top of the page has the title, one paragraph, and one-line rows (Decided, Change, Kept, Open) that jump to their sections. Below, each section is one card: on the left a small label, a heading of a few words, one paragraph, then the files and the sources; on the right one large picture, with the section's other points as small cards under it. The left side stays in view while the right side scrolls.
A guided plan is written for engineers unless you say otherwise. For business stakeholders, who shape the product and do not build it, set "audience": "business" and follow section 3.
You write one file, plan.json (plus its screenshots, if any). It is the guided plan's source of truth. The build script in this skill draws everything else: layout, light and dark, the phone layout, the keys. You never write HTML, CSS or script.
1. Ground it
Read before you write a word:
- The change. The plan, the issue, or the PR: its body, its diff, its review comments.
- The reason. What the change answers: a request, a bug, a decision. If nothing says why, write that it is not stated. Do not invent a reason.
- The code as it is, at one commit (the guided plan's
base), for each thing the change touches. Usegit show <commit>:<path>, not your working tree, so your citations stay true. - What a person sees today, when the change has a screen: a screenshot, or the screen's text in the code.
Read only what the change touches. Stop when every claim you will make has a place it came from.