Agent Skills
› plugin87/ux-ui-agent-skills
› migrate-design-system
migrate-design-system
GitHub用于在不同设计系统(如 Material 3、Ant 等)间迁移或互操作,通过角色映射表转换 Token,并验证对比度和状态兼容性。
Trigger Scenarios
用户提及设计系统迁移
需要在不同 UI 库间进行样式桥接
要求适配外部设计系统的视觉规范
Install
npx skills add plugin87/ux-ui-agent-skills --skill migrate-design-system -g -y
SKILL.md
Frontmatter
{
"name": "migrate-design-system",
"invocation": "user",
"description": "Map this token system to or from any external design system (Material Design 3, Apple HIG, Fluent, Carbon, Ant, shadcn\/ui, Radix, Chakra, Mantine, Bootstrap…) — adopt their look, build on their stack, or migrate between systems. Use when the user mentions interop, migration, or a specific design-system\/component-library bridge."
}
Skill: Migrate / Interop Design System
Bridge to or from external design systems via a role-based crosswalk.
Steps
- Read
design-systems/interop-protocol.md(Crosswalk Method, the three directions, headless-vs-styled guidance, verification). - Use the curated tables in
design-systems/crosswalk.mdfor Material 3 / Apple HIG / Fluent 2 / Carbon / shadcn/ui / Radix. For others, derive a mapping with the Crosswalk Method (map by role/intent across 6 axes: color roles, type scale, spacing unit, radius, elevation, motion). - Choose the direction:
- FROM external → our tokens (adopt their look): re-point
semantic.*. - TO external stack (our components on their foundation): theme their primitives with our tokens.
- Migrate: Audit → Map → Bridge (alias layer) → Verify, screen by screen.
- FROM external → our tokens (adopt their look): re-point
- Verify every mapped color pair for contrast (
scripts/contrast.py/a11y-audit); confirm all 8 states + dark mode survive the mapping.
Output
A crosswalk table (our token → their token → value note), a bridge plan if migrating, and verified token overrides. Render via design-code.
Version History
- 2ffb677 Current 2026-08-28 11:59
- 93a7fbb 2026-07-25 07:41


