design-html

Convert approved AI mockups into Pretext-native HTML and CSS.

2|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/jayzalowitz/skytwin --skill design-html-jayzalowitz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-html
Source: https://github.com/jayzalowitz/skytwin/tree/main/.claude/skills/gstack/design-html
Command: npx skills add https://github.com/jayzalowitz/skytwin --skill design-html-jayzalowitz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Approving a design is not enough if it can't be turned into working front-end code. This skill translates approved AI mockups into production-quality Pretext-native HTML/CSS, ensuring fidelity and responsiveness across devices.

Core Features & Use Cases

  • Generate production-ready HTML and CSS from an approved design mockup.
  • Apply design-type aware routing to select the right Pretext patterns for each layout.
  • Enforce branding tokens and fonts from the DESIGN.md during HTML generation.

Quick Start

Run the design-html workflow to convert the approved mockup into a standalone HTML file.

Frequently Asked Questions about design-html

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert approved design mockups into production-ready HTML?

To convert approved mockups into production-ready HTML, this skill processes designs from the /design-shotgun directory and generates standalone HTML and CSS files. It uses design-type aware routing to select appropriate Pretext patterns for each layout.

What is Pretext-native HTML and how does it handle responsive design?

Pretext-native HTML is output generated using the Pretext engine and design tokens from DESIGN.md. It ensures responsive behavior across devices by applying design-type aware routing to select the correct Pretext layout patterns for the generated CSS.

Do I need the Pretext engine and DESIGN.md tokens to generate HTML from mockups?

Yes, you need the Pretext engine and tokens from DESIGN.md to generate HTML. The skill enforces branding tokens and fonts during generation, relying on these prerequisites to ensure design fidelity in the final output.

How do I handle vendor inlining or CDN fallback when generating HTML?

Vendor inlining is applied automatically when available, with a CDN fallback used when it is not. This ensures the generated production-ready HTML maintains necessary external dependencies without manual configuration.

What's the best way to automate frontend code generation from AI mockups?

Automating frontend code generation from AI mockups is handled by running the design-html workflow on approved designs in /design-shotgun. It routes designs through Pretext patterns to output standalone, production-ready HTML and CSS files.

Why does my generated HTML need design-type aware routing for Pretext patterns?

Design-type aware routing is needed to select the right Pretext patterns for each specific layout. It ensures the generated HTML accurately matches the original approved mockup and maintains proper responsive behavior across different device sizes.