design-system

द्वारा anthropic

अपने डिज़ाइन सिस्टम का ऑडिट, दस्तावेज़ीकरण या विस्तार करें। घटकों में नामकरण की असंगतियों या हार्डकोडेड मानों की जाँच करने, दस्तावेज़ीकरण लिखने के लिए उपयोग करें...

npx skills add https://github.com/anthropics/knowledge-work-plugins --skill design-system

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

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

  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

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]

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]

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]

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

  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.

anthropic की और Skills

comps-analysis
anthropic
हमेशा इस डेटा स्रोत पदानुक्रम का पालन करें:
official
analyzing-financial-statements
anthropic
यह कौशल निवेश विश्लेषण के लिए वित्तीय विवरण डेटा से प्रमुख वित्तीय अनुपात और मीट्रिक की गणना करता है।
official
applying-brand-guidelines
anthropic
यह कौशल सभी जनरेट किए गए दस्तावेज़ों में रंग, फ़ॉन्ट, लेआउट और संदेश सहित एक समान कॉर्पोरेट ब्रांडिंग और स्टाइलिंग लागू करता है।
official
cookbook-audit
anthropic
एन्थ्रोपिक कुकबुक नोटबुक का एक रूब्रिक के आधार पर ऑडिट करें। जब भी नोटबुक समीक्षा या ऑडिट का अनुरोध किया जाए, इसका उपयोग करें।
official
creating-financial-models
anthropic
यह कौशल डीसीएफ विश्लेषण, संवेदनशीलता परीक्षण, मोंटे कार्लो सिमुलेशन और निवेश के लिए परिदृश्य योजना के साथ एक उन्नत वित्तीय मॉडलिंग सूट प्रदान करता है…
official
action-creator
anthropic
उपयोगकर्ता-विशिष्ट एक-क्लिक कार्रवाई टेम्पलेट बनाता है जो चैट इंटरफ़ेस में क्लिक करने पर ईमेल संचालन निष्पादित करते हैं। उपयोग करें जब उपयोगकर्ता पुन: प्रयोज्य कार्रवाइयाँ चाहता है...
official
docx
anthropic
दस्तावेज़ निर्माण, संपादन और विश्लेषण की व्यापक क्षमता, जिसमें ट्रैक किए गए परिवर्तन, टिप्पणियाँ, फ़ॉर्मेटिंग संरक्षण और टेक्स्ट निष्कर्षण का समर्थन शामिल है। जब Claude…
official
executive-briefing
anthropic
शोध निष्कर्षों को कार्यकारी-तैयार ब्रीफिंग में बदलता है। जब उपयोगकर्ता 'executive', 'briefing', 'C-suite', 'board',… का उल्लेख करता है तो स्वचालित रूप से सक्रिय हो जाता है।
official