mock
Installation
SKILL.md
/mock — Iterative HTML Mockup Generation
Requires
DESIGN.mdandPRODUCT.mdin the project root (produced by/design-init). Run/design-initfirst if they don't exist.
What This Skill Does
- Reads context — loads
DESIGN.mdandPRODUCT.mdas non-negotiable ground truth. - Accepts a brief — the user describes what screen or page they need.
- Conditionally interviews back — if the brief is thin/ambiguous, asks 3–6 targeted questions before generating anything.
- Produces 2–3 HTML iterations — each a different approach (layout strategy, density, hierarchy emphasis). All use only tokens from DESIGN.md.
- Visually reviews each iteration — renders in a real browser via agent-browser, catches rendering issues, validates against design principles, and fixes problems before the user ever sees them.
- User picks one — chosen iteration is frozen as a production-viable scaffold in
accepted/.
Output Rules
Related skills