What it is
Expands a vague UI idea into a structured, Stitch-ready prompt: platform, page type, structure, vibe, colours, and component terms, with the design system injected when a DESIGN.md exists. It is for people who prompt Stitch repeatedly. It does not generate screens and does not check the output.
Core workflow
| Stage | Content |
|---|---|
| Trigger | A prompt is too vague, results were poor, or a simple idea needs design-system consistency. |
| Input | The original description and any DESIGN.md in the current project. |
| Steps | Assess what is missing (platform, page type, structure, visual style, colours, components); find and read DESIGN.md; swap colloquial phrases for UI keywords, add adjectives, number the sections, format colours as name (#hex) role; output in a fixed order. |
| Output | A copy-ready enhanced prompt, or next-prompt.md when the user asks for a file. |
| Boundary | Without a DESIGN.md it only suggests one and never invents rules; edit requests change one thing at a time. |
| Getting started: state the platform and page type first, so the other enhancements have a target. |
Traits
- A six-item checklist: platform, page type, structure, visual style, colours, components.
- Emits a DESIGN SYSTEM (REQUIRED) block when DESIGN.md exists, otherwise a tip to create one.
- Colours are written as descriptive name (#hex) for a role.
- Can write next-prompt.md for use with stitch-loop.
Who it is for and who it is not for
| Good fit | Poor fit |
|---|---|
| A design system exists but prompts keep drifting | Wanting screens produced directly |
| Turning one sentence into numbered sections | Analysing an existing interface spec |
| Reusing one consistent prompt opening | Automatically judging generation quality |
How it differs
| Need | Use |
|---|---|
| Only sharpen the idea into words | enhance-prompt |
| Generate a screen from scratch | generate-design |
| Have an injectable spec file first | design-md |
| Set a new visual direction | taste-design |
Source-level risks
| Risk | Source | Impact |
|---|---|---|
| Examples give concrete hex values and radii | The two example blocks | They are easy to copy as a default style |
| Depends on an external prompting guide | Prerequisites link | Advice may be outdated after guide changes |
| Text rewriting only, no verification | allowed-tools lists Read and Write only | Prompt quality still needs testing |
| Reads and echoes DESIGN.md | Step 2 | Sensitive spec content may enter the prompt |
| Writes next-prompt.md by default | Output Options | An existing file of that name may be replaced |