| name | design-system |
| description | Design system module - design tokens, component documentation, cross-skill consistency, and accessibility standards |
| triggers | ["design system","design tokens","component library","style guide","documentation","consistency","accessibility","WCAG","design ops"] |
Design System: Tokens, Standards, and Consistency
A design system is the single source of truth that keeps all design output consistent — across skills, across projects, across time. This module provides the methodology for building and maintaining design systems, from atomic tokens to component documentation.
When to Use This Module
- Starting a new project that will span multiple design skills
- Establishing design tokens (colors, spacing, typography) shared across artifacts
- Documenting component patterns for reuse
- Auditing existing designs for consistency and accessibility
- Bridging the gap between visual design and frontend implementation
Workflow Overview
1. Audit Current State → 2. Define Tokens → 3. Document Components → 4. Review & Enforce
Skills
This module does not wrap existing sub-skills. It provides the connective methodology that makes all other modules work together.
1. Design Token Architecture
Design tokens are the atomic values that feed every other design decision.
Token Hierarchy:
Global Tokens → Alias Tokens → Component Tokens
───────────── ───────────── ─────────────────
color.blue.500 color.primary button.background
space.16 space.md card.padding
font.size.16 font.size.body input.font-size
radius.8 radius.md badge.border-radius
Defining Tokens:
- Inventory: List every unique color, size, font, spacing, radius, shadow, and duration in the current design
- Normalize: Group similar values — if you have
#3B82F6 and #3B83F7, pick one
- Name: Use a semantic naming convention (purpose-based, not value-based)
- Format: Store tokens in a format consumable by all skills:
- CSS custom properties for web (theme-factory, frontend-design, web-artifacts-builder)
- JSON for programmatic use (algorithmic-art, slack-gif-creator)
- Markdown for documentation (brand-guidelines, style-guide template)
Template: Use the style-guide template to document tokens.
2. Component Documentation
Components are reusable patterns built from tokens.
Component Spec Format:
For each component, document:
- Purpose: What this component does and when to use it
- Anatomy: Visual breakdown of constituent parts
- Variants: All supported variations (size, color, state)
- States: Default, hover, focus, active, disabled, error, loading
- Tokens Used: Which design tokens this component consumes
- Accessibility: ARIA roles, keyboard interactions, screen reader behavior
- Do / Don't: Usage guidelines with examples
Component Maturity Scale:
| Level | Name | Criteria |
|---|
| 0 | Concept | Identified need, no implementation |
| 1 | Draft | Single implementation, not reviewed |
| 2 | Ready | Reviewed, documented, accessible |
| 3 | Stable | Used in 2+ contexts, battle-tested |
3. Cross-Skill Consistency
When using multiple design skills in one project, consistency breaks without intentional coordination.
Consistency Checklist:
Integration Points:
| Skill A | Skill B | What to Align |
|---|
| canvas-design | frontend-design | Colors, fonts, spacing |
| algorithmic-art | theme-factory | Color palette, visual density |
| brand-guidelines | all other skills | Full brand constraints |
| slack-gif-creator | theme-factory | Colors, motion easing |
| theme-factory | web-artifacts-builder | CSS custom properties, component styles |
4. Accessibility Standards
Every design output should meet minimum accessibility standards.
WCAG AA Checklist (applicable across all modules):
Perceivable:
Operable (web outputs):
Understandable:
Robust:
5. Design System Governance
Keeping the system alive requires process.
Contribution Workflow:
- Identify a new pattern or token need
- Check if existing tokens/components solve it (avoid duplication)
- If new: propose addition with rationale
- Review: does it fit the existing system? Is it reusable?
- Document: add to style guide, update component docs
- Communicate: inform team of the addition
Audit Cadence:
- Per project: Run design-review-checklist before shipping
- Quarterly: Audit token usage — remove unused, consolidate duplicates
- When adding a skill: Verify new skill's defaults align with system tokens
Module Checklist
Related Modules