design-html

Generate Pretext-native HTML/CSS from approved design mockups and plans.

Updated May 9, 2026
One-click install
npx skills add https://github.com/kk20300113-png/my-claude-skills --skill design-html-kk20300113-png
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-html
Source: https://github.com/kk20300113-png/my-claude-skills/tree/main/design-html
Command: npx skills add https://github.com/kk20300113-png/my-claude-skills --skill design-html-kk20300113-png

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the tedious, error-prone manual work of converting design mockups, product plans, or design review context into production-quality, responsive Pretext-native HTML/CSS, removing the need for manual layout adjustments, dependency-heavy build steps, and inconsistent design implementation.

Core Features & Use Cases

  • Multi-Source Input Support: Works with approved mockups from design tools, CEO product plans, design review context, or even a plain text description of the desired page.
  • Smart Pretext Pattern Routing: Automatically selects the correct Pretext design patterns for each page type, ensuring consistent adherence to your design system without manual configuration.
  • Lightweight, Responsive Output: Generates pages with dynamic text reflow, computed heights, and fully dynamic layouts with only 30KB of overhead and zero external dependencies. Use case: If your team has approved a new homepage mockup in your design review pipeline, this Skill can turn it into a fully functional, responsive Pretext page in seconds, no manual CSS tweaking required.

Quick Start

Use the design-html skill to turn the approved homepage mockup I shared into a production-ready Pretext HTML page.

Frequently Asked Questions about design-html

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

FAQPage Schema
How do I convert a design mockup to production-ready HTML/CSS?

To convert a design mockup to production-ready HTML/CSS, you can use this Skill to automatically generate Pretext-native code from approved mockups, product plans, or plain text descriptions. It handles layout adjustments and ensures responsive output without manual CSS tweaking.

What is the best way to generate responsive HTML layouts without external dependencies?

Generating responsive HTML layouts without external dependencies is achieved by outputting Pretext-native code with only 30KB of overhead. This approach ensures dynamic text reflow, computed heights, and fully dynamic layouts while maintaining a zero dependency build process.

Can I turn a plain text design description into a functional web page?

Yes, you can turn a plain text design description into a functional web page. The Skill accepts multi-source inputs including text descriptions, CEO product plans, and design review context, automatically routing them to the correct Pretext design patterns to build the page.

Does this HTML generation tool support automatic design pattern selection?

This HTML generation tool supports automatic design pattern selection through smart Pretext pattern routing. It analyzes your input mockup or text description and automatically applies the correct Pretext design patterns for each specific page type, ensuring consistent adherence to your design system.

Why does my manually coded layout break when implementing approved designs?

Manually coded layouts break during design implementation due to error-prone manual adjustments and inconsistent CSS application. Using an automated Pretext-native generator eliminates these issues by computing heights and applying dynamic text reflow for consistent responsive pages.