Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
nextlevelbuilder avatar

Design System

  • 12.3k installs
  • 111k repo stars
  • Updated July 27, 2026
  • nextlevelbuilder/ui-ux-pro-max-skill

design-system is an agent skill for three-layer design tokens, component specifications, Tailwind integration, and brand-compliant slide generation with validation scripts.

About

The design-system skill implements token architecture, component specifications, and brand-compliant slide generation for systematic UI work. It defines a three-layer token model flowing primitive raw values into semantic purpose aliases and component-specific tokens, expressed as CSS variables for spacing, typography, and color scales. Scripts generate-tokens.cjs and validate-tokens.cjs produce and audit token usage across codebases, catching hardcoded hex values before they ship. Component spec patterns document default, hover, active, and disabled states with token references rather than raw colors. Tailwind integration maps component tokens into theme configuration while references cover primitive, semantic, and component token files plus states-and-variants. The slide subsystem imports design-tokens.css as single source of truth, uses Chart.js for charts, BM25 search-slides.py for layout recommendations, and CSV decision systems for strategy, typography, color logic, and copy formulas. Slides require var() exclusively, keyboard navigation, centered persuasion-focused content, and slide-token-validator.py compliance checks. Dependencies include brand and ui-styling skills with.

  • Three-layer tokens: primitive values, semantic aliases, component-specific CSS variables.
  • generate-tokens.cjs and validate-tokens.cjs automate token output and hardcoded-value audits.
  • Component specs cover default, hover, active, and disabled states via token references.
  • Slide system uses BM25 search, CSV decision tables, Chart.js, and token-only var() styling.
  • Integrates with brand and ui-styling skills for design-to-code and presentation handoff.

Design System by the numbers

  • 12,339 all-time installs (skills.sh)
  • +2,957 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #48 of 1,896 Design & UI/UX skills by installs in the Skillselion catalog
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

design-system capabilities & compatibility

Capabilities
three layer primitive semantic component tokens · css variable generation and validation scripts · component state and variant specification tables · bm25 slide search with contextual csv decision f · chart.js slide charts with token compliance chec
Use cases
ui design · presentations · frontend · web design
From the docs

What design-system says it does

Never use raw hex in components - always reference tokens
SKILL.md
Slides must import design-tokens.css and use var() exclusively
SKILL.md
npx skills add https://github.com/nextlevelbuilder/ui-ux-pro-max-skill --skill design-system

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs12.3k
repo stars111k
Last updatedJuly 27, 2026
Repositorynextlevelbuilder/ui-ux-pro-max-skill

How do I create systematic design tokens, document component states, and generate on-brand presentations without hardcoded colors?

Design token architecture, component state specs, Tailwind themes, and brand-compliant HTML slide decks with validation scripts.

Who is it for?

Teams defining token architecture, component state tables, Tailwind themes, and investor or marketing slide decks from one source of truth.

Skip if: Skip when only ad-hoc one-off styling is needed without token layers, validation, or slide decision systems.

When should I use this skill?

User asks for design tokens, CSS variable systems, component specs, Tailwind theme config, or brand-compliant slide generation.

What you get

Tokenized CSS variables, validated component specs, and persuasion-focused slide decks importing design-tokens.css exclusively.

  • design-tokens.json
  • tokens.css
  • Component specification tables

By the numbers

  • Three-layer token architecture: primitive, semantic, component
  • 7 reference guides and 5 automation scripts documented
  • Slide CSVs: 15 deck structures and 25 layout patterns

Files

SKILL.mdMarkdownGitHub ↗

Design System

Token architecture, component specifications, systematic design, slide generation.

When to Use

  • Design token creation
  • Component state definitions
  • CSS variable systems
  • Spacing/typography scales
  • Design-to-code handoff
  • Tailwind theme configuration
  • Slide/presentation generation

Token Architecture

Load: references/token-architecture.md

Three-Layer Structure

Primitive (raw values)
       ↓
Semantic (purpose aliases)
       ↓
Component (component-specific)

Example:

/* Primitive */
--color-blue-600: #2563EB;

/* Semantic */
--color-primary: var(--color-blue-600);

/* Component */
--button-bg: var(--color-primary);

Quick Start

Generate tokens:

node scripts/generate-tokens.cjs --config tokens.json -o tokens.css

Validate usage:

node scripts/validate-tokens.cjs --dir src/

References

TopicFile
Token Architecturereferences/token-architecture.md
Primitive Tokensreferences/primitive-tokens.md
Semantic Tokensreferences/semantic-tokens.md
Component Tokensreferences/component-tokens.md
Component Specsreferences/component-specs.md
States & Variantsreferences/states-and-variants.md
Tailwind Integrationreferences/tailwind-integration.md

Component Spec Pattern

PropertyDefaultHoverActiveDisabled
Backgroundprimaryprimary-darkprimary-darkermuted
Textwhitewhitewhitemuted-fg
Bordernonenonenonemuted-border
Shadowsmmdnonenone

Scripts

