PromptShop

Design System

This skill helps manage and maintain a design system. It can audit for consistency, document components, and design new patterns. It's useful for design team...

Install

npx promptshop add design-system

Details

What This Skill Does

This skill helps manage and maintain a design system. It can audit for consistency, document components, and design new patterns. It's useful for design teams, product teams, and anyone looking to ensure a cohesive user experience.

When to Use

  • Audit a design system for inconsistencies.
  • Document a specific UI component.
  • Design a new component or pattern.
  • Ensure consistency across products.
  • Maintain design system documentation.
  • Onboard new team members to the design system.

Key Features

  • Audits design systems for naming and token inconsistencies.
  • Documents components with variants, states, sizes, and behavior.
  • Designs new UI patterns combining existing components.
  • Provides guidance on design tokens, components, and patterns.
  • Offers principles for maintaining a design system.
  • Suggests recommendations for fixing design inconsistencies.

If you see unfamiliar placeholders or need to check which tools are connected, see CONNECTORS.md.

Manage your design system — audit for consistency, document components, or design new patterns.

Usage

/design-system audit # Full system audit /design-system document [component] # Document a component /design-system extend [pattern] # Design a new component or pattern

Components of a Design System

Design Tokens

Atomic values that define the visual language: Colors (brand, semantic, neutral) Typography (scale, weights, line heights) Spacing (scale, component padding) Borders (radius, width) Shadows (elevation levels) Motion (durations, easings)

Components

Reusable UI elements with defined: Variants (primary, secondary, ghost) States (default, hover, active, disabled, loading, error) Sizes (sm, md, lg) Behavior (interactions, animations) Accessibility (ARIA, keyboard)

Patterns

Common UI solutions combining components: Forms (input groups, validation, submission) Navigation (sidebar, tabs, breadcrumbs) Data display (tables, cards, lists) Feedback (toasts, modals, inline messages)

Principles

Consistency over creativity — The system exists so teams don't reinvent the wheel Flexibility within constraints — Components should be composable, not rigid Document everything — If it's not documented, it doesn't exist Version and migrate — Breaking changes need migration paths

Output — Audit

Design System Audit

Summary

Components reviewed: [X] | Issues found: [X] | Score: [X/100]

Naming Consistency

IssueComponentsRecommendation
[Inconsistent naming][List][Standard to adopt]

Token Coverage

CategoryDefinedHardcoded Values Found
Colors[X][X] instances of hardcoded hex
Spacing[X][X] instances of arbitrary values
Typography[X][X] instances of custom fonts/sizes

Component Completeness

ComponentStatesVariantsDocsScore
Button⚠️8/10
Input⚠️5/10

Priority Actions

[Most impactful improvement] [Second priority] [Third priority]

Output — Document

Component: [Name]

Description

[What this component is and when to use it]

Variants

VariantUse When
[Primary][Main actions]
[Secondary][Supporting actions]

Props / Properties

PropertyTypeDefaultDescription
[prop][type][default][description]

States

StateVisualBehavior
Default[description]
Hover[description][interaction]
Active[description][interaction]
Disabled[description]Non-interactive
Loading[description][animation]

Accessibility

Role: [ARIA role] Keyboard: [Tab, Enter, Escape behavior] Screen reader: [Announced as...]

Do's and Don'ts

✅ Do❌ Don't
[Best practice][Anti-pattern]

Code Example

[Framework-appropriate code snippet]

Output — Extend

New Component: [Name]

Problem

[What user need or gap this component addresses]

Existing Patterns

Related ComponentSimilarityWhy It's Not Enough
[Component][What's shared][What's missing]

Proposed Design

API / Props

PropertyTypeDefaultDescription
[prop][type][default][description]

Variants

VariantUse WhenVisual
[Variant][Scenario][Description]

States

StateBehaviorNotes
Default[Description]
Hover[Description][Interaction]
Disabled[Description]Non-interactive
Loading[Description][Animation]

Tokens Used

Colors: [Which tokens] Spacing: [Which tokens] Typography: [Which tokens]

Open Questions

[Decision that needs design review] [Edge case to resolve]

If Connectors Available

If ~~design tool is connected: Audit components directly in Figma — check naming, variants, and token usage Pull component properties and layer structure for documentation

If ~~knowledge base is connected: Search for existing component documentation and usage guidelines Publish updated documentation to your wiki

Tips

Start with an audit — Know where you are before deciding where to go. Document as you build — It's easier to document a component while designing it. Prioritize coverage over perfection — 80% of components documented beats 100% of 10 components./design-system

If you see unfamiliar placeholders or need to check which tools are connected, see CONNECTORS.md.

Manage your design system — audit for consistency, document components, or design new patterns.