Skill Tracer
Skills › Knowledge Work Plugins › design-system

design-system

skill · 190 lines · Apache-2.0 · design/skills/design-system/SKILL.md

The facts

Its description

Audit, document, or extend your design system. Use when checking for naming inconsistencies or hardcoded values across components, writing documentation for a component's variants, states, and accessibility notes, or designing a new pattern that fits the existing system.

The description the agent reads to decide when to use it.

From its settingsline 3

When it starts

The agent sees a description about auditing, documenting, or extending a design system, so it would pick this skill when someone asks to check components for naming inconsistencies or hardcoded values, write up a component's variants and states, or design a new pattern that fits the existing system.

Things a person might say (the model's guesses)

  • “Audit our design system for hardcoded colors and inconsistent component names”
  • “Write documentation for our Button component — variants, states, and accessibility notes”
  • “We need a new toast pattern that fits our existing design system”

A model's summary of when it is used.

A model's reading

What it takes when started

[audit | document | extend] <component or system>

What to type after its name when you start it.

From its settingsline 4

Licence

Apache-2.0, from LICENSE

The terms its author shares it under, which let it be shown here.

From the repositorylicence text

The text

Open on GitHub

Most marks come from matching words in the file, so treat them as pointers.

1---
2name: design-system
3description: Audit, document, or extend your design system. Use when checking for naming inconsistencies or hardcoded values across components, writing documentation for a component's variants, states, and accessibility notes, or designing a new pattern that fits the existing system.
4argument-hint: "[audit | document | extend] <component or system>"
5---
6
7# /design-system
8
9> If you see unfamiliar placeholders or need to check which tools are connected, see [CONNECTORS.md](../../CONNECTORS.md).
11Manage your design system — audit for consistency, document components, or design new patterns.

/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.

Raw lines 1 to 12
13## Usage
15```
16/design-system audit # Full system audit
17/design-system document [component] # Document a component
18/design-system extend [pattern] # Design a new component or pattern
19```

Usage

/design-system audit                    # Full system audit
/design-system document [component]     # Document a component
/design-system extend [pattern]         # Design a new component or pattern
Raw lines 13 to 20
21## Components of a Design System

Components of a Design System

Raw lines 21 to 22
23### Design Tokens
24Atomic values that define the visual language:
25- Colors (brand, semantic, neutral)
26- Typography (scale, weights, line heights)
27- Spacing (scale, component padding)
28- Borders (radius, width)
29- Shadows (elevation levels)
30- Motion (durations, easings)

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)
Raw lines 23 to 31
32### Components
33Reusable UI elements with defined:
34- Variants (primary, secondary, ghost)
35- States (default, hover, active, disabled, loading, error)
36- Sizes (sm, md, lg)
37- Behavior (interactions, animations)
38- Accessibility (ARIA, keyboard)

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)
Raw lines 32 to 39
40### Patterns
41Common UI solutions combining components:
42- Forms (input groups, validation, submission)
43- Navigation (sidebar, tabs, breadcrumbs)
44- Data display (tables, cards, lists)
45- Feedback (toasts, modals, inline messages)

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)
Raw lines 40 to 46
47## Principles
491. **Consistency over creativity** — The system exists so teams don't reinvent the wheel
502. **Flexibility within constraints** — Components should be composable, not rigid
513. **Document everything** — If it's not documented, it doesn't exist
524. **Version and migrate** — Breaking changes need migration paths

Principles

  1. Consistency over creativity — The system exists so teams don't reinvent the wheel
  2. Flexibility within constraints — Components should be composable, not rigid
  3. Document everything — If it's not documented, it doesn't exist
  4. Version and migrate — Breaking changes need migration paths
Raw lines 47 to 53
54## Output — Audit
56```markdown
57## Design System Audit
59### Summary
60**Components reviewed:** [X] | **Issues found:** [X] | **Score:** [X/100]
62### Naming Consistency
63| Issue | Components | Recommendation |
64|-------|------------|----------------|
65| [Inconsistent naming] | [List] | [Standard to adopt] |
67### Token Coverage
68| Category | Defined | Hardcoded Values Found |
69|----------|---------|----------------------|
70| Colors | [X] | [X] instances of hardcoded hex |
71| Spacing | [X] | [X] instances of arbitrary values |
72| Typography | [X] | [X] instances of custom fonts/sizes |
74### Component Completeness
75| Component | States | Variants | Docs | Score |
76|-----------|--------|----------|------|-------|
77| Button | ✅ | ✅ | ⚠️ | 8/10 |
78| Input | ✅ | ⚠️ | ❌ | 5/10 |
80### Priority Actions
811. [Most impactful improvement]
822. [Second priority]
833. [Third priority]
84```

Output — Audit

## Design System Audit

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

### Naming Consistency
| Issue | Components | Recommendation |
|-------|------------|----------------|
| [Inconsistent naming] | [List] | [Standard to adopt] |

### Token Coverage
| Category | Defined | Hardcoded 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
| Component | States | Variants | Docs | Score |
|-----------|--------|----------|------|-------|
| Button | ✅ | ✅ | ⚠️ | 8/10 |
| Input | ✅ | ⚠️ | ❌ | 5/10 |

