Agent Skillsplugin87/ux-ui-agent-skills › migrate-design-system

migrate-design-system

GitHub

将设计令牌与外部设计系统(如 Material、Ant)进行映射、迁移或互操作。通过角色交叉表建立映射,支持从外部采纳样式或将内部组件适配至外部框架,并验证对比度等无障碍指标。

.claude/skills/migrate-design-system/SKILL.md plugin87/ux-ui-agent-skills

Trigger Scenarios

提及跨设计系统迁移 需要与其他 UI 库(如 Ant、Material)互通 设计令牌映射或主题桥接

Install

npx skills add plugin87/ux-ui-agent-skills --skill migrate-design-system -g -y
More Options

Non-standard path

npx skills add https://github.com/plugin87/ux-ui-agent-skills/tree/main/.claude/skills/migrate-design-system -g -y

Use without installing

npx skills use plugin87/ux-ui-agent-skills@migrate-design-system

指定 Agent (Claude Code)

npx skills add plugin87/ux-ui-agent-skills --skill migrate-design-system -a claude-code -g -y

安装 repo 全部 skill

npx skills add plugin87/ux-ui-agent-skills --all -g -y

预览 repo 内 skill

npx skills add plugin87/ux-ui-agent-skills --list

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

  1. Read design-systems/interop-protocol.md (Crosswalk Method, the three directions, headless-vs-styled guidance, verification).
  2. Use the curated tables in design-systems/crosswalk.md for 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).
  3. 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.
  4. 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

Same Skill Collection

.claude/skills/a11y-audit/SKILL.md
.claude/skills/apply-aesthetic/SKILL.md
.claude/skills/brandkit/SKILL.md
.claude/skills/design-code/SKILL.md
.claude/skills/design-component/SKILL.md
.claude/skills/design-qa/SKILL.md
.claude/skills/design-review/SKILL.md
.claude/skills/design-tokens/SKILL.md
.claude/skills/figma-integration/SKILL.md
.claude/skills/governance/SKILL.md
.claude/skills/image-to-code/SKILL.md
.claude/skills/performance/SKILL.md
.claude/skills/prototype/SKILL.md
.claude/skills/redesign/SKILL.md
.claude/skills/token-build/SKILL.md
.claude/skills/ux-writing/SKILL.md

Metadata

Files
0
Version
2ffb677
Hash
168802c2
Indexed
2026-07-25 07:41

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-03 02:15
浙ICP备14020137号-1 $bản đồ khách truy cập$