What problem does it solve?
This Skill helps you turn repetitive UI code into reusable components and shared tokens, reducing duplication and making frontends easier to maintain.
Core Features & Use Cases
- Pattern extraction: Detect repeated Tailwind class combinations and repeated markup that should become a component or variant.
- Token consolidation: Identify literal magic values such as colors, spacing, shadows, font sizes, and z-index values that should move into theme tokens or CSS variables.
- Call-site migration: Update every place that uses the extracted pattern so the refactor is complete and consistent.
- Use case: When a dashboard page repeats the same card styling, button treatment, or layout block across several files, this Skill can extract the pattern into a named component and align all usages with the project’s existing conventions.
Quick Start
Ask the extract skill to scan the target UI for repeated patterns, extract reusable components and tokens, and update every call-site to match the project’s conventions.