extract

Installation
Summary

Identify and extract reusable components, design tokens, and patterns into a cohesive design system.

  • Analyzes target areas to find repeated UI patterns, hard-coded values, and inconsistent variations worth systematizing
  • Guides extraction planning including component APIs, token hierarchies, naming conventions, and migration strategies
  • Emphasizes incremental growth: extract only patterns used 3+ times or with clear reuse potential, avoiding over-generalization
  • Includes accessibility best practices (ARIA, keyboard navigation) and TypeScript documentation for extracted components
  • Provides migration and documentation workflows to replace existing implementations and maintain design system consistency
SKILL.md

Identify reusable patterns, components, and design tokens, then extract and consolidate them into the design system for systematic reuse.

Discover

Analyze the target area to identify extraction opportunities:

  1. Find the design system: Locate your design system, component library, or shared UI directory (grep for "design system", "ui", "components", etc.). Understand its structure:

    • Component organization and naming conventions
    • Design token structure (if any)
    • Documentation patterns
    • Import/export conventions

    CRITICAL: If no design system exists, ask before creating one. Understand the preferred location and structure first.

  2. Identify patterns: Look for:

    • Repeated components: Similar UI patterns used multiple times (buttons, cards, inputs, etc.)
    • Hard-coded values: Colors, spacing, typography, shadows that should be tokens
    • Inconsistent variations: Multiple implementations of the same concept (3 different button styles)
    • Reusable patterns: Layout patterns, composition patterns, interaction patterns worth systematizing
Related skills

More from pbakaus/impeccable

Installs
53.5K
GitHub Stars
27.1K
First Seen
Mar 4, 2026