/ 目錄 / 演練場 / Huashu Design
● 社群 alchaincyf ⚡ 即開即用

Huashu Design

作者 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.

為什麼要用

核心特性

即時演示

實際使用效果

就緒

安裝

選擇你的客戶端

~/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
    }
  }
}

開啟 Claude Desktop → Settings → Developer → Edit Config。儲存後重啟應用。

~/.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 使用與 Claude Desktop 相同的 mcpServers 格式。專案級設定優先於全域。

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
    }
  }
}

點擊 Cline 側欄中的 MCP Servers 圖示,然後選 "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
    }
  }
}

格式與 Claude Desktop 相同。重啟 Windsurf 生效。

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

Continue 使用伺服器物件陣列,而非映射。

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

加入 context_servers。Zed 儲存後熱重載。

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

一行命令搞定。用 claude mcp list 驗證,claude mcp remove 移除。

使用場景

實戰用法: Huashu Design

Rapidly prototype a product landing page in HTML

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

何時使用: You have a brief and want a clickable, measurable prototype, not a static mock.

前置條件
  • Skill installed — git clone https://github.com/alchaincyf/huashu-design ~/.claude/skills/huashu-design
步驟
  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.✓ 已複製
    → Layout plan cites specific principles applied
  2. Build
    Produce HTML/CSS. Single file. Responsive. No JS frameworks.✓ 已複製
    → 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?✓ 已複製
    → Critical self-review, not hype

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

注意事項
  • Skill reverts to generic "hero + features + CTA" template — Pin the style ref (Swiss, Bauhaus, editorial) in every prompt
搭配使用: filesystem

Build an animated explainer and export to MP4

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

何時使用: You want an 30-second explainer for your product but can't justify After Effects.

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

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

注意事項
  • Fonts render differently in headless Chrome — Bundle web fonts; don't rely on system fonts
搭配使用: filesystem · after-effects

組合

與其他 MCP 搭配,撬動十倍槓桿

huashu-design-skill + after-effects

Storyboard in HTML, finish in AE for broadcast quality

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

Save iterations alongside the brief

Create /designs/landing-v1/ through v3/ and keep both.✓ 已複製

工具

此 MCP 暴露的能力

工具輸入參數何時呼叫成本
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

成本與限制

運行它的成本

API 配額
N/A
每次呼叫 Token 數
High-fi designs produce a lot of HTML — keep scope tight
費用
Free
提示
Generate in small passes: structure first, styling second, polish third

安全

權限、密鑰、影響範圍

最小權限: filesystem-write
憑證儲存: None
資料出站: None

故障排查

常見錯誤與修復

MP4 render fails (ffmpeg missing)

brew install ffmpeg — the skill uses it for frame stitching

驗證: `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"

替代方案

Huashu Design 對比其他方案

替代方案何時用它替代權衡
cc-frontend-skillYou want an opinionated voice rather than a methodologyLess structured review process
FigmaTeam workflow requires FigmaNot code; not animatable the same way

更多

資源

📖 閱讀 GitHub 上的官方 README

🐙 查看未解決的 issue

🔍 瀏覽全部 400+ MCP 伺服器和 Skills