extract

Identify UI patterns and consolidate reusable components and design tokens into a system.

Updated Nov 15, 2025
One-click install
npx skills add https://github.com/billh93/snchz --skill extract-billh93
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: extract
Source: https://github.com/billh93/snchz/tree/main/.agents/skills/extract
Command: npx skills add https://github.com/billh93/snchz --skill extract-billh93

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Extract and consolidate reusable components, design tokens, and patterns into your design system. Identifies opportunities for systematic reuse and enriches your component library. Use when the user asks to create components, refactor repeated UI patterns, build a design system, or extract tokens.

Core Features & Use Cases

  • Analyze UI areas to identify repeated components, hard-coded values, and inconsistent variations.
  • Consolidate findings into reusable components, tokens, and patterns, enriching the design system.
  • Provide a migration path and guidelines for integrating shared versions into existing projects.

Quick Start

Start by scanning your UI project to identify patterns, then consolidate them into reusable components and tokens.

Frequently Asked Questions about extract

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract design tokens from repeated UI patterns?

To extract design tokens from repeated UI patterns, scan your UI project to identify hard-coded values and inconsistent variations, then consolidate those findings into reusable tokens and components. This process systematizes scattered values by consolidating them into your design system.

What is the best way to refactor repeated UI patterns into a cohesive design system?

The best way to refactor repeated UI patterns into a cohesive design system is to analyze your UI areas to identify inconsistencies, consolidate the findings into reusable components and tokens, and establish a migration path with guidelines for integrating shared versions into existing projects.

Can I use this approach to build a design system for a growing component library?

Yes, you can use this approach to build a design system for a growing component library. It specifically applies to projects with scattered UI patterns or token gaps, analyzing the library to identify opportunities for systematic reuse and enriching it with consolidated tokens.

How do I document usage guidelines for a newly extracted design system?

To document usage guidelines for a newly extracted design system, consolidate your identified patterns into reusable components and tokens, then provide a migration path and guidelines for integrating the shared versions into your existing projects to ensure consistent implementation.

When should I not use a pattern extraction approach for my UI components?

You should not use pattern extraction if your UI project does not suffer from scattered UI patterns, a growing component library, or token gaps where consistency matters. The approach is specifically designed to satisfy requirements for identifying patterns and building reusable components in inconsistent environments.