design-html

Convert approved AI mockups into Pretext-native HTML/CSS with dynamic layouts.

Updated Dec 22, 2019
One-click install
npx skills add https://github.com/sajalsuhane/sajalsuhane.github.io --skill design-html-sajalsuhane
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-html
Source: https://github.com/sajalsuhane/sajalsuhane.github.io/tree/main/.claude/skills/gstack/design-html
Command: npx skills add https://github.com/sajalsuhane/sajalsuhane.github.io --skill design-html-sajalsuhane

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Design finalization: takes an approved AI mockup from /design-shotgun and generates production-quality Pretext-native HTML/CSS. Text actually reflows, heights are computed, layouts are dynamic. 30KB overhead, zero deps. Smart API routing: picks the right Pretext patterns for each design type.

Core Features & Use Cases

  • Convert approved mockups into production-ready HTML/CSS with responsive behavior.
  • Dynamically compute heights and layout constraints to maintain editorial integrity.
  • Use Pretext routing to select patterns per design type, with a zero-dep production path when vendor bundle is available.

Quick Start

Approve a design in /design-shotgun and run the HTML generation to produce production-ready output.

Frequently Asked Questions about design-html

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

FAQPage Schema
How do I convert an approved mockup into production-ready HTML?

Generating production-ready HTML from an approved mockup requires Pretext routing and a lightweight HTML engine. The Skill produces zero-dependency HTML/CSS with dynamic layouts and height-aware rendering for responsive design finalization.

What is Pretext-native HTML generation for design finalization?

Pretext-native HTML generation is a finalization workflow that turns approved AI mockups into production-quality code. It applies smart API routing to select design patterns, ensuring layouts remain dynamic with computed heights and zero external dependencies.

Can I use this HTML generation process without external dependencies?

Generating HTML without external dependencies is supported when a vendor Pretext bundle is available. The Skill uses a lightweight HTML engine with an optional CDN fallback, adding only 30KB overhead while maintaining zero-dependency production paths.

Does design-to-HTML conversion support dynamic height computation?

Design-to-HTML conversion supports dynamic height computation to maintain editorial integrity. This height-aware rendering ensures text reflows correctly and layout constraints adapt across responsive behaviors in the final production-ready HTML output.

What are the limitations of generating Pretext-routed HTML from mockups?

Generating Pretext-routed HTML from mockups requires a vetted mockup from an approved design source. Without proper Pretext routing and a lightweight HTML engine, the generation cannot produce valid dynamic layouts, height-aware rendering, or zero-dependency output.