### Priority Actions
1. [Most impactful improvement]
2. [Second priority]
3. [Third priority]
Raw lines 54 to 85
86## Output — Document
88```markdown
89## Component: [Name]
91### Description
92[What this component is and when to use it]
94### Variants
95| Variant | Use When |
96|---------|----------|
97| [Primary] | [Main actions] |
98| [Secondary] | [Supporting actions] |
100### Props / Properties
101| Property | Type | Default | Description |
102|----------|------|---------|-------------|
103| [prop] | [type] | [default] | [description] |
105### States
106| State | Visual | Behavior |
107|-------|--------|----------|
108| Default | [description] | — |
109| Hover | [description] | [interaction] |
110| Active | [description] | [interaction] |
111| Disabled | [description] | Non-interactive |
112| Loading | [description] | [animation] |
114### Accessibility
115- **Role**: [ARIA role]
116- **Keyboard**: [Tab, Enter, Escape behavior]
117- **Screen reader**: [Announced as...]
119### Do's and Don'ts
120| ✅ Do | ❌ Don't |
121|------|---------|
122| [Best practice] | [Anti-pattern] |
124### Code Example
125[Framework-appropriate code snippet]
126```

Output — Document

## Component: [Name]

### Description
[What this component is and when to use it]

### Variants
| Variant | Use When |
|---------|----------|
| [Primary] | [Main actions] |
| [Secondary] | [Supporting actions] |

### Props / Properties
| Property | Type | Default | Description |
|----------|------|---------|-------------|
| [prop] | [type] | [default] | [description] |

### States
| State | Visual | Behavior |
|-------|--------|----------|
| 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]
Raw lines 86 to 127
128## Output — Extend
130```markdown
131## New Component: [Name]
133### Problem
134[What user need or gap this component addresses]
136### Existing Patterns
137| Related Component | Similarity | Why It's Not Enough |
138|-------------------|-----------|---------------------|
139| [Component] | [What's shared] | [What's missing] |
141### Proposed Design
143#### API / Props
144| Property | Type | Default | Description |
145|----------|------|---------|-------------|
146| [prop] | [type] | [default] | [description] |
148#### Variants
149| Variant | Use When | Visual |
150|---------|----------|--------|
151| [Variant] | [Scenario] | [Description] |
153#### States
154| State | Behavior | Notes |
155|-------|----------|-------|
156| Default | [Description] | — |
157| Hover | [Description] | [Interaction] |
158| Disabled | [Description] | Non-interactive |
159| Loading | [Description] | [Animation] |
161#### Tokens Used
162- Colors: [Which tokens]
163- Spacing: [Which tokens]
164- Typography: [Which tokens]
166### Accessibility
167- **Role**: [ARIA role]
168- **Keyboard**: [Expected interactions]
169- **Screen reader**: [Announced as...]
171### Open Questions
172- [Decision that needs design review]
173- [Edge case to resolve]
174```

Output — Extend

## New Component: [Name]

### Problem
[What user need or gap this component addresses]

### Existing Patterns
| Related Component | Similarity | Why It's Not Enough |
|-------------------|-----------|---------------------|
| [Component] | [What's shared] | [What's missing] |

### Proposed Design

#### API / Props
| Property | Type | Default | Description |
|----------|------|---------|-------------|
| [prop] | [type] | [default] | [description] |

#### Variants
| Variant | Use When | Visual |
|---------|----------|--------|
| [Variant] | [Scenario] | [Description] |

#### States
| State | Behavior | Notes |
|-------|----------|-------|
| Default | [Description] | — |
| Hover | [Description] | [Interaction] |
| Disabled | [Description] | Non-interactive |
| Loading | [Description] | [Animation] |

#### Tokens Used
- Colors: [Which tokens]
- Spacing: [Which tokens]
- Typography: [Which tokens]

### Accessibility
- **Role**: [ARIA role]
- **Keyboard**: [Expected interactions]
- **Screen reader**: [Announced as...]

### Open Questions
- [Decision that needs design review]
- [Edge case to resolve]
Raw lines 128 to 175
176## If Connectors Available
178If **~~design tool** is connected:
179- Audit components directly in Figma — check naming, variants, and token usage
180- Pull component properties and layer structure for documentation
182If **~~knowledge base** is connected:
183- Search for existing component documentation and usage guidelines
184- Publish updated documentation to your wiki

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
Raw lines 176 to 185
Uses an outside tool ~~design :178
Uses an outside tool ~~knowledge :182
186## Tips
1881. **Start with an audit** — Know where you are before deciding where to go.
1892. **Document as you build** — It's easier to document a component while designing it.
1903. **Prioritize coverage over perfection** — 80% of components documented beats 100% of 10 components.

Tips

  1. Start with an audit — Know where you are before deciding where to go.
  2. Document as you build — It's easier to document a component while designing it.
  3. Prioritize coverage over perfection — 80% of components documented beats 100% of 10 components.
Raw lines 186 to 190

From anthropics/knowledge-work-plugins at 2574e29, 2026-10-27. Skills read by DeepSeek V4.1 Flash on 2026-11-04. Summary and techniques by Claude Opus 5.5 on 2026-11-06.