界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
设计与创意 · SKILL.md

design-html

design-html

【设计与创意】Implement designs as production-ready HTML/CSS with pixel-level fidelity. Garry Tan's design-html skill — translates mockups, Figma specs, or design descriptions into clean, semantic, accessible HTML output.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: design-html description: | Implement designs as production-ready HTML/CSS with pixel-level fidelity. Garry Tan's design-html skill — translates mockups, Figma specs, or design descriptions into clean, semantic, accessible HTML output. triggers:

  • "design html"
  • "design to HTML"
  • "implement design"
  • "mockup to code"
  • "HTML from design"
  • "production HTML" das: category: figma-code upstream: "https://github.com/garrytan/gstack" upstream_path: "design-html/SKILL.md" version: latest install: true

design-html

Catalogue stub — full skill: garrytan/gstack

Decision tree

  1. Is the full skill already installed? Check whether the skill at this location still has a das: block:

    • Global: grep -q "^das:" ~/.agents/skills/design-html/SKILL.md 2>/dev/null && echo "pointer" || echo "installed"
    • Project: grep -q "^das:" .agents/skills/design-html/SKILL.md 2>/dev/null && echo "pointer" || echo "installed"
    • No das: block → full skill installed, invoke it and proceed
    • das: block present → go to step 2
  2. Detect scope, then install:

    To detect scope:

    [ -e ~/.agents/skills/design-html ] && echo "global" || echo "project"
    

    Global (installed with -g):

    npx skills add garrytan/gstack --skill design-html -g -y
    

    Project (installed without -g):

    npx skills add garrytan/gstack --skill design-html -y
    

    Claude Code: send either command as a chat message starting with ! to run it without leaving the conversation.

Invoke after install

  • Skill name: design-html
  • Trigger phrases: "design html", "design to HTML", "implement design", "mockup to code"

What it does

Translates design specs, mockups, or Figma descriptions into production-ready HTML/CSS with pixel-level fidelity. Part of Garry Tan's gstack — focused on faithful implementation that preserves typographic choices, spacing relationships, and visual hierarchy from the design source.

我的收藏