Frontend Design Pipeline — Data skill for Claude Code
Agent skill for frontend design governance: intent -> brand DESIGN.md -> signed guidelines (do/never) -> frozen HTML -> tokens & component contract -> change control -> screenshot acceptance.
How to install Frontend Design Pipeline
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open yeguang112/frontend-design-pipeline and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Frontend Design Pipeline does
Agent skill for frontend design governance: intent -> brand DESIGN.md -> signed guidelines (do/never) -> frozen HTML -> tokens & component contract -> change control -> screenshot acceptance. 前端设计链路规则包。
Alternatives in Data
- Data Contract — This document defines which files belong to the system (auto-updatable) and which belong to the user (never to 32.5k ★
- Sprite Gen — Generate clean 2D game sprites & animation atlases — component-row pipeline: state rows, alpha cleanup, frame 763 ★
- Query Token Info — Search tokens and fetch metadata, real-time market data, and K-Line candlestick charts by keyword or contract 483 ★
README
前端设计链路(Frontend Design Pipeline)
[](https://github.com/yeguang112/frontend-design-pipeline/actions/workflows/ci.yml) [](LICENSE) [](https://nodejs.org) [](SKILL.md)
**An agent skill that turns "make it look good" into a governed pipeline:** intent → brand DESIGN.md → signed guidelines (do / never) → frozen HTML → tokens & component contract → change control → screenshot acceptance. 中文说明为主,规则可直接用于 Claude Code / Codex / DSH / Cursor 等 agent。
让 AI 前端「风格可控、实现一致、验收客观、长期不漂移」。 形态:**Agent Skill(主)+ Prompt 存根(备)**。品牌规范库来自 [awesome-design-md](https://github.com/VoltAgent/awesome-design-md)(MIT), 结构参考 [open-design](https://github.com/nexu-io/open-design)(Apache-2.0)。
1. 它解决什么
用户一句话
│
▼
P0 意图识别 ──► Design Read(产物/受众/氛围/表盘/置信度)
│
▼
P1 风格路由 ──► 10 风格族 ──► 58 品牌 DESIGN.md ──► 1 主 + ≤1 辅参考
│
▼
P2 准则校准 ──► frontend-guidelines.md(正面清单 + 反面清单)◄──┐
│ │ 用户签收 v1.0 │ 迭代
│ ▼ │
P3 HTML 静态稿 ──► prototype/index.html(全状态/三档视口)──────┘
│
▼
P4 冻结 ──► design/frozen/ + freeze-manifest.json(只读)
│
▼
P5 Token + 组件 ──► tokens.json/css/md + components.md(先定死)
│
▼
P6 跨端落地 ──► App / 小程序(只换单位,不换视觉)
│
▼
P7 变更控制 ──► 八项自检矩阵 + 漂移检测(每次改动)
│
▼
P8 截图验收 ──► 逐 route × state × viewport 截图 + A1–A12 客观判定
AI 做前端有三个稳定失败模式:
- 风格不可控:每次生成的都像另一个产品,且默认滑向「紫渐变 + 玻璃 + 大圆角卡片」。
- 实现不一致:同一个按钮在不同页面三种高度,颜色/字号/圆角每次重新发明。
- 长期漂移:改到第 20 屏时,已经没人记得最初的设计方向。
本链路的答案:
| 失败模式 | 机制 |
|---|---|
| 风格不可控 | 意图识别 → 10 个风格族 → 58 个品牌 DESIGN.md → 与用户确认 frontend-guidelines.md(正面/反面清单) |
| 实现不一致 | HTML 静态稿冻结 → 提取 tokens → 组件契约「先定死、只引用」 |
| 长期漂移 | 变更自检矩阵 + 设计指纹 + 逐 tab |
Related Skills
Data Mesh Contract
Create federated data product contracts for mesh architectures with SLAs, governance, and interoperability gua
Agent Governance Skills
Five general-purpose governance skills for AI agents, bilingual (English / 中文). Covers data models, write surf
Build From Screenshot
/build-from-screenshot — Autonomous Screenshot/URL-to-Working-App Pipeline
Pbi Docs
Generate polished, stakeholder-ready project documentation combining model metadata, measure catalog, relation
Paraview Pitfalls
pvpython batch rendering without surprises: every confirmed ParaView 5.6.3 + OpenFOAM 9 trap - silent camera r
Openfoam Research Init
Methodology + engines for organizing OpenFOAM/CFD simulation research: four-line layering, raw-vs-derived data
Related Agents
Design Systems Lead
Design systems specialist. Builds and maintains component libraries, design tokens, documentation, and system
Auth Researcher
Read-only research specialist for authentication and authorization. Use proactively to map how a component sig
Jobs
Jobs (Джобс) — UI/UX design specialist — design systems, color palettes, typography, spacing tokens, and compo