Design Specs Web
Description
Ready-to-drop DESIGN.md spec packs for Chinese mainstream UI libraries (Ant Design, Element Plus, Arco, Semi, Naive UI, TDesign) — opinionated rules that keep AI coding agents from fighting the component library.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
design-specs-web 📐
**Ready-to-drop `DESIGN.md` spec packs for Chinese mainstream UI libraries.**
The `DESIGN.md` pattern (popularized by VoltAgent's awesome-design-md, 100k+ stars) gives AI coding agents a project-level spec that stops them from fighting the component library — writing boilerplate components that already exist, hand-rolling validation the `Form` component owns, and overriding CSS the theme system already handles.
The ecosystem has good specs for Tailwind/shadcn and Western stacks. **It has almost nothing for the UI libraries Chinese teams actually use.** This repo fills that gap: opinionated, copy-paste `DESIGN.md` packs for Ant Design, Element Plus, Arco Design, Semi Design, Naive UI, and TDesign — plus a small CLI that assembles a project spec from a pack + framework conventions.
$ design-specs compose antd --framework react -o DESIGN.md
✓ wrote DESIGN.md (Ant Design · react)
The packs
| pack | library | framework | highlights |
|---|---|---|---|
antd |
Ant Design 5.x | React | CSS-in-JS token 主题、Form/Form.Item、App.useApp() 上下文 |
element-plus |
Element Plus | Vue 3 | 、按需自动导入、CSS 变量主题 |
arco |
Arco Design | React | @arco-design/web-react、Grid/Form、图标命名 IconXxx |
semi |
Semi Design | React | @douyinfe/semi-ui、Form.X 组合、semi-theme |
naive-ui |
Naive UI | Vue 3 | n-config-provider、theme-overrides(最强主题能力) |
tdesign |
TDesign | React/Vue | 腾讯多端体系、MessagePlugin 插件式 API |
Every pack follows the same shape — 概览 → 安装与按需引入 → 命名结构 → 组合优于配置 → 表单 → 数据展示 → 反馈 → 主题 → **常见坑** → 组件选择速查 → **AI 生成约束**(Do / Don't)。The "常见坑" and "AI 生成约束" sections are the ones that actually change agent output; the rest is reference.
What makes these packs useful (not just a component list)
They encode the *non-obvious* rules an agent gets wrong, in the agent's own voice:
- ❌ "不要手写受控 state 再手动校验" → ✅ "用
Form+rules" - ❌ "不要覆盖
.ant-*/.el-*类名改样式" → ✅ "用 token / CSS 变量 / `theme-overrides
Related Skills
Spec Kit
💫 Toolkit to help you get started with Spec-Driven Development
Testing Webapp Testing
Test local web applications using Playwright for UI verification and debugging
Testing #29
, [#52](https://github.com/affaan-m/everything-claude-code/issues/52), [#103](https://github.com/affaan-m/ever
Testing Fix Issue
by metabase - Addresses GitHub issues by taking issue number as parameter, analyzing context, implementing sol
Testing Pypict Test Design
Design comprehensive test cases using PICT (Pairwise Independent Combinatorial Testing) for optimized test sui
Testing gstack
| 15,000+ | Garry Tan's exact Claude Code setup: 6 opinionated tools that serve as CEO, Eng Manager, Release M
Testing