design-html

Convert approved design mockups into self-contained HTML artifacts.

2|2|Updated Dec 1, 2024
One-click install
npx skills add https://github.com/Yaugourt/LiquidTerminal_Back --skill design-html-yaugourt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-html
Source: https://github.com/Yaugourt/LiquidTerminal_Back/tree/main/.agents/skills/gstack/design-html
Command: npx skills add https://github.com/Yaugourt/LiquidTerminal_Back --skill design-html-yaugourt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Bridges the gap between design and code by turning approved design mockups into production-ready HTML that respects typography, spacing, and dynamic layouts without hand-coding from scratch.

Core Features & Use Cases

  • Automates conversion of design mockups into clean, semantic HTML with embedded CSS that reflows correctly on resize.
  • Supports either vanilla HTML or framework-specific output depending on project setup; uses a vendor Pretext bundle when available, with CDN fallback otherwise.
  • Saves all design artifacts under the user’s design stash for cross-branch reuse and audit trail.

Quick Start

Provide an approved mockup and run this skill to generate a self-contained HTML artifact that can be integrated into the frontend.

Frequently Asked Questions about design-html

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

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

You can convert design mockups into production-ready HTML by providing an approved mockup to an automated Pretext pipeline, which analyzes typography, color, and layout to generate semantic HTML with embedded CSS that reflows correctly on resize.

Can I generate framework-specific HTML components instead of vanilla HTML?

Yes, you can generate framework-specific HTML components instead of vanilla HTML. The conversion process checks your project setup and outputs either standard HTML or framework-specific components based on the detected configuration.

What is the best way to automate design-to-development handoff for frontend projects?

Automating design-to-development handoff is best handled by using a Pretext pipeline to bridge the gap, turning approved mockups into production-ready HTML that respects spacing and dynamic layouts without requiring hand-coding from scratch.

Do I need a local vendor bundle to process mockups, or is there a fallback?

You do not need a local vendor bundle to process mockups. The pipeline uses a vendor Pretext bundle when available, and automatically falls back to a CDN Pretext version if the local bundle is unavailable.

Where are generated HTML artifacts saved for cross-branch reuse?

Generated HTML artifacts are saved under the user's design stash at ~/.gstack/projects/designs, ensuring cross-branch reuse and providing a complete audit trail for converted design components.

Why does my converted HTML need to reflow correctly on resize, and how is it handled?

Converted HTML needs to reflow correctly on resize to maintain responsive design integrity. This is handled by analyzing the mockup's dynamic layout and generating self-contained HTML with embedded CSS that adapts properly to viewport changes.