What problem does it solve?
This Skill converts a downloaded design spec Markdown file into a faithful single-file HTML showcase, removing the need to manually recreate tokens, typography, layout, and component examples.
Core Features & Use Cases
- Spec-driven HTML generation: Reads a design system MD file and renders its color, typography, spacing, component, and surface guidance into a polished showcase page.
- Strict compliance checks: Enforces spec rules such as token-based styling and the prohibition on left accent borders, then validates the output for consistency.
- Single-file deliverable: Produces one self-contained HTML file suitable for sharing, reviewing, or benchmarking a design system.
- Use Case: A designer downloads a refero.design spec and asks for a showcase page to present the system with real examples, swatches, and type scales.
Quick Start
Use the design2html skill on a spec Markdown file to generate a single-file HTML showcase that matches the design system exactly.