design-how-migrate-design-system
БесплатноЗапускает вложенные скриптыНе проверенAudit or replace legacy UI with an existing design system in bounded waves while preserving route behavior and rendering.
от sickn33★ 50 670 звёзд на GitHubОб этом скилле
Migrate a Design System
When to Use
Use for adoption audits and scoped migrations onto existing tokens and primitives. Use design-how-build-design-system when the required primitives or contracts are missing.
Workflow
- Inventory the routes, legacy imports, local lookalikes and public exports. Group each replacement by component family and flag gaps that need changes to the system. Default to a read-only audit when rollout scope is unclear.
- Define a before/after contract for each surface: exact routes, files, fixture states, visual exceptions and behaviors. Check props, slots, accessible names, formulas and formatting. Capture baselines at the narrowest and widest supported widths.
- Pick a pilot with a harder call site. Map a legacy primitive to a system primitive only if the required props, events and semantics are available. Leave unsupported paths on legacy and record the gap. Keep unrelated refactors and cleanup out of the wave.
- Compare interactions and screenshots with identical data and environment. Exercise submission, loading, keyboard, focus and errors on a disposable backend. Count open legacy imports and explicitly list any intentional state or visual difference.
- Re-read the diff and check shared call sites before scaling. Roll out in small route groups with rollback points. Remove a legacy export only after checking consumers including other packages, and only within the approved scope.
Example
“Move settings from the old Select to our system Select.” First compare controlled values, disabled options, Escape, label and focus behavior, then migrate one settings route and compare the recorded states.
Limitations
Requires an existing system. Count checks can miss dynamic consumers and screenshots can miss behavioral regressions. A failed parity check blocks that surface. Use isolated fixtures and follow the project's normal version control flow.
Bundled resources
- Read parity, migration lessons, correction, and staging guidance.
- Use the installed
scripts/legacy.mjsto inventory legacy imports andscripts/parity.mjsto compare outputs of trusted local modules. Usescripts/bodies-check.mjswith synthetic request fixtures. Use capture and pixel diff from the installeddesign-how-build-design-systemsibling. scripts/land.mjsis an optional helper for explicitly authorized local migration commits. Use a work branch, the exact reviewed paths, and the project checks. Its shell callback is for a locally written check, never text copied from project data or PR feedback. Leave hooks enabled and use the project's normal pull-request flow.
Source
Adapted from design.how by Arlan Marat. See MIT license.
Установить design-how-migrate-design-system в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл design-how-migrate-design-system?
Audit or replace legacy UI with an existing design system in bounded waves while preserving route behavior and rendering.
Как установить скилл design-how-migrate-design-system?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл design-how-migrate-design-system запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic