
Design System Documenter
- 107 installs
- 178 repo stars
- Updated July 14, 2026
- erichowens/some_claude_skills
Document design systems, component libraries, and design guidelines for teams.
About
Design System Documenter creates comprehensive design system documentation. Generate living documentation for design tokens, components, and patterns.
- Design system documentation generation.
- Component library documentation.
Design System Documenter by the numbers
- 107 all-time installs (skills.sh)
- Ranked #1,097 of 1,880 Design & UI/UX skills by installs in the Skillselion catalog
- Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/erichowens/some_claude_skills --skill design-system-documenterAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 107 |
|---|---|
| repo stars | ★ 178 |
| Last updated | July 14, 2026 |
| Repository | erichowens/some_claude_skills ↗ |
What it does
Document design systems, component libraries, and design guidelines for teams.
Files
Design System Documenter
Transform raw design tokens into developer-friendly documentation with usage examples, accessibility notes, and implementation guidelines.
Quick Start
Minimal example - document a token file:
Input: Generated tokens.json or CSS variables file
Output: Complete documentation with:
- Token reference tables
- Usage examples in code
- Accessibility annotations
- Do/Don't examplesKey principle: Documentation should answer "when do I use this?" not just "what is this?".
Core Mission
Bridge the gap between generated tokens and developer adoption by creating documentation that: 1. Explains when to use each token (not just what it is) 2. Shows real code examples for common scenarios 3. Highlights accessibility considerations 4. Prevents misuse with anti-pattern examples
When to Use
✅ Use when:
- Just generated design tokens and need docs
- Team struggles with "which token do I use?"
- Onboarding new developers to design system
- Creating a public design system site
❌ Do NOT use when:
- Need to generate tokens (use design-system-generator first)
- Need component code (use component-template-generator)
- Documenting non-design-system code (use docs-architect)
Documentation Structure
1. Token Reference Tables
For each token category, generate tables with:
| Token | Value | Usage | Accessibility |
|---|---|---|---|
--color-primary | #FF5252 | CTAs, links, emphasis | ✅ 4.5:1 on white |
--color-border | #000000 | All borders, dividers | — |
2. Usage Guidelines
## Color Tokens
### Primary Colors
Use primary colors for:
- Call-to-action buttons
- Interactive links
- Important highlights
Do NOT use for:
- Body text
- Background fills (too saturated)
- Disabled states
### Code Example.button-primary { background: var(--color-primary); color: var(--color-text-on-primary); border: var(--border-width) solid var(--color-border); }
3. Visual Examples
Include visual swatches and demonstrations:
## Shadow Tokens
| Name | Preview | CSS Value |
|------|---------|-----------|
| shadow-sm | [2px offset visual] | `2px 2px 0 0 #000` |
| shadow-md | [4px offset visual] | `4px 4px 0 0 #000` |
| shadow-lg | [6px offset visual] | `6px 6px 0 0 #000` |
### Interaction States
- **Default**: `shadow-md`
- **Hover**: `shadow-lg` + translate(-2px, -2px)
- **Active**: `shadow-sm` + translate(2px, 2px)4. Accessibility Section
## Accessibility
### Color Contrast
| Combination | Ratio | WCAG Level |
|-------------|-------|------------|
| Primary on White | 4.8:1 | ✅ AA |
| Primary on Cream | 4.2:1 | ⚠️ AA Large only |
| Text on Primary | 8.2:1 | ✅ AAA |
### Motion
All animations respect `prefers-reduced-motion`:@media (prefers-reduced-motion: reduce) {
- { animation-duration: 0.01ms !important; }
}
5. Do/Don't Examples
## Common Mistakes
### ❌ Don't: Use shadow-lg on small elements
Small elements with large shadows look unbalanced.
### ✅ Do: Scale shadow with element size
- Small buttons: shadow-sm
- Cards: shadow-md
- Modals: shadow-lg
### ❌ Don't: Mix border styles
Inconsistent borders break visual rhythm.
### ✅ Do: Use consistent border tokens
Always use `--border-width` (3px) for neobrutalist consistency.Output Formats
Markdown (Default)
Complete .md file for docs sites:
- Docusaurus/VitePress compatible
- Includes frontmatter for navigation
- Code blocks with syntax highlighting
MDX (React docs)
Same as Markdown plus:
- Interactive color swatches
- Live code examples
- Token preview components
Storybook
Documentation stories:
- Token showcase pages
- Interactive controls
- Design token addon integration
Documentation Workflow
1. design-system-generator → tokens.json / tokens.css
2. design-system-documenter → tokens-docs.md
3. Review and customize
4. Publish to docs siteTemplate: Token Documentation Page
---
title: Design Tokens
description: Complete reference for [Project] design tokens
---
# Design Tokens
Generated from [trend-name] design trend.
## Quick Reference
| Category | Tokens | Description |
|----------|--------|-------------|
| Colors | 12 | Primary, neutral, semantic |
| Typography | 8 | Fonts, sizes, weights |
| Spacing | 15 | 0-24 scale |
| Shadows | 5 | Size and state variants |
## Colors
### Primary Palette
[Token table with hex, usage, accessibility]
### Neutral Palette
[Token table]
### Semantic Colors
[Token table for success, warning, error, info]
## Typography
### Font Families
[Token table with font stacks and usage]
### Font Sizes
[Scale table with px/rem values]
## Spacing
### Spacing Scale
[0-24 scale with rem values]
## Shadows
### Shadow Variants
[Visual examples with code]
## Usage Examples
### Button Component
[Complete code example using tokens]
### Card Component
[Complete code example using tokens]
## Accessibility
### Contrast Ratios
[All color combinations with WCAG levels]
### Motion Preferences
[Reduced motion handling]
## Migration Guide
### From Arbitrary Values
[Before/after examples]See Also
References
references/documentation-templates.md- Docusaurus, VitePress, Storybook, README templatesreferences/design-system-references.md- NEW: Real-world design system references- Enterprise: Elastic UI, Red Hat PatternFly, Morningstar
- Accessibility-first: Ariakit, Radix UI
- Modern: HeroUI, shadcn/ui, Neobrutalism.dev
- Framework-agnostic: Web Awesome, Shoelace
- Award-winning sites from Awwwards for inspiration
- Framer template categories (2900+ business, 1700+ creative)
Related Skills
- design-system-generator - Generate tokens first (24 trends, 31 styles)
- component-template-generator - Create component code from tokens
Design System References
Real-world design systems from Component Gallery (95 systems, 2680 examples). Use for documentation best practices and pattern references.
Featured Design Systems
Enterprise-Grade
| System | Tech Stack | Strengths | URL |
|---|---|---|---|
| Elastic UI | React, CSS-in-JS | Data-heavy, enterprise dashboards | https://eui.elastic.co/ |
| Red Hat PatternFly | Web Components | Enterprise Linux, accessibility | https://ux.redhat.com/ |
| Morningstar | Vue | Financial data, charting | https://design.morningstar.com/systems/product |
| Sainsbury's | React, Sass | Retail, comprehensive | https://design-systems.sainsburys.co.uk/ |
Accessibility-First
| System | Tech Stack | Strengths | URL |
|---|---|---|---|
| Ariakit | React | Accessibility primitives | https://ariakit.org/ |
| Radix UI | React | Unstyled, accessible | https://radix-ui.com/ |
Modern/Tailwind-Native
| System | Tech Stack | Strengths | URL |
|---|---|---|---|
| HeroUI | React, Tailwind | Beautiful defaults | https://www.heroui.com/ |
| shadcn/ui | React, Tailwind | Copy-paste components | https://ui.shadcn.com/ |
| Neobrutalism.dev | React, Tailwind, shadcn | Neobrutalist variant | https://www.neobrutalism.dev/ |
Framework-Agnostic
| System | Tech Stack | Strengths | URL |
|---|---|---|---|
| Web Awesome | Web Components | Works everywhere | https://webawesome.com/ |
| Shoelace | Web Components | Modern primitives | https://shoelace.style/ |
Documentation Patterns
Elastic UI Documentation Structure
Best for: Enterprise systems, data-heavy components
Overview
├── Getting Started
├── Installation
├── Theming
└── Accessibility
Components
├── Layout
│ ├── Grid
│ ├── Flex
│ └── Spacer
├── Display
│ ├── Avatar
│ ├── Badge
│ └── Card
├── Forms
│ ├── Button
│ ├── Input
│ └── Select
└── Data Display
├── Table
├── List
└── Tree
Patterns
├── Dashboard Layouts
├── Form Patterns
└── Data Loading
Utilities
├── Colors
├── Sizing
└── Animationshadcn/ui Documentation Structure
Best for: Modern component libraries, developer-focused
Introduction
├── Installation
├── Configuration
├── Dark Mode
└── Typography
Components (alphabetical)
├── Accordion
├── Alert
├── Avatar
├── Badge
...
└── Tooltip
Themes
├── Default
├── New York
└── Creating Themes
Examples
├── Dashboard
├── Cards
├── Authentication
└── FormsAward-Winning Sites for Reference
From Awwwards UI Design category (crawled 2026-01-31):
| Site | Specialty | Notable For |
|---|---|---|
| Snowflake Studio | Agency | Clean transitions |
| Hemi Network | Web3 | Gradient mastery |
| Gielly Green | E-commerce | Elegant product display |
| Voku.Studio | Portfolio | Typography excellence |
| Jesko Jets | Luxury | Scroll storytelling |
| Chromia | Blockchain | Data visualization |
What Award-Winners Do Well
Typography
- Custom fonts or striking pairings
- Generous line-height for readability
- Scale contrast between headlines and body
Animation
- Scroll-driven reveals (not random movement)
- Micro-interactions on hover/focus
- Page transitions that feel intentional
Color
- Limited palettes (3-5 colors max)
- Strategic use of accent color
- Consistent application across states
Framer Template Categories
Template marketplace data for understanding market segments:
| Category | Count | Price Range |
|---|---|---|
| Business | 2,900 | Free - $79 |
| Creative | 1,700 | Free - $79 |
| Style | 2,300 | Free - $49 |
| Free | 1,400 | Free |
| Community | 213 | Varies |
Popular Template Patterns
Business Templates
- Hero with CTA and social proof
- Feature grid (3-4 columns)
- Testimonial carousel
- Pricing table
- FAQ accordion
- Newsletter signup footer
Creative Templates
- Full-screen hero with video/animation
- Project grid (masonry or bento)
- About with team photos
- Process/timeline visualization
- Contact form
Documentation Best Practices
From Elastic UI
Do:
- Show component in all states (default, hover, focus, disabled, error)
- Include "When to use" and "When not to use" sections
- Provide copy-paste code snippets
- Document all props with types and defaults
- Show responsive behavior
Avoid:
- Documenting internal implementation details
- Showing every possible prop combination
- Using placeholder text that doesn't represent real usage
From shadcn/ui
Do:
- Lead with a visual example
- Show installation command prominently
- Include multiple usage examples
- Document customization via className/variants
- Link to related components
Avoid:
- Hiding the code behind tabs initially
- Over-explaining obvious props
- Documenting CSS classes instead of semantic usage
From Ariakit
Do:
- Lead with accessibility requirements
- Show keyboard navigation patterns
- Document ARIA attributes and their effects
- Include screen reader testing notes
- Provide focus management examples
Avoid:
- Assuming visual-only usage
- Ignoring reduced-motion preferences
- Using color alone to convey state
Component Gallery Statistics
Reference counts when documenting coverage:
| Component Type | Systems Implementing | Examples |
|---|---|---|
| Carousel | High | 60+ |
| Tree view | Medium | 40+ |
| Popover | High | 70+ |
| Rating | Medium | 35+ |
| Accordion | High | 80+ |
| Quote | Low | 20+ |
| Pagination | High | 75+ |
| Tabs | High | 90+ |
Use these stats to:
- Prioritize documentation (high-count = common need)
- Reference established patterns (link to similar implementations)
- Identify gaps (low-count = opportunity for innovation)
Documentation Deliverables Checklist
When documenting a design system:
Tokens Documentation
- [ ] Color palette with hex values and usage
- [ ] Typography scale with font stacks
- [ ] Spacing scale with rem/px values
- [ ] Shadow definitions
- [ ] Border radius values
- [ ] Animation timing/easing
- [ ] Breakpoint definitions
Component Documentation
- [ ] Visual preview of all variants
- [ ] Props table with types
- [ ] Usage examples (code + preview)
- [ ] Accessibility notes
- [ ] Keyboard navigation
- [ ] Mobile considerations
- [ ] Related components
Pattern Documentation
- [ ] When to use pattern
- [ ] Layout requirements
- [ ] Component composition
- [ ] Responsive behavior
- [ ] Edge cases
Getting Started
- [ ] Installation (npm/yarn/pnpm)
- [ ] Configuration (tailwind.config, etc.)
- [ ] First component example
- [ ] Theming setup
- [ ] Dark mode setup
Documentation Templates
Docusaurus/VitePress Template
````markdown --- sidebar_position: 1 title: Design Tokens description: Complete design token reference for [Project Name] ---
import ColorSwatch from '@site/src/components/ColorSwatch';
Design Tokens
This page documents all design tokens generated from the [trend-name] design trend.
Installation
CSS Variables
@import 'path/to/tokens.css';Tailwind
// tailwind.config.js
import tokens from './tokens/tailwind.config';
export default {
theme: { extend: tokens.theme.extend }
};Color Tokens
Primary Colors
| Token | Value | Preview | Usage |
|---|---|---|---|
--color-primary | #HEX | <ColorSwatch color="#HEX" /> | CTAs, links |
[Continue for all color tokens...]
Typography Tokens
Font Families
| Token | Value | Usage |
|---|---|---|
--font-display | "Font Name", fallback | Headlines, hero text |
--font-body | "Font Name", fallback | Body copy, UI text |
Font Scale
| Token | Size | Line Height | Usage |
|---|---|---|---|
--font-size-xs | 0.75rem (12px) | 1.5 | Captions, labels |
--font-size-sm | 0.875rem (14px) | 1.5 | Secondary text |
--font-size-base | 1rem (16px) | 1.5 | Body text |
--font-size-lg | 1.125rem (18px) | 1.5 | Lead paragraphs |
--font-size-xl | 1.25rem (20px) | 1.25 | Section headings |
--font-size-2xl | 1.5rem (24px) | 1.25 | Page headings |
--font-size-3xl | 1.875rem (30px) | 1.25 | Display text |
--font-size-4xl | 2.25rem (36px) | 1.1 | Hero headlines |
Spacing Tokens
Spacing Scale
| Token | Value | Usage |
|---|---|---|
--spacing-0 | 0 | Reset margins |
--spacing-1 | 0.25rem (4px) | Tight gaps |
--spacing-2 | 0.5rem (8px) | Icon gaps |
--spacing-3 | 0.75rem (12px) | Form elements |
--spacing-4 | 1rem (16px) | Standard gap |
--spacing-6 | 1.5rem (24px) | Section padding |
--spacing-8 | 2rem (32px) | Card padding |
--spacing-12 | 3rem (48px) | Section margins |
--spacing-16 | 4rem (64px) | Page sections |
Shadow Tokens
Shadow Scale
| Token | Value | Usage |
|---|---|---|
--shadow-sm | [value] | Subtle elevation |
--shadow-md | [value] | Cards, buttons |
--shadow-lg | [value] | Modals, dropdowns |
Interactive Shadows
| State | Token | Transform |
|---|---|---|
| Default | --shadow-md | none |
| Hover | --shadow-hover | translate(-2px, -2px) |
| Active | --shadow-active | translate(2px, 2px) |
Border Tokens
| Token | Value | Usage |
|---|---|---|
--border-width | 3px | Standard borders |
--border-color | #000000 | All borders |
--radius-sm | 2px | Subtle rounding |
--radius-md | 4px | Default rounding |
Accessibility
Contrast Ratios
| Foreground | Background | Ratio | Level |
|---|---|---|---|
--color-text | --color-bg | 14:1 | ✅ AAA |
--color-primary | --color-bg | 4.8:1 | ✅ AA |
Reduced Motion
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
}
}````
Storybook Template
// design-tokens.stories.tsx
import type { Meta, StoryObj } from '@storybook/react';
const meta: Meta = {
title: 'Design System/Tokens',
parameters: {
docs: {
description: {
component: 'Complete design token reference',
},
},
},
};
export default meta;
export const Colors: StoryObj = {
render: () => (
<div className="token-grid">
{Object.entries(colorTokens).map(([name, value]) => (
<div key={name} className="token-item">
<div
className="color-swatch"
style={{ backgroundColor: value }}
/>
<code>{name}</code>
<span>{value}</span>
</div>
))}
</div>
),
};
export const Typography: StoryObj = {
render: () => (
<div className="type-scale">
{fontSizes.map(({ name, value }) => (
<p key={name} style={{ fontSize: value }}>
{name}: The quick brown fox
</p>
))}
</div>
),
};
export const Shadows: StoryObj = {
render: () => (
<div className="shadow-grid">
{shadows.map(({ name, value }) => (
<div key={name} className="shadow-item" style={{ boxShadow: value }}>
{name}
</div>
))}
</div>
),
};README Template
````markdown
[Project] Design System
Design tokens generated from [trend-name] design trend.
Quick Start
npm install @project/tokensCSS
@import '@project/tokens/css';
.my-component {
color: var(--color-primary);
font-family: var(--font-body);
padding: var(--spacing-4);
}Tailwind
// tailwind.config.js
const tokens = require('@project/tokens/tailwind');
module.exports = {
theme: {
extend: tokens.theme.extend,
},
};JavaScript/TypeScript
import { colors, typography } from '@project/tokens';
const styles = {
color: colors.primary,
fontFamily: typography.body,
};Token Categories
- Colors: 12 semantic color tokens
- Typography: 2 font families, 8 size scales
- Spacing: 15-point spacing scale
- Shadows: 5 elevation levels
- Borders: Width, color, and radius tokens
Documentation
Full documentation: [link to docs site]
License
MIT ````