Create mockup
create-mockupCreate a lofi wireframe mockup — a static sketch of a screen or short flow, attached to a spec so readers see what the words mean. Markup is JSX with every value fixed, written to the mockup dialect: fetch mockup-guide before composing your first mockup. Pass 'document' to attach the mockup to a spec in the same call. A refusal lists every problem with its line — fix them all and retry once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | The mockup's title | |
| markup | Yes | The mockup markup: <Screen id="...">...</Screen> elements | |
| project | Yes | The project target: its slug (find it with list-projects), e.g. 'acme-checkout' | |
| document | No | Optional: a document target in the same project to attach the mockup to |