Individual skill
ui-designer/component-specification
UI 组件规范方法论,基于 Material Design 3、Ant Design、Carbon Design System 等开源组件库,定义组件解剖、变体决策、状态完备性与无障碍要求
skill/skills/ui-designer/component-specification/SKILL.md
Source commit d5646446c812a6bf954240fbe5b6df5114b2c937
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- Yes
- Observed behavior
- Network or broad shell
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
Standard SKILL.md format has not been attested at this commit. No installation command is available; inspect the source.
Repository context
- Repository stars (not skill ratings)
- 547
- Repository last updated
- Nov 6, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai-agents Repository topic
- bmad Repository topic
- bmad-workflow Repository topic
- claude-code Repository topic
- cursor Repository topic
- skill Repository topic
- trae Repository topic
- design Derived category
- design-interface Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 14,724 bytes
Read excerpt
# UI 组件规范方法论
## 适用场景
基于设计系统,定义可复用的 UI 组件规范。本方法论不只是罗列组件参数,而是教你**如何做组件决策**:何时用哪种变体、状态如何设计、无障碍如何保证。
## 组件设计框架
每个组件的规范必须回答以下 5 个问题:
1. **解剖(Anatomy)**:组件由哪些部分组成?
2. **变体(Variants)**:有哪些视觉变体?何时用哪种?
3. **状态(States)**:所有交互状态是否完备?
4. **无障碍(A11y)**:键盘、屏幕阅读器、ARIA 角色是否正确?
5. **边界(Edge cases)**:长文本、空内容、加载中如何处理?