|
@@ -1,11 +1,11 @@
|
|
|
-<sub><b>🌐 English</b> · <a href="README.zh.md">中文</a></sub>
|
|
|
|
|
|
|
+<sub>🌐 <b>中文</b> · <a href="README.en.md">English</a></sub>
|
|
|
|
|
|
|
|
<div align="center">
|
|
<div align="center">
|
|
|
|
|
|
|
|
# Huashu Design
|
|
# Huashu Design
|
|
|
|
|
|
|
|
-> *"Type. Hit enter. A finished design lands in your lap."*
|
|
|
|
|
> *「打字。回车。一份能交付的设计。」*
|
|
> *「打字。回车。一份能交付的设计。」*
|
|
|
|
|
+> *"Type. Hit enter. A finished design lands in your lap."*
|
|
|
|
|
|
|
|
[](LICENSE)
|
|
[](LICENSE)
|
|
|
[](https://skills.sh)
|
|
[](https://skills.sh)
|
|
@@ -13,62 +13,62 @@
|
|
|
|
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
|
|
-**Say one sentence to your agent — Claude Code, Cursor, Codex, OpenClaw, Hermes all work.**
|
|
|
|
|
|
|
+**在你的 agent 里打一句话,拿回一份能交付的设计。**
|
|
|
|
|
|
|
|
<br>
|
|
<br>
|
|
|
|
|
|
|
|
-3 to 30 minutes — you ship a **product launch animation**, a clickable App prototype, an editable PPT deck, a print-grade infographic.
|
|
|
|
|
|
|
+3 到 30 分钟,你能 ship 一段**产品发布动画**、一个能点击的 App 原型、一套能编辑的 PPT、一份印刷级的信息图。
|
|
|
|
|
|
|
|
-Not "decent for AI" quality — it looks like a real design team made it. Give the skill your brand assets (logo, colors, UI screenshots) and it reads your brand's voice; give it nothing and the built-in 20 design vocabularies still keep you out of AI slop territory.
|
|
|
|
|
|
|
+不是「AI 做的还行」那种水平——是看起来像大厂设计团队做的。给 skill 你的品牌资产(logo、色板、UI 截图),它会读懂你的品牌气质;什么都不给,内置的 20 种设计语汇也能兜底到不出 AI slop。
|
|
|
|
|
|
|
|
-**Every animation in this README was made by huashu-design itself.** No Figma, no After Effects — just a sentence + skill run. Next product launch needs a promo video? You can make it too.
|
|
|
|
|
|
|
+**你看到这篇 README 里的每一个动画,都是 huashu-design 自己做的。** 不是 Figma,不是 AE,就是一句话 prompt + skill 跑通。下次产品发布要做宣传片?现在你也能做。
|
|
|
|
|
|
|
|
```
|
|
```
|
|
|
npx skills add alchaincyf/huashu-design
|
|
npx skills add alchaincyf/huashu-design
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
-> 📣 **Now MIT-licensed.** As of 2026-05-14 this skill is fully open-source under the [MIT License](LICENSE) — free for personal **and** commercial use, no authorization required. ([what changed](#license))
|
|
|
|
|
|
|
+跨 agent 通用——Claude Code、Cursor、Codex、OpenClaw、Hermes 都能装。
|
|
|
|
|
|
|
|
-[See it work](#demo-gallery) · [Install](#install) · [What it does](#what-it-does) · [How it works](#core-mechanics) · [vs. Claude Design](#vs-claude-design)
|
|
|
|
|
|
|
+> 📣 **已改为 MIT 协议。** 自 2026-05-14 起本 skill 完全开源([MIT License](LICENSE)),个人和**商用都免费**,无需事先授权。原「个人使用免费、企业商用需授权」的条款已作废。([查看变更](#license))
|
|
|
|
|
|
|
|
-> 📖 **Note for English readers**: this skill is built by a Chinese-speaking developer. The skill's agent prompts (`SKILL.md`, `references/*.md`) are in Chinese but the agent is bilingual — works fine with English tasks. The demos below are the English parallel versions; the Chinese ones are in the default-named files (see the [Chinese README](README.zh.md)).
|
|
|
|
|
->
|
|
|
|
|
-> 📖 **致中文读者**:这个 skill 由花叔(@AlchainHust)开发。一句话能让 agent 在 3–30 分钟内交付**产品发布动画 / 可点击 App 原型 / 可编辑 PPT / 印刷级信息图**。完整中文介绍见 [README.zh.md](README.zh.md)。
|
|
|
|
|
|
|
+[看效果](#demo-画廊) · [安装](#装上就能用) · [能做什么](#能做什么) · [核心机制](#核心机制) · [和 Claude Design 的关系](#和-claude-design-的关系)
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
---
|
|
---
|
|
|
|
|
|
|
|
<p align="center">
|
|
<p align="center">
|
|
|
- <video src="https://github.com/alchaincyf/huashu-design/releases/download/v2.0/hero-animation-v10-en.mp4" autoplay muted loop playsinline width="100%">
|
|
|
|
|
- Your browser doesn't support inline video. <a href="https://github.com/alchaincyf/huashu-design/releases/download/v2.0/hero-animation-v10-en.mp4">Download MP4</a>.
|
|
|
|
|
- </video>
|
|
|
|
|
|
|
+ <img src="https://github.com/alchaincyf/huashu-design/releases/download/v2.0/hero-animation-v10-en.gif" alt="huashu-design Hero · 打字 → 选方向 → 画廊展开 → 聚焦 → 品牌显形" width="100%">
|
|
|
</p>
|
|
</p>
|
|
|
|
|
|
|
|
-<p align="center"><sub>▲ 10-second hero animation showing what huashu-design does (<a href="https://github.com/alchaincyf/huashu-design/releases/download/v2.0/hero-animation-v10-en.mp4">download MP4</a> if autoplay doesn't work)</sub></p>
|
|
|
|
|
|
|
+<p align="center"><sub>
|
|
|
|
|
+ ▲ 25 秒 · Terminal → 4 方向 → Gallery ripple → 4 次 Focus → Brand reveal<br>
|
|
|
|
|
+ 👉 <a href="https://www.huasheng.ai/huashu-design-hero/">访问带音效的 HTML 互动版</a> ·
|
|
|
|
|
+ <a href="https://github.com/alchaincyf/huashu-design/releases/download/v2.0/hero-animation-v10-en.mp4">下载 MP4(含 BGM+SFX · 10MB)</a>
|
|
|
|
|
+</sub></p>
|
|
|
|
|
|
|
|
---
|
|
---
|
|
|
|
|
|
|
|
-## Install
|
|
|
|
|
|
|
+## 装上就能用
|
|
|
|
|
|
|
|
```bash
|
|
```bash
|
|
|
npx skills add alchaincyf/huashu-design
|
|
npx skills add alchaincyf/huashu-design
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
-Then just talk to Claude Code:
|
|
|
|
|
|
|
+然后在 Claude Code 里直接说话:
|
|
|
|
|
|
|
|
```
|
|
```
|
|
|
-"Make a keynote for AI psychology. Give me 3 style directions to pick from."
|
|
|
|
|
-"Build an iOS prototype for a Pomodoro app — 4 screens, actually clickable."
|
|
|
|
|
-"Turn this logic into a 60-second animation. Export MP4 and GIF."
|
|
|
|
|
-"Run a 5-dimension expert review on this design."
|
|
|
|
|
|
|
+「做一份 AI 心理学的演讲 PPT,推荐 3 个风格方向让我选」
|
|
|
|
|
+「做个 AI 番茄钟 iOS 原型,4 个核心屏幕要真能点击」
|
|
|
|
|
+「把这段逻辑做成 60 秒动画,导出 MP4 和 GIF」
|
|
|
|
|
+「帮我对这个设计做一个 5 维度评审」
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
-No buttons, no panels, no Figma plugin. Agent-agnostic — drops into Claude Code, Cursor, Trae, Hermes, OpenClaw, or any markdown-skill-capable agent.
|
|
|
|
|
|
|
+没有按钮、没有面板、没有 Figma 插件。
|
|
|
|
|
|
|
|
---
|
|
---
|
|
|
|
|
|
|
|
-## Star History
|
|
|
|
|
|
|
+## Star 趋势
|
|
|
|
|
|
|
|
<p align="center">
|
|
<p align="center">
|
|
|
<a href="https://star-history.com/#alchaincyf/huashu-design&Date">
|
|
<a href="https://star-history.com/#alchaincyf/huashu-design&Date">
|
|
@@ -78,190 +78,202 @@ No buttons, no panels, no Figma plugin. Agent-agnostic — drops into Claude Cod
|
|
|
|
|
|
|
|
---
|
|
---
|
|
|
|
|
|
|
|
-## What it does
|
|
|
|
|
|
|
+## 能做什么
|
|
|
|
|
|
|
|
-| Capability | Deliverable | Typical time |
|
|
|
|
|
-|---|---|---|
|
|
|
|
|
-| Interactive prototype (App / Web) | Single-file HTML · real iPhone bezel · clickable · Playwright-verified | 10–15 min |
|
|
|
|
|
-| Slide decks | HTML deck (browser presentation) + editable PPTX (text frames preserved) | 15–25 min |
|
|
|
|
|
-| Motion design | MP4 (25fps / 60fps interpolation) + GIF (palette-optimized) + BGM | 8–12 min |
|
|
|
|
|
-| Design variations | 3+ side-by-side · Tweaks live params · cross-dimension exploration | 10 min |
|
|
|
|
|
-| Infographic / data viz | Print-quality typography · exports to PDF/PNG/SVG | 10 min |
|
|
|
|
|
-| Design direction advisor | 5 schools × 20 philosophies · 3 directions recommended · Demos generated in parallel | 5 min |
|
|
|
|
|
-| 5-dimension expert critique | Radar chart + Keep/Fix/Quick Wins · actionable punch list | 3 min |
|
|
|
|
|
|
|
+| 能力 | 交付物 | 典型耗时 |
|
|
|
|
|
+|------|--------|----------|
|
|
|
|
|
+| 交互原型(App / Web) | 单文件 HTML · 真 iPhone bezel · 可点击 · Playwright 验证 | 10–15 min |
|
|
|
|
|
+| 演讲幻灯片 | HTML deck(浏览器演讲)+ 可编辑 PPTX(文本框保留) | 15–25 min |
|
|
|
|
|
+| 时间轴动画 | MP4(25fps / 60fps 插帧)+ GIF(palette 优化)+ BGM | 8–12 min |
|
|
|
|
|
+| 设计变体 | 3+ 并排对比 · Tweaks 实时调参 · 跨维度探索 | 10 min |
|
|
|
|
|
+| 信息图 / 可视化 | 印刷级排版 · 可导 PDF/PNG/SVG | 10 min |
|
|
|
|
|
+| 设计方向顾问 | 5 流派 × 20 种设计哲学 · 推荐 3 方向 · 并行生成 Demo | 5 min |
|
|
|
|
|
+| 5 维度专家评审 | 雷达图 + Keep/Fix/Quick Wins · 可操作修复清单 | 3 min |
|
|
|
|
|
|
|
|
---
|
|
---
|
|
|
|
|
|
|
|
-## Demo Gallery
|
|
|
|
|
|
|
+## Demo 画廊
|
|
|
|
|
|
|
|
-> English parallel versions of the demos. Chinese versions live at the default filenames (see the Chinese README).
|
|
|
|
|
|
|
+### 设计方向顾问
|
|
|
|
|
|
|
|
-### Design Direction Advisor
|
|
|
|
|
|
|
+模糊需求时的 fallback:从 5 流派 × 20 种设计哲学里挑 3 个差异化方向,并行生成 3 个 Demo 让你选。
|
|
|
|
|
|
|
|
-The fallback for vague briefs: pick 3 differentiated directions from 5 schools × 20 philosophies, generate all 3 demos in parallel, let the user choose.
|
|
|
|
|
|
|
+<p align="center"><img src="https://github.com/alchaincyf/huashu-design/releases/download/v2.0/w3-fallback-advisor.gif" width="100%"></p>
|
|
|
|
|
|
|
|
-<p align="center"><img src="https://github.com/alchaincyf/huashu-design/releases/download/v2.0/w3-fallback-advisor-en.gif" width="100%"></p>
|
|
|
|
|
|
|
+### iOS App 原型
|
|
|
|
|
|
|
|
-### iOS App Prototype
|
|
|
|
|
|
|
+iPhone 15 Pro 精确机身(灵动岛 / 状态栏 / Home Indicator)· 状态驱动多屏切换 · 真图从 Wikimedia/Met/Unsplash 取 · Playwright 自动点击测试。
|
|
|
|
|
|
|
|
-Pixel-accurate iPhone 15 Pro body (Dynamic Island / status bar / Home Indicator) · state-driven multi-screen navigation · real images pulled from Wikimedia/Met/Unsplash · Playwright click tests before delivery.
|
|
|
|
|
|
|
+<p align="center"><img src="https://github.com/alchaincyf/huashu-design/releases/download/v2.0/c1-ios-prototype.gif" width="100%"></p>
|
|
|
|
|
|
|
|
-<p align="center"><img src="https://github.com/alchaincyf/huashu-design/releases/download/v2.0/c1-ios-prototype-en.gif" width="100%"></p>
|
|
|
|
|
|
|
+### Motion Design 引擎
|
|
|
|
|
|
|
|
-### Motion Design Engine
|
|
|
|
|
|
|
+Stage + Sprite 时间片段模型 · `useTime` / `useSprite` / `interpolate` / `Easing` 四 API 覆盖所有动画需求 · 一条命令导出 MP4 / GIF / 60fps 插帧 / 带 BGM 的成片。
|
|
|
|
|
|
|
|
-Stage + Sprite time-slice model · `useTime` / `useSprite` / `interpolate` / `Easing` — four APIs cover every animation need · one command exports MP4 / GIF / 60fps-interpolated / BGM-scored finals.
|
|
|
|
|
|
|
+<p align="center"><img src="https://github.com/alchaincyf/huashu-design/releases/download/v2.0/c3-motion-design.gif" width="100%"></p>
|
|
|
|
|
|
|
|
-<p align="center"><img src="https://github.com/alchaincyf/huashu-design/releases/download/v2.0/c3-motion-design-en.gif" width="100%"></p>
|
|
|
|
|
|
|
+### HTML Slides → 可编辑 PPTX
|
|
|
|
|
|
|
|
-### HTML Slides → Editable PPTX
|
|
|
|
|
|
|
+HTML deck 浏览器演讲 · `html2pptx.js` 读 DOM 的 computedStyle 逐元素翻译成 PowerPoint 对象 · 导出的是**真文本框**,PPT 里双击即可编辑。
|
|
|
|
|
|
|
|
-HTML decks for browser presentation · `html2pptx.js` reads DOM computed styles and translates each element into real PowerPoint objects · exports are **actual text frames**, not image-bed fakes.
|
|
|
|
|
|
|
+<p align="center"><img src="https://github.com/alchaincyf/huashu-design/releases/download/v2.0/c2-slides-pptx.gif" width="100%"></p>
|
|
|
|
|
|
|
|
-<p align="center"><img src="https://github.com/alchaincyf/huashu-design/releases/download/v2.0/c2-slides-pptx-en.gif" width="100%"></p>
|
|
|
|
|
|
|
+### Tweaks · 实时变体切换
|
|
|
|
|
|
|
|
-### Tweaks · Live Variation Switching
|
|
|
|
|
|
|
+配色 / 字型 / 信息密度等参数化 · 侧边面板切换 · 纯前端 + `localStorage` 持久化 · 刷新不丢。
|
|
|
|
|
|
|
|
-Colors / typography / information density parameterized · side panel toggle · pure-frontend + `localStorage` persistence · survives reload.
|
|
|
|
|
|
|
+<p align="center"><img src="https://github.com/alchaincyf/huashu-design/releases/download/v2.0/c4-tweaks.gif" width="100%"></p>
|
|
|
|
|
|
|
|
-<p align="center"><img src="https://github.com/alchaincyf/huashu-design/releases/download/v2.0/c4-tweaks-en.gif" width="100%"></p>
|
|
|
|
|
|
|
+### 信息图 / 数据可视化
|
|
|
|
|
|
|
|
-### Infographic / Data Viz
|
|
|
|
|
|
|
+杂志级排版 · CSS Grid 精准分栏 · `text-wrap: pretty` 排印细节 · 真数据驱动 · 可导 PDF 矢量 / PNG 300dpi / SVG。
|
|
|
|
|
|
|
|
-Magazine-grade typography · precise CSS Grid columns · `text-wrap: pretty` typographic details · driven by real data · exports to vector PDF / 300dpi PNG / SVG.
|
|
|
|
|
|
|
+<p align="center"><img src="https://github.com/alchaincyf/huashu-design/releases/download/v2.0/c5-infographic.gif" width="100%"></p>
|
|
|
|
|
|
|
|
-<p align="center"><img src="https://github.com/alchaincyf/huashu-design/releases/download/v2.0/c5-infographic-en.gif" width="100%"></p>
|
|
|
|
|
|
|
+### 5 维度专家评审
|
|
|
|
|
|
|
|
-### 5-Dimension Expert Critique
|
|
|
|
|
|
|
+哲学一致性 · 视觉层级 · 细节执行 · 功能性 · 创新性 各 0–10 分 · 雷达图可视化 · 输出 Keep / Fix / Quick Wins 清单。
|
|
|
|
|
|
|
|
-Philosophical coherence · visual hierarchy · execution craft · functionality · innovation — each scored 0–10 · radar-chart visualization · outputs Keep / Fix / Quick Wins punch list.
|
|
|
|
|
|
|
+<p align="center"><img src="https://github.com/alchaincyf/huashu-design/releases/download/v2.0/c6-expert-review.gif" width="100%"></p>
|
|
|
|
|
|
|
|
-<p align="center"><img src="https://github.com/alchaincyf/huashu-design/releases/download/v2.0/c6-expert-review-en.gif" width="100%"></p>
|
|
|
|
|
|
|
+### Junior Designer 工作流
|
|
|
|
|
|
|
|
-### Junior Designer Workflow
|
|
|
|
|
|
|
+不闷头做大招:先写 assumptions + placeholders + reasoning,尽早 show 给你,再迭代。理解错了早改比晚改便宜 100 倍。
|
|
|
|
|
|
|
|
-No heroic one-shot attempts: start with assumptions + placeholders + reasoning, show it to the user early, then iterate. Fixing a misunderstanding early is 100× cheaper than fixing it late.
|
|
|
|
|
|
|
+<p align="center"><img src="https://github.com/alchaincyf/huashu-design/releases/download/v2.0/w2-junior-designer.gif" width="100%"></p>
|
|
|
|
|
|
|
|
-<p align="center"><img src="https://github.com/alchaincyf/huashu-design/releases/download/v2.0/w2-junior-designer-en.gif" width="100%"></p>
|
|
|
|
|
|
|
+### 品牌资产协议 5 步硬流程
|
|
|
|
|
|
|
|
-### Core Asset Protocol · 5-step hard process
|
|
|
|
|
|
|
+涉及具体品牌时强制执行:问 → 搜 → 下载(三条兜底)→ grep 色值 → 写 `brand-spec.md`。
|
|
|
|
|
|
|
|
-Mandatory whenever the task involves a specific brand: ask → search → download (three fallback paths) → verify + extract → write `brand-spec.md` covering **logo, product shots, UI screenshots, colors, fonts** — all required assets, not just colors.
|
|
|
|
|
-
|
|
|
|
|
-<p align="center"><img src="https://github.com/alchaincyf/huashu-design/releases/download/v2.0/w1-brand-protocol-en.gif" width="100%"></p>
|
|
|
|
|
|
|
+<p align="center"><img src="https://github.com/alchaincyf/huashu-design/releases/download/v2.0/w1-brand-protocol.gif" width="100%"></p>
|
|
|
|
|
|
|
|
---
|
|
---
|
|
|
|
|
|
|
|
-## Core Mechanics
|
|
|
|
|
|
|
+## Showcase · 真实案例
|
|
|
|
|
|
|
|
-### Core Asset Protocol
|
|
|
|
|
|
|
+### 「聊聊 skill」 · PM after-party 演讲 deck
|
|
|
|
|
|
|
|
-The hardest rule in the skill. When the task touches a specific brand (Stripe, Linear, Anthropic, DJI, your own company, etc.), five steps are enforced:
|
|
|
|
|
|
|
+> **Live demo · [https://skill-huasheng.vercel.app](https://skill-huasheng.vercel.app)**
|
|
|
|
|
|
|
|
-| Step | Action | Purpose |
|
|
|
|
|
-|---|---|---|
|
|
|
|
|
-| 1 · Ask | Checklist of 6 asset types: logo / product shots / UI screenshots / color palette / fonts / brand guidelines | Respect existing resources |
|
|
|
|
|
-| 2 · Search official channels | `<brand>.com/brand` · `<brand>.com/press` · `brand.<brand>.com` · product pages · launch films | Find authoritative assets |
|
|
|
|
|
-| 3 · Download by asset type | Logo (SVG → inline-SVG in HTML → social avatar) · Product shots (hero → press kit → launch video frames → AI-generated from reference) · UI (App Store screenshots → official video frames) | Three fallback paths per asset type |
|
|
|
|
|
-| 4 · Verify + extract | Check logo fidelity · product image resolution · UI freshness · grep color hex from real assets | **Never guess from memory** |
|
|
|
|
|
-| 5 · Freeze to spec | Write `brand-spec.md` with logo paths, product image paths, UI screenshot paths, CSS variables for colors/fonts | Un-frozen knowledge evaporates |
|
|
|
|
|
|
|
+13 页 HTML deck,**全部用 huashu-design 完成**:
|
|
|
|
|
+
|
|
|
|
|
+- 黑底极简衬线视觉系统(cover / about / hook / what / why / closing)
|
|
|
|
|
+- 2 个带 BGM + SFX 的 22 秒 cinematic demo(Nuwa skill workflow + Darwin skill workflow),各采用**完全独立的视觉语言**:
|
|
|
|
|
+ - **Nuwa**:3D 知识 orbit + Pentagon 提炼 + SKILL.md typewriter + 「21 分钟」hero reveal
|
|
|
|
|
+ - **Darwin**:autoresearch loop spin + v1/v5 并列 diff + Hill-Climb 全屏曲线 + Ratchet gear lock
|
|
|
|
|
+- 每个 cinematic 默认显示**完整静态 workflow dashboard**(观众随时能看清 skill 怎么跑),点 ▶ 才触发动画,跑完自动 fade 回 dashboard
|
|
|
|
|
+- 嵌入 huasheng.ai 的 25 秒 hero 动画(iframe 本地化兜底)
|
|
|
|
|
+- 真实数据:14,495 stargazers 真实曲线(gh API 拉取)+ DeepSeek V4 真实 specs(WebSearch 验证)
|
|
|
|
|
+- 真实 AI 素材:用 `huashu-gpt-image` 跑 4×2 grid 大图,`extract_grid.py` 抠出 8 张独立透明 PNG,做 3D orbit 漂浮
|
|
|
|
|
+
|
|
|
|
|
+**适合参考的页面**:
|
|
|
|
|
+- `/slides/slide-04b-nuwa-flow.html` · 静态 dashboard + cinematic overlay 双层架构
|
|
|
|
|
+- `/slides/slide-06b-darwin-flow.html` · 完全独立视觉语言的对照案例
|
|
|
|
|
+- `/slides/slide-03b-deepseek-cover.html` · AI slop vs 真实设计师视角的对比页
|
|
|
|
|
+
|
|
|
|
|
+详细 cinematic patterns 见 `references/cinematic-patterns.md`。
|
|
|
|
|
+
|
|
|
|
|
+---
|
|
|
|
|
|
|
|
-**Ranking of asset importance** (from the skill's internal rubric):
|
|
|
|
|
|
|
+## 核心机制
|
|
|
|
|
|
|
|
-1. Logo — mandatory for any brand
|
|
|
|
|
-2. Product renders — mandatory for physical products
|
|
|
|
|
-3. UI screenshots — mandatory for digital products
|
|
|
|
|
-4. Color values — auxiliary
|
|
|
|
|
-5. Fonts — auxiliary
|
|
|
|
|
|
|
+### 品牌资产协议
|
|
|
|
|
|
|
|
-A/B-tested (v1 vs v2, 6 agents each): **v2 reduced stability variance by 5×**. Stability of stability — that's the real moat.
|
|
|
|
|
|
|
+skill 里最硬的一段规则。涉及具体品牌(Stripe、Linear、Anthropic、自家公司等)时强制执行 5 步:
|
|
|
|
|
|
|
|
-### Design Direction Advisor (Fallback)
|
|
|
|
|
|
|
+| 步骤 | 动作 | 目的 |
|
|
|
|
|
+|------|------|------|
|
|
|
|
|
+| 1 · 问 | 用户有 brand guidelines 吗? | 尊重已有资源 |
|
|
|
|
|
+| 2 · 搜官方品牌页 | `<brand>.com/brand` · `brand.<brand>.com` · `<brand>.com/press` | 抓权威色值 |
|
|
|
|
|
+| 3 · 下载资产 | SVG 文件 → 官网 HTML 全文 → 产品截图取色 | 三条兜底,前一条失败立刻走下一条 |
|
|
|
|
|
+| 4 · grep 提取色值 | 从资产里抓所有 `#xxxxxx`,按频率排序,过滤黑白灰 | **绝不从记忆猜品牌色** |
|
|
|
|
|
+| 5 · 固化 spec | 写 `brand-spec.md` + CSS 变量,所有 HTML 引用 `var(--brand-*)` | 不固化就会忘 |
|
|
|
|
|
|
|
|
-Triggered when the brief is too vague to execute:
|
|
|
|
|
|
|
+A/B 测试(v1 vs v2,各跑 6 agent):**v2 的稳定性方差比 v1 低 5 倍**。稳定性的稳定性,这是 skill 真正的护城河。
|
|
|
|
|
|
|
|
-- Don't run on generic intuition — enter Fallback mode
|
|
|
|
|
-- Recommend 3 differentiated directions from 5 schools × 20 philosophies, each **from a different school**
|
|
|
|
|
-- Each comes with flagship works, gestalt keywords, representative designer
|
|
|
|
|
-- Generate 3 visual demos in parallel, let the user choose
|
|
|
|
|
-- Once chosen, continue into the Junior Designer main flow
|
|
|
|
|
|
|
+### 设计方向顾问(Fallback)
|
|
|
|
|
|
|
|
-### Junior Designer Workflow
|
|
|
|
|
|
|
+当用户需求模糊到无法着手时触发:
|
|
|
|
|
|
|
|
-The default working mode across every task:
|
|
|
|
|
|
|
+- 不凭通用直觉硬做,进入 Fallback 模式
|
|
|
|
|
+- 从 5 流派 × 20 种设计哲学里推荐 3 个**必须来自不同流派**的差异化方向
|
|
|
|
|
+- 每个方向配代表作、气质关键词、代表设计师
|
|
|
|
|
+- 并行生成 3 个视觉 Demo 让用户选
|
|
|
|
|
+- 选定后进入主干 Junior Designer 流程
|
|
|
|
|
|
|
|
-- Send the full question set in one batch, wait for all answers before moving
|
|
|
|
|
-- Write assumptions + placeholders + reasoning comments directly into the HTML
|
|
|
|
|
-- Show it to the user early (even if just gray blocks)
|
|
|
|
|
-- Fill in real content → variations → Tweaks — show at each of these three steps
|
|
|
|
|
-- Manually eyeball the browser with Playwright before delivery
|
|
|
|
|
|
|
+### Junior Designer 工作流
|
|
|
|
|
|
|
|
-### Fact Verification First (Principle #0)
|
|
|
|
|
|
|
+默认工作模式,贯穿所有任务:
|
|
|
|
|
|
|
|
-The highest-priority rule, added after a real failure mode: when the task mentions a specific product / technology / event (e.g., "DJI Pocket 4", "Nano Banana Pro", "Gemini 3 Pro"), the first action **must** be a `WebSearch` to confirm existence, release status, current version, and specs. No claims from training-corpus memory. Cost of a search: ~10 seconds. Cost of a wrong assumption: 1–2 hours of rework.
|
|
|
|
|
|
|
+- 开工前 show 问题清单一次性发给用户,等批量答完再动手
|
|
|
|
|
+- HTML 里先写 assumptions + placeholders + reasoning comments
|
|
|
|
|
+- 尽早 show 给用户(哪怕只是灰色方块)
|
|
|
|
|
+- 填充实际内容 → variations → Tweaks 这三步分别再 show 一次
|
|
|
|
|
+- 交付前用 Playwright 肉眼过一遍浏览器
|
|
|
|
|
|
|
|
-### Anti AI-slop Rules
|
|
|
|
|
|
|
+### 反 AI slop 规则
|
|
|
|
|
|
|
|
-Avoid the visual common denominator of AI output (purple gradients / emoji icons / rounded-corner + left border accent / SVG humans / Inter-as-display / **CSS silhouettes standing in for real product shots**). Use `text-wrap: pretty` + CSS Grid + carefully chosen serif display faces + oklch colors.
|
|
|
|
|
|
|
+避免一眼 AI 的视觉最大公约数(紫渐变 / emoji 图标 / 圆角+左 border accent / SVG 画人脸 / Inter 做 display)。用 `text-wrap: pretty` + CSS Grid + 精心选择的 serif display 和 oklch 色彩。
|
|
|
|
|
|
|
|
---
|
|
---
|
|
|
|
|
|
|
|
-## vs. Claude Design
|
|
|
|
|
|
|
+## 和 Claude Design 的关系
|
|
|
|
|
|
|
|
-I'll be upfront: the Core Asset Protocol's philosophy was lifted from system prompts Anthropic wrote for Claude Design. That prompt hammers home a single idea — **great hi-fi design doesn't start from a blank page, it grows from existing design context**. That one principle is the difference between a 65-point design and a 90-point design.
|
|
|
|
|
|
|
+我大方承认:品牌资产协议的哲学是从 Claude Design 流传出来的提示词里偷师的。那份提示词反复强调**好的高保真设计不是从白纸开始,而是从已有的设计上下文长出来**。这个原则是 65 分作品和 90 分作品的分水岭。
|
|
|
|
|
|
|
|
-Positioning differences:
|
|
|
|
|
|
|
+定位差异:
|
|
|
|
|
|
|
|
| | Claude Design | huashu-design |
|
|
| | Claude Design | huashu-design |
|
|
|
|---|---|---|
|
|
|---|---|---|
|
|
|
-| Form | Web product (used in browser) | Skill (used in Claude Code) |
|
|
|
|
|
-| Quota | Subscription quota | API usage · parallel agents unblocked |
|
|
|
|
|
-| Output | Canvas + Figma export | HTML / MP4 / GIF / editable PPTX / PDF |
|
|
|
|
|
-| Interaction | GUI (click, drag, edit) | Conversation (tell agent, wait) |
|
|
|
|
|
-| Complex animation | Limited | Stage + Sprite timeline · 60fps export |
|
|
|
|
|
-| Agent compatibility | Claude.ai only | Claude Code / Cursor / Trae / Hermes / OpenClaw |
|
|
|
|
|
|
|
+| 形态 | 网页产品(浏览器里用) | skill(Claude Code 里用) |
|
|
|
|
|
+| 配额 | 订阅 quota | API 消耗 · 并行跑 agent 不受 quota 限 |
|
|
|
|
|
+| 交付物 | 画布内 + 可导 Figma | HTML / MP4 / GIF / 可编辑 PPTX / PDF |
|
|
|
|
|
+| 操作方式 | GUI(点、拖、改) | 对话(说话、等 agent 做完) |
|
|
|
|
|
+| 复杂动画 | 有限 | Stage + Sprite 时间轴 · 60fps 导出 |
|
|
|
|
|
+| 跨 agent | 专属 Claude.ai | 任意 skill 兼容 agent |
|
|
|
|
|
|
|
|
-Claude Design is a **better graphics tool**. Huashu-design makes **the graphics-tool layer disappear**. Two paths, different audiences.
|
|
|
|
|
|
|
+Claude Design 是**更好的图形工具**,huashu-design 是**让图形工具这层消失**。两条路,不同受众。
|
|
|
|
|
|
|
|
---
|
|
---
|
|
|
|
|
|
|
|
## Limitations
|
|
## Limitations
|
|
|
|
|
|
|
|
-- **No layer-editable PPTX-to-Figma round-trip.** The output is HTML — screenshottable, recordable, image-exportable, but not draggable into Keynote for text-position tweaks.
|
|
|
|
|
-- **Framer-Motion-tier complex animations are out of scope.** 3D, physics simulation, particle systems exceed the skill's boundaries.
|
|
|
|
|
-- **Brand-from-zero design quality drops to 60–65 points.** Drawing hi-fi from nothing was always a last resort.
|
|
|
|
|
|
|
+- **不支持图层级可编辑的 PPTX 到 Figma**。产出 HTML,可截图、录屏、导图,但不能拖进 Keynote 改文字位置。
|
|
|
|
|
+- **Framer Motion 级别的复杂动画不行**。3D、物理模拟、粒子系统超出 skill 边界。
|
|
|
|
|
+- **完全空白的品牌从零设计质量会掉到 60–65 分**。凭空画 hi-fi 本来就是 last resort。
|
|
|
|
|
|
|
|
-This is an 80-point skill, not a 100-point product. For people unwilling to open a graphical UI, an 80-point skill beats a 100-point product.
|
|
|
|
|
|
|
+这是一个 80 分的 skill,不是 100 分的产品。对不愿意打开图形界面的人,80 分的 skill 比 100 分的产品好用。
|
|
|
|
|
|
|
|
---
|
|
---
|
|
|
|
|
|
|
|
-## Repository Structure
|
|
|
|
|
|
|
+## 仓库结构
|
|
|
|
|
|
|
|
```
|
|
```
|
|
|
huashu-design/
|
|
huashu-design/
|
|
|
-├── SKILL.md # Main doc (read by agent, Chinese)
|
|
|
|
|
-├── README.md # English README (default, this file)
|
|
|
|
|
-├── README.zh.md # Chinese README
|
|
|
|
|
|
|
+├── SKILL.md # 主文档(给 agent 读)
|
|
|
|
|
+├── README.md # 中文 README(默认,本文件)
|
|
|
|
|
+├── README.en.md # 英文 README
|
|
|
├── assets/ # Starter Components
|
|
├── assets/ # Starter Components
|
|
|
│ ├── animations.jsx # Stage + Sprite + Easing + interpolate
|
|
│ ├── animations.jsx # Stage + Sprite + Easing + interpolate
|
|
|
│ ├── ios_frame.jsx # iPhone 15 Pro bezel
|
|
│ ├── ios_frame.jsx # iPhone 15 Pro bezel
|
|
|
│ ├── android_frame.jsx
|
|
│ ├── android_frame.jsx
|
|
|
│ ├── macos_window.jsx
|
|
│ ├── macos_window.jsx
|
|
|
│ ├── browser_window.jsx
|
|
│ ├── browser_window.jsx
|
|
|
-│ ├── deck_stage.js # HTML deck engine
|
|
|
|
|
-│ ├── deck_index.html # Multi-file deck assembler
|
|
|
|
|
-│ ├── design_canvas.jsx # Side-by-side variation display
|
|
|
|
|
-│ ├── showcases/ # 24 prebuilt samples (8 scenes × 3 styles)
|
|
|
|
|
-│ └── bgm-*.mp3 # 6 scene-specific background tracks
|
|
|
|
|
-├── references/ # Drill-down docs by task (Chinese)
|
|
|
|
|
|
|
+│ ├── deck_stage.js # HTML 幻灯片引擎
|
|
|
|
|
+│ ├── deck_index.html # 多文件 deck 拼接器
|
|
|
|
|
+│ ├── design_canvas.jsx # 并排变体展示
|
|
|
|
|
+│ ├── showcases/ # 24 个预制样例(8 场景 × 3 风格)
|
|
|
|
|
+│ └── bgm-*.mp3 # 6 首场景化背景音乐
|
|
|
|
|
+├── references/ # 按任务深入读的子文档
|
|
|
│ ├── animation-pitfalls.md
|
|
│ ├── animation-pitfalls.md
|
|
|
-│ ├── design-styles.md # 20 design philosophies in detail
|
|
|
|
|
|
|
+│ ├── design-styles.md # 20 种设计哲学详细库
|
|
|
│ ├── slide-decks.md
|
|
│ ├── slide-decks.md
|
|
|
│ ├── editable-pptx.md
|
|
│ ├── editable-pptx.md
|
|
|
│ ├── critique-guide.md
|
|
│ ├── critique-guide.md
|
|
|
│ ├── video-export.md
|
|
│ ├── video-export.md
|
|
|
│ └── ...
|
|
│ └── ...
|
|
|
-├── scripts/ # Export toolchain
|
|
|
|
|
|
|
+├── scripts/ # 导出工具链
|
|
|
│ ├── render-video.js # HTML → MP4
|
|
│ ├── render-video.js # HTML → MP4
|
|
|
│ ├── convert-formats.sh # MP4 → 60fps + GIF
|
|
│ ├── convert-formats.sh # MP4 → 60fps + GIF
|
|
|
│ ├── add-music.sh # MP4 + BGM
|
|
│ ├── add-music.sh # MP4 + BGM
|
|
@@ -269,41 +281,41 @@ huashu-design/
|
|
|
│ ├── export_deck_pptx.mjs
|
|
│ ├── export_deck_pptx.mjs
|
|
|
│ ├── html2pptx.js
|
|
│ ├── html2pptx.js
|
|
|
│ └── verify.py
|
|
│ └── verify.py
|
|
|
-└── demos/ # Capability demos referenced by this README
|
|
|
|
|
|
|
+└── demos/ # 9 个能力演示 (c*/w*),中英双版 GIF/MP4/HTML + hero v10
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
---
|
|
---
|
|
|
|
|
|
|
|
-## Origin Story
|
|
|
|
|
|
|
+## 起源
|
|
|
|
|
|
|
|
-The day Anthropic launched Claude Design I played with it until 4 a.m. A few days later I realized I hadn't opened it once since — not because it's bad (it's the most polished product in the category) but because I'd rather have an agent work in my terminal than open any graphical UI.
|
|
|
|
|
|
|
+Anthropic 发布 Claude Design 那天我玩到凌晨四点。几天之后发现自己再也没点开过它,不是它不好——它是这个赛道目前最成熟的产品——是我宁愿让 agent 在终端里帮我干活,也不愿意打开任何图形界面。
|
|
|
|
|
|
|
|
-So I had an agent deconstruct Claude Design itself (including the system prompts circulating in the community, the brand asset protocol, the component mechanics), distill it into a structured spec, then write it as a skill installed in my own Claude Code.
|
|
|
|
|
|
|
+于是让 agent 拆解 Claude Design 本身(包括社区流传的系统提示词、品牌资产协议、组件机制),蒸馏成结构化 spec,再写成 skill 装进自己的 Claude Code。
|
|
|
|
|
|
|
|
-Thanks to Anthropic for writing the Claude Design prompts so clearly. This kind of derivative work inspired by other products is the new form of open-source culture in the AI era.
|
|
|
|
|
|
|
+感谢 Anthropic 把 Claude Design 的提示词写得清晰。这种基于其他产品灵感的二次创作,是开源文化在 AI 时代的新形态。
|
|
|
|
|
|
|
|
---
|
|
---
|
|
|
|
|
|
|
|
## License
|
|
## License
|
|
|
|
|
|
|
|
-**Relicensed to MIT on 2026-05-14.** This skill was previously released under a Personal Use License that restricted commercial use. That restriction is now removed.
|
|
|
|
|
|
|
+**2026-05-14 起改为 MIT 协议。** 此前版本采用「个人使用免费、企业商用需授权」的 Personal Use License,对商用做了限制——现在这层限制完全解除。
|
|
|
|
|
|
|
|
-Under the [MIT License](LICENSE) you are free to **use, modify, and distribute** this skill for any purpose, **including commercial use** — inside companies, in client deliverables, as part of a paid product, anywhere. No prior authorization, no licensing fee, no notification required. Attribution is appreciated but not required.
|
|
|
|
|
|
|
+按 [MIT License](LICENSE),你可以**自由使用、修改、分发**本 skill,**包括商业用途**——公司内部用、客户商单交付、做成付费产品对外卖,都没问题。无需事先授权、无需付费、无需打招呼。注明出处不强制,但欢迎。
|
|
|
|
|
|
|
|
---
|
|
---
|
|
|
|
|
|
|
|
-## Connect · Huasheng (Huashu)
|
|
|
|
|
|
|
+## Connect · 花生(花叔)
|
|
|
|
|
|
|
|
-Huasheng is an AI-native coder, independent developer, and AI content creator. Notable work: Cat Fill Light (App Store Top 1 in Paid category), *A Book on DeepSeek*, Nüwa.skill (GitHub 21k+ stars). Combined 300k+ followers across platforms.
|
|
|
|
|
|
|
+花生是 AI Native Coder、独立开发者、AI 自媒体博主。代表作:小猫补光灯(AppStore 付费榜 Top 1)、《一本书玩转 DeepSeek》、女娲 .skill(GitHub 12000+ star)。自媒体全平台 30 万+ 粉丝。
|
|
|
|
|
|
|
|
-| Platform | Handle | Link |
|
|
|
|
|
|
|
+| 平台 | 账号 | 链接 |
|
|
|
|---|---|---|
|
|
|---|---|---|
|
|
|
| X / Twitter | @AlchainHust | https://x.com/AlchainHust |
|
|
| X / Twitter | @AlchainHust | https://x.com/AlchainHust |
|
|
|
-| WeChat Official Account | 花叔 | Search "花叔" in WeChat |
|
|
|
|
|
-| Bilibili | 花叔 | https://space.bilibili.com/14097567 |
|
|
|
|
|
|
|
+| 公众号 | 花叔 | 微信搜索「花叔」 |
|
|
|
|
|
+| B 站 | 花叔 | https://space.bilibili.com/14097567 |
|
|
|
| YouTube | 花叔 | https://www.youtube.com/@Alchain |
|
|
| YouTube | 花叔 | https://www.youtube.com/@Alchain |
|
|
|
-| Xiaohongshu | 花叔 | https://www.xiaohongshu.com/user/profile/5abc6f17e8ac2b109179dfdf |
|
|
|
|
|
-| Official Site | huasheng.ai | https://www.huasheng.ai/ |
|
|
|
|
|
-| Developer Hub | bookai.top | https://bookai.top |
|
|
|
|
|
|
|
+| 小红书 | 花叔 | https://www.xiaohongshu.com/user/profile/5abc6f17e8ac2b109179dfdf |
|
|
|
|
|
+| 官网 | huasheng.ai | https://www.huasheng.ai/ |
|
|
|
|
|
+| 开发者主页 | bookai.top | https://bookai.top |
|
|
|
|
|
|
|
|
-For collaborations or sponsored content, DM on any of the above.
|
|
|
|
|
|
|
+合作咨询、自媒体约稿 → 以上任一平台私信花生即可。
|