What problem does it solve?
Extracts repeated UI patterns, hard-coded styles, and divergent component implementations to reduce duplication, improve consistency, and enable systematic reuse across a codebase. It helps teams consolidate scattered implementations into a single design system so that future development is faster, more consistent, and easier to maintain.
Core Features & Use Cases
- Discovery: Locate the design system or shared UI surface, identify repeated components, hard-coded values, and inconsistent variations.
- Planning: Propose which components, tokens, and patterns to extract, define naming conventions, variants, and a migration path.
- Extraction & Enrichment: Create reusable, accessible TypeScript components, establish design tokens, and document usage and examples.
- Migration & Cleanup: Systematically replace implementations, test for parity, and remove dead code.
- Use Case: Consolidate three different button implementations into a single accessible Button component with semantic tokens for color and spacing and a migration plan to update all usages.
Quick Start
Use the extract skill to analyze your frontend components folder, identify repeated patterns and hard-coded values, propose reusable components and tokens, and provide a step-by-step migration plan.