# Business Mockup Contract (Phase 4b) ## What this is In Phase 4b of the `design` flow, the skill generates a **standalone HTML file** that renders the project's actual core surface using the chosen tokens. This file is the user's **final review artifact** before the spec is locked. The user looks at *their own product*, with *their own copy*, in *their own language*, rendered in the candidate design system, and decides whether to ship the spec or iterate. This file is *not* the same as `design-preview-template.html`: | | `design-preview-template.html` | business mockup | |---|---|---| | Purpose | Quick try-on during exploration | Final ship/iterate decision | | Content | Generic surfaces (dashboard / marketing / form / ...) | The user's actual product surface | | Copy | Generic placeholder ("Active users 2,847") | User's domain copy ("待审核投放计划 12 条") | | Language | English placeholder | Project's primary locale | | Iteration | Rewrite JSON config; refresh | Regenerate the HTML when tokens change | | Lifetime | Disposable | Disposable (but kept around per iteration for comparison) | ## Where it lives `/tmp/business-mockup-.html` where `` increments per iteration. Keeping previous iterations lets the user compare side-by-side. ## The contract — what the generated file MUST satisfy ### 1. Single self-contained file - One `.html` file. No external assets except Google Fonts CDN. - All CSS inline in `