What problem does it solve?
Manually implementing design mockups into HTML/CSS is slow, error-prone, and often results in broken text reflow, incorrect height calculations, and layouts that fail on different screen sizes. This skill eliminates that friction by generating production-quality, Pretext-native HTML/CSS with computed layout that handles dynamic content and responsive resizing automatically.
Core Features & Use Cases
- Pretext-Native Computed Layout: Generates HTML/CSS where text reflows correctly on resize, heights adjust to content, cards and chat bubbles size themselves dynamically, and editorial spreads flow around obstacles, with zero external dependencies and only 30KB overhead.
- Multiple Input Sources: Works with approved mockups from /design-shotgun, CEO product plans from /plan-ceo-review, design review context from /plan-design-review, or from scratch using a simple user description of the desired page.
- Smart Pattern Routing: Automatically selects the correct Pretext patterns for each design type, ensuring consistent, production-ready output without manual configuration.
- Use Case: If your team has approved a new customer dashboard mockup, use this skill to convert it into fully functional, responsive HTML that handles dynamic data entries and viewport resizing without layout breaks.
Quick Start
Use the design-html skill to convert your approved UI mockup into production-ready Pretext HTML/CSS with proper text reflow and dynamic layout support.