/ Diretório / Playground / Huashu Design
● Comunidade alchaincyf ⚡ Instantâneo

Huashu Design

por alchaincyf · alchaincyf/huashu-design

HTML-native design skill for Claude — high-fidelity prototypes, slides, animations, MP4 export, 20 design principles.

Huashu Design (华术) is a Claude Code skill that treats HTML/CSS as the design canvas. Ship prototypes, slide decks, and animated explainers without Figma. Includes 20 pinned design principles, 5-dimension review, and MP4 rendering. Framework-agnostic; works from a vibe brief.

Por que usar

Principais recursos

Demo ao vivo

Como fica na prática

pronto

Instalar

Escolha seu cliente

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "huashu-design-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/alchaincyf/huashu-design",
        "~/.claude/skills/huashu-design"
      ],
      "_inferred": true
    }
  }
}

Abra Claude Desktop → Settings → Developer → Edit Config. Reinicie após salvar.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "huashu-design-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/alchaincyf/huashu-design",
        "~/.claude/skills/huashu-design"
      ],
      "_inferred": true
    }
  }
}

Cursor usa o mesmo esquema mcpServers que o Claude Desktop. Config de projeto vence a global.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "huashu-design-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/alchaincyf/huashu-design",
        "~/.claude/skills/huashu-design"
      ],
      "_inferred": true
    }
  }
}

Clique no ícone MCP Servers na barra lateral do Cline, depois "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "huashu-design-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/alchaincyf/huashu-design",
        "~/.claude/skills/huashu-design"
      ],
      "_inferred": true
    }
  }
}

Mesmo formato do Claude Desktop. Reinicie o Windsurf para aplicar.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "huashu-design-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/alchaincyf/huashu-design",
        "~/.claude/skills/huashu-design"
      ]
    }
  ]
}

O Continue usa um array de objetos de servidor em vez de um map.

~/.config/zed/settings.json
{
  "context_servers": {
    "huashu-design-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/alchaincyf/huashu-design",
          "~/.claude/skills/huashu-design"
        ]
      }
    }
  }
}

Adicione em context_servers. Zed recarrega automaticamente ao salvar.

claude mcp add huashu-design-skill -- git clone https://github.com/alchaincyf/huashu-design ~/.claude/skills/huashu-design

Uma linha só. Verifique com claude mcp list. Remova com claude mcp remove.

Casos de uso

Usos do mundo real: Huashu Design

Rapidly prototype a product landing page in HTML

👤 Founders, designers preferring code over Figma ⏱ ~60 min intermediate

Quando usar: You have a brief and want a clickable, measurable prototype, not a static mock.

Pré-requisitos
  • Skill installed — git clone https://github.com/alchaincyf/huashu-design ~/.claude/skills/huashu-design
Fluxo
  1. Anchor style
    Use huashu-design. Brief: minimal B2B SaaS landing, Swiss-influenced, serif headings, one accent color. Generate layout plan following your 20 principles.✓ Copiado
    → Layout plan cites specific principles applied
  2. Build
    Produce HTML/CSS. Single file. Responsive. No JS frameworks.✓ Copiado
    → Single-file deliverable that passes basic a11y
  3. 5-dim review
    Run the 5-dimension review on what you just shipped. Where does it fall short?✓ Copiado
    → Critical self-review, not hype

Resultado: A prototype you can A/B test or iterate on without leaving code.

Armadilhas
  • Skill reverts to generic "hero + features + CTA" template — Pin the style ref (Swiss, Bauhaus, editorial) in every prompt
Combine com: filesystem

Build an animated explainer and export to MP4

👤 Devs/creators shipping a product video ⏱ ~120 min advanced

Quando usar: You want an 30-second explainer for your product but can't justify After Effects.

Fluxo
  1. Storyboard
    Use huashu-design. Storyboard a 30s explainer for my product: problem (8s) / solution (14s) / CTA (8s).✓ Copiado
    → Frame-by-frame plan
  2. Animate in HTML
    Implement each scene as a CSS keyframe animation. Render as a single HTML with a timeline.✓ Copiado
    → HTML plays cleanly in browser
  3. Export
    Render to 1080p MP4.✓ Copiado
    → MP4 written to disk; duration matches

Resultado: A shippable MP4 explainer from a prompt, no video editing software.

Armadilhas
  • Fonts render differently in headless Chrome — Bundle web fonts; don't rely on system fonts
Combine com: filesystem · after-effects

Combinações

Combine com outros MCPs para 10× de alavancagem

huashu-design-skill + after-effects

Storyboard in HTML, finish in AE for broadcast quality

Draft in huashu-design; export frames for AE compositing.✓ Copiado
huashu-design-skill + filesystem

Save iterations alongside the brief

Create /designs/landing-v1/ through v3/ and keep both.✓ Copiado

Ferramentas

O que este MCP expõe

FerramentaEntradasQuando chamarCusto
plan_layout brief, style_ref Every new design 0
generate_html plan Build from plan 0
review_5d html Self-review after building 0
render_mp4 html, duration Animated deliverable 0

Custo e limites

O que custa rodar

Cota de API
N/A
Tokens por chamada
High-fi designs produce a lot of HTML — keep scope tight
Monetário
Free
Dica
Generate in small passes: structure first, styling second, polish third

Segurança

Permissões, segredos, alcance

Escopos mínimos: filesystem-write
Armazenamento de credenciais: None
Saída de dados: None

Solução de problemas

Erros comuns e correções

MP4 render fails (ffmpeg missing)

brew install ffmpeg — the skill uses it for frame stitching

Verificar: `ffmpeg -version`
Design looks generic

You didn't pin a style reference — always name one (Swiss, Bauhaus, Pentagram, …)

Review gives happy feedback on bad design

Explicit prompt: "be critical; list what's wrong first"

Alternativas

Huashu Design vs. outros

AlternativaQuando usarTroca
cc-frontend-skillYou want an opinionated voice rather than a methodologyLess structured review process
FigmaTeam workflow requires FigmaNot code; not animatable the same way

Mais

Recursos

📖 Leia o README oficial no GitHub

🐙 Ver issues abertas

🔍 Ver todos os 400+ servidores MCP e Skills