extract-design-system

Installation
SKILL.md

Extract Design System — Tokenization Mastery


Mandatory Pre-Flight Context Inspection

Before extracting design systems or tokenizing CSS variables, you MUST inspect:

  1. 3+ Repetition Frequency Rule (Section 15) → Only tokenize values that recur 3+ times across components to prevent variable bloat
  2. Semantic Naming Convention (Section 17) → Use functional/semantic names (--color-primary) rather than literal colors (--red-500)
  3. Accessibility Token Contract (Section 110) → Ensure extracted text and surface tokens satisfy a min 4.5:1 WCAG AA contrast ratio

Activation Boundaries

  • Activate when: Operating in tasks requiring Design system extraction and tokenization mastery. Identifying repeated HTML/CSS patterns, extracting CSS variables, generating design tokens (colors, spacing, typography), building reusable component schemas, and standardizing ad-hoc styles into cohesive global systems. Use when refactoring messy CSS into a unified design system..
  • DO NOT activate when: The task falls strictly outside extract-design-system domain or belongs to a different dedicated specialist.

Hallucination Traps (Read First)

Installs
3
GitHub Stars
7
First Seen
Apr 26, 2026