What problem does it solve?
Building HTML that actually works correctly is hard. CSS approximations fail when text reflows, heights need to be computed, and layouts must be dynamic. This Skill eliminates the gap between design mockups and production code by generating HTML where text truly reflows, heights adjust automatically, and layouts adapt to content.
Core Features & Use Cases
- Pretext-Native Generation: Produces 30KB of zero-dependency HTML/CSS using the Pretext layout engine for pixel-perfect text rendering.
- Multiple Input Sources: Works with approved mockups from design-shotgun, CEO plans from plan-ceo-review, design review context, or a simple user description.
- Smart Pattern Routing: Automatically selects the right Pretext patterns for different design types including cards, chat bubbles, editorial spreads, and responsive interfaces.
- Use Case: A product designer approves a homepage mockup in design-shotgun. Use this Skill to instantly generate production-ready HTML that handles dynamic content, varying text lengths, and mobile responsiveness without manual CSS tweaking.
Quick Start
Use the design-html skill to turn the approved marketing page mockup into a production-ready HTML file with dynamic text reflow and computed layouts.