ScriptPurpose
generate-tokens.cjsGenerate CSS from JSON token config
validate-tokens.cjsCheck for hardcoded values in code
search-slides.pyBM25 search + contextual recommendations
slide-token-validator.pyValidate slide HTML for token compliance
fetch-background.pyFetch images from Pexels/Unsplash

Templates

TemplatePurpose
design-tokens-starter.jsonStarter JSON with three-layer structure

Integration

With brand: Extract primitives from brand colors/typography With ui-styling: Component tokens → Tailwind config

Skill Dependencies: brand, ui-styling Primary Agents: ui-ux-designer, frontend-developer

Slide System

Brand-compliant presentations using design tokens + Chart.js + contextual decision system.

Source of Truth

FilePurpose
docs/brand-guidelines.mdBrand identity, voice, colors
assets/design-tokens.jsonToken definitions (primitive→semantic→component)
assets/design-tokens.cssCSS variables (import in slides)
assets/css/slide-animations.cssCSS animation library

Slide Search (BM25)

# Basic search (auto-detect domain)
python scripts/search-slides.py "investor pitch"

# Domain-specific search
python scripts/search-slides.py "problem agitation" -d copy
python scripts/search-slides.py "revenue growth" -d chart

# Contextual search (Premium System)
python scripts/search-slides.py "problem slide" --context --position 2 --total 9
python scripts/search-slides.py "cta" --context --position 9 --prev-emotion frustration

Decision System CSVs

FilePurpose
data/slide-strategies.csv15 deck structures + emotion arcs + sparkline beats
data/slide-layouts.csv25 layouts + component variants + animations
data/slide-layout-logic.csvGoal → Layout + break_pattern flag
data/slide-typography.csvContent type → Typography scale
data/slide-color-logic.csvEmotion → Color treatment
data/slide-backgrounds.csvSlide type → Image category (Pexels/Unsplash)
data/slide-copy.csv25 copywriting formulas (PAS, AIDA, FAB)
data/slide-charts.csv25 chart types with Chart.js config

Contextual Decision Flow

1. Parse goal/context
        ↓
2. Search slide-strategies.csv → Get strategy + emotion beats
        ↓
3. For each slide:
   a. Query slide-layout-logic.csv → layout + break_pattern
   b. Query slide-typography.csv → type scale
   c. Query slide-color-logic.csv → color treatment
   d. Query slide-backgrounds.csv → image if needed
   e. Apply animation class from slide-animations.css
        ↓
4. Generate HTML with design tokens
        ↓
5. Validate with slide-token-validator.py

Pattern Breaking (Duarte Sparkline)

Premium decks alternate between emotions for engagement:

"What Is" (frustration) ↔ "What Could Be" (hope)

System calculates pattern breaks at 1/3 and 2/3 positions.

Slide Requirements

ALL slides MUST: 1. Import assets/design-tokens.css - single source of truth 2. Use CSS variables: var(--color-primary), var(--slide-bg), etc. 3. Use Chart.js for charts (NOT CSS-only bars) 4. Include navigation (keyboard arrows, click, progress bar) 5. Center align content 6. Focus on persuasion/conversion

Chart.js Integration

<script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.1/dist/chart.umd.min.js"></script>

<canvas id="revenueChart"></canvas>
<script>
new Chart(document.getElementById('revenueChart'), {
    type: 'line',
    data: {
        labels: ['Sep', 'Oct', 'Nov', 'Dec'],
        datasets: [{
            data: [5, 12, 28, 45],
            borderColor: '#FF6B6B',  // Use brand coral
            backgroundColor: 'rgba(255, 107, 107, 0.1)',
            fill: true,
            tension: 0.4
        }]
    }
});
</script>

Token Compliance

/* CORRECT - uses token */
background: var(--slide-bg);
color: var(--color-primary);
font-family: var(--typography-font-heading);

/* WRONG - hardcoded */
background: #0D0D0D;
color: #FF6B6B;
font-family: 'Space Grotesk';

Reference Implementation

Working example with all features:

assets/designs/slides/claudekit-pitch-251223.html

Command

/slides:create "10-slide investor pitch for ClaudeKit Marketing"

Best Practices

1. Never use raw hex in components - always reference tokens 2. Semantic layer enables theme switching (light/dark) 3. Component tokens enable per-component customization 4. Use HSL format for opacity control 5. Document every token's purpose 6. Slides must import design-tokens.css and use var() exclusively

Related skills

How it compares

Pick design-system over generic UI skills when you need formal token layers, validation scripts, and slide generation—not just component copy-paste.

FAQ

Who is design-system for?

UI designers and frontend developers building tokenized systems and brand-compliant slide decks.

When should I use design-system?

When creating primitive-to-semantic-to-component tokens, validating hardcoded values, or generating Chart.js slides with var() only.

What must every slide include?

Import design-tokens.css, use CSS variables exclusively, Chart.js for charts, and navigation with keyboard arrows and progress bar.

Design & UI/UXuiuxbranding

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.