Skip to content
design-system logo

Design System Skill

design-system

Design system management for building and reusing UI components, tokens, and patterns. Use when working with component libraries, design tokens, style guides, or reusable UI patterns to ensure consistency and promote component reuse.

jpoutrin/product-forge0installs16stars

SKILL.md

Full skill instructions

Design System Skill

This skill automatically activates when working with design systems, component libraries, or reusable UI patterns. It ensures consistency and promotes component reuse across projects.

Core Principle

BUILD ONCE, USE EVERYWHERE

❌ Duplicating UI code across components
✅ Building reusable, documented design system components

Automatic Behaviors

When this skill activates, Claude will:

1. Identify Design System Opportunities

Automatically detect when code could benefit from design system patterns:

PatternDetectionRecommendation
Repeated stylesSame CSS in multiple placesExtract to design token
Similar componentsComponents with slight variationsCreate variant system
Magic numbersHard-coded values (colors, spacing)Replace with tokens
Inconsistent namingDifferent names for same conceptStandardize naming
Missing documentationUndocumented componentsAdd usage docs

2. Design Token Architecture

DESIGN TOKEN STRUCTURE
════════════════════════════════════════════════════════════

PRIMITIVE TOKENS (Raw Values)
└── color.blue.500: "#3b82f6"
└── space.4: "16px"
└── font.size.base: "16px"

SEMANTIC TOKENS (Purpose-Based)
└── color.primary: "{color.blue.500}"
└── spacing.component: "{space.4}"
└── text.body: "{font.size.base}"

COMPONENT TOKENS (Component-Specific)
└── button.background: "{color.primary}"
└── button.padding: "{spacing.component}"
└── button.fontSize: "{text.body}"

3. Component Structure

COMPONENT ORGANIZATION (Atomic Design)
════════════════════════════════════════════════════════════

src/​components/
├── atoms/                    # Smallest building blocks
│   ├── Button/
│   ├── Input/
│   ├── Icon/
│   └── Text/
│
├── molecules/                # Combinations of atoms
│   ├── FormField/
│   ├── SearchBox/
│   └── Card/
│
├── organisms/                # Complex UI sections
│   ├── Header/
│   ├── Sidebar/
│   └── DataTable/
│
└── templates/                # Page layouts
    ├── DashboardLayout/
    └── AuthLayout/

4. Component File Structure

Button/
├── Button.tsx           # Component implementation
├── Button.styles.ts     # Styles (CSS modules or styled)
├── Button.types.ts      # TypeScript interfaces
├── Button.test.tsx      # Unit tests
├── Button.stories.tsx   # Storybook documentation
└── index.ts             # Public exports

Warning Triggers

Automatically warn user when:

  1. Hard-coded values detected

    "⚠️ DESIGN SYSTEM: Consider replacing hard-coded value with design token"

  2. Duplicate styles found

    "⚠️ DESIGN SYSTEM: This style exists in [component]. Consider extracting to shared token"

  3. Missing documentation

    "⚠️ DESIGN SYSTEM: Component missing Storybook story or usage documentation"

  4. Inconsistent naming

    "⚠️ DESIGN SYSTEM: Naming pattern differs from existing components"

  5. Component too complex

    "⚠️ DESIGN SYSTEM: Consider breaking this into smaller atomic components"

Design System Checklist

📋 Design System Audit

□ TOKENS
  □ Color primitives defined
  □ Semantic color tokens exist
  □ Spacing scale consistent
  □ Typography scale defined

□ COMPONENTS
  □ Atomic structure followed
  □ Components are documented
  □ TypeScript types defined
  □ Accessibility tested

□ PATTERNS
  □ Layout patterns documented
  □ Form patterns standardized
  □ Error handling consistent
  □ Loading states defined

More skills from jpoutrin

mcp-security logo
jpoutrin/product-forge

mcp-security

Use when securing MCP servers, preventing prompt injection, implementing authorization, validating user input, or building secure multi-agent pipelines. Provides 5-layer defense architecture patterns.

16 0
View
create-skill logo
jpoutrin/product-forge

create-skill

Create a new Claude Code agent skill with proper folder structure and SKILL.md format. Use when the user wants to add a model-invoked skill that Claude uses autonomously based on context. Handles skill folder creation with SKILL.md and optional reference files.

16 0
View
fastmcp logo
jpoutrin/product-forge

fastmcp

FastMCP TypeScript framework patterns for MCP servers. Auto-loads when building MCP servers, creating tools/resources/prompts, implementing authentication, configuring transports, or working with FastMCP in TypeScript.

16 0
View
portman logo
jpoutrin/product-forge

portman

Port management for local development with git worktrees. Use when setting up local development environments, booking ports for services to avoid collisions between parallel worktrees, or configuring docker-compose with dynamic ports.

16 0
View
qa-test-management logo
jpoutrin/product-forge

qa-test-management

Automatic QA test lifecycle management, naming conventions, and directory structure. Use when creating, organizing, or tracking QA tests to ensure proper naming, directory structure, and status transitions.

16 0
View
create-command logo
jpoutrin/product-forge

create-command

Create a new Claude Code slash command with proper YAML frontmatter structure. Use when the user wants to add a custom slash command to a plugin. Handles command file creation with description, argument hints, allowed tools, and all advanced features.

16 0
View
dependency-alignment logo
jpoutrin/product-forge

dependency-alignment

Dependency version alignment and conflict resolution for parallel development. Use when extracting dependencies from Tech Specs to ensure version compatibility with existing project dependencies and transitive dependencies.

16 0
View
code-review logo
jpoutrin/product-forge

code-review

Review code changes between commits for security, logic, performance, and style issues

16 0
View
create-persona logo
jpoutrin/product-forge

create-persona

Create detailed user persona with guided questions

16 0
View
bl-sync logo
jpoutrin/product-forge

bl-sync

Sync git-branchless stack with main branch - fetch, rebase, and handle merges

16 0
View
bl-undo logo
jpoutrin/product-forge

bl-undo

Undo git-branchless operations - recover from mistakes interactively

16 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View