Agent skill

gstack Design HTML Skill: Pretext Native HTML and CSS

The design-html skill from gstack turns an approved mockup, a plan or a plain description into production quality HTML and CSS built on Pretext, with text that reflows and computed heights.

Install
git clone --single-branch --depth 1 https://github.com/garrytan/gstack.git ~/.claude/skills/gstack && cd ~/.claude/skills/gstack && ./setup
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the design-html skill?

The gstack design-html skill finalizes a design as HTML and CSS built on Pretext. It accepts approved mockups, CEO plans, design review context or a plain description, then writes pages where text reflows, heights are computed and layouts stay dynamic, with 30KB of overhead and zero dependencies.

design-html is the finalization step among gstack's design skills. Its one line description promises production quality Pretext native HTML and CSS, and its folder includes a vendored pretext.js file that the generated pages inline.

The skill text says text actually reflows, heights are computed and layouts are dynamic. It also quotes 30KB of overhead and zero dependencies, and it writes one page per invocation.

What it can start from

  • Approved mockups from the design-shotgun skill in the same collection.
  • CEO plans produced by plan-ceo-review.
  • Design review context from plan-design-review.
  • A plain description from you, when nothing earlier exists.

What it does with the input

  • Smart API routing picks the right Pretext patterns for each design type.
  • It uses section files for doctrine, Pretext patterns and a detector install offer.
  • It writes one page per invocation.
  • It asks questions through AskUserQuestion before committing to choices.

Who the design-html skill is for

Best for

  • Builders who have an approved mockup and want working HTML and CSS from it.
  • Teams that want a small, dependency free page.
  • Anyone saying build the design, code the mockup or make design real.

Not for

  • Exploring options. The design-shotgun skill handles variants before you finalize.
  • A design token pipeline. The skill only offers to extract tokens into DESIGN.md, a file that design-consultation also writes.

Use it with UiChemy

The output here is standalone HTML and CSS, not WordPress blocks. If your end goal is a WordPress site, UiChemy accepts raw HTML, CSS and JS as an input and returns editable WordPress in Elementor, Gutenberg or Bricks. Click Get Started on uichemy.com.