What problem does it solve?
This Skill addresses the challenge of inconsistent and duplicated UI elements across a project by identifying and extracting reusable components, design tokens, and patterns into a centralized design system.
Core Features & Use Cases
- Pattern Identification: Analyzes code to find repeated UI elements, hard-coded values, and inconsistent variations.
- Design System Enrichment: Consolidates identified patterns into a structured design system, creating new components and design tokens.
- Migration Assistance: Guides the process of refactoring existing code to use the newly extracted, standardized elements.
- Use Case: A team notices multiple slightly different button styles across their web application. This Skill can identify these variations, define a single, robust Button component with variants, and help update all existing button usages to leverage this new component, ensuring consistency and maintainability.
Quick Start
Use the extract skill to identify and consolidate reusable components from the 'src/components' directory.