design-system-starter
Skill9 starsChanged 3 months agoMITView on GitHub
Create and evolve design systems with design tokens, component architecture, and accessibility guidelines. Use when user asks to "create design system", "design tokens", "component library", "style guide", or when starting a frontend project that needs consistent UI foundation.
8 other projects use a version of this, 6 of them edited.
Adopted by
Most recently taken up by
- Hahuyphananh/GRYNDtheir own version, first seen Nov 29, 2026
- Ivan-propio/claude-skillsedited, first seen Nov 16, 2026
- imMamdouhaboammar/kaku-chatgpt-harnessedited, first seen Oct 25, 2026
- naman10parikh/pixeledited, first seen Oct 25, 2026
- Samueladewole/claude-skillsedited, first seen Oct 13, 2026
- taeeho/ClaudeSkillsedited, first seen May 20, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 6
- imMamdouhaboammar/kaku-chatgpt-harness★ 072% same
- Ivan-propio/claude-skills★ 072% same
- naman10parikh/pixel★ 072% same
- nbirkner/digital-brain★ 071% same
- Samueladewole/claude-skills★ 072% same
- taeeho/ClaudeSkills★ 072% same
Wrote their own version · 2
- ai4brands-design/claude-skills★ 2same name
- Hahuyphananh/GRYND★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository110 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/orchestrator/mcp-server/AGENTS.mdAGENTS.md
- skills/supabase-postgres-best-practices/AGENTS.mdAGENTS.md
- skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- agent-md-refactorSkill
- agent-team-codexSkill
- agent-teamSkill
- antigravity-mnemoSkill
- antigravitySkill
- api-handoffSkill
- api-testerSkill
- argosSkill
- atlasSkill
- auto-continue-loopSkill
- autoresearchSkill
- biz-strategySkill
- ceoSkill
- clioSkill
- code-reviewerSkill
- codex-mnemoSkill
- codexSkill
- command-creatorSkill
- commit-workSkill
- consistency-auditSkill
- crafting-effective-readmesSkill
- daily-meeting-updateSkill
- database-schema-designerSkill
- datadog-cliSkill
- data-visualizationSkill
- dependency-updaterSkill
- deprecation-and-migrationSkill
- design-planSkill
- devin-mnemoSkill
- diagram-designSkill
- docker-db-backupSkill
- docker-deploySkill
- documentation-and-adrsSkill
- docxSkill
- domain-dictionarySkill
- domain-name-brainstormerSkill
- dotnet-coding-standardsSkill
- draw-ioSkill
- estimateSkill
- excalidrawSkill
- excel2mdSkill
- explainSkill
- find-skillsSkill
- flow-verifierSkill
- frontend-designSkill
- fullstack-coding-standardsSkill
- game-changing-featuresSkill
- grok-mnemoSkill
- gs-certificationSkill
- health-dataSkill
- hestiaSkill
- humanizerSkill
- irisSkill
- jiraSkill
- ko-en-translatorSkill
- llm-provider-setupSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
10 rules. 9 are common, 0 are distinctive, and 1 is very specific to this project.
9
Common
Most of the 8 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 340
Tools: Use contrast checkers like WebAIM Contrast Checker
- Very specific: line 368
Use semantic HTML elements (<button>, <nav>, <main>)
- Common: line 369
Avoid div/span soup for interactive elements
- Common: line 382
Usage: Import statement and basic example
- Common: line 388
Use Storybook, Docusaurus, or similar tools for interactive documentation.
- Common: line 400
Design in Figma: Create component library
- Common: line 405
Build atoms first: Start with primitives
- Common: line 407
Document as you go: Write docs alongside code
- Common: line 418
Changelog: Document all changes
- Common: line 425
When creating a new design system:
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Design System Starter
Build robust, scalable design systems that ensure visual consistency and exceptional user experiences.
Quick Start
Just describe what you need:
Create a design system for my React app with dark mode supportThat's it. The skill provides tokens, components, and accessibility guidelines.
Triggers
| Trigger | Example |
| Create design system | "Create a design system for my app" |
| Design tokens | "Set up design tokens for colors and spacing" |
| Component architecture | "Design component structure using atomic design" |
| Accessibility | "Ensure WCAG 2.1 compliance for my components" |
| Dark mode | "Implement theming with dark mode support" |
Quick Reference
| Task | Output |
| Design tokens | Color, typography, spacing, shadows JSON |
| Component structure | Atomic design hierarchy (atoms, molecules, organisms) |
| Theming | CSS variables or ThemeProvider setup |
| Accessibility | WCAG 2.1 AA compliant patterns |
| Documentation | Component docs with props, examples, a11y notes |
Bundled Resources
references/component-examples.md- Complete component implementationstemplates/design-tokens-template.json- W3C design token formattemplates/component-template.tsx- React component templatechecklists/design-system-checklist.md- Design system audit checklist
Design System Philosophy
What is a Design System?
A design system is more than a component library—it's a collection of:
- Design Tokens: Foundational design decisions (colors, spacing, typography)
- Components: Reusable UI building blocks
- Patterns: Common UX solutions and compositions
- Guidelines: Rules, principles, and best practices
- Documentation: How to use everything effectively
Core Principles
1. Consistency Over Creativity
- Predictable patterns reduce cognitive load
- Users learn once, apply everywhere
- Designers and developers speak the same language
2. Accessible by Default
- WCAG 2.1 Level AA compliance minimum
- Keyboard navigation built-in
- Screen reader support from the start
3. Scalable and Maintainable
- Design tokens enable global changes
- Component composition reduces duplication
- Versioning and deprecation strategies
4. Developer-Friendly
- Clear API contracts
- Comprehensive documentation
- Easy to integrate and customize
Design Tokens
Design tokens are the atomic design decisions that define your system's visual language.
Token Categories
| Category | Purpose | Key Decisions |
| Color | Primitive (50-950 scale) + Semantic (brand, text, bg, feedback) | WCAG 2.1 AA contrast ratios |
| Typography | Font family, size scale, weight, line-height | Base 16px, modular scale |
| Spacing | 4px or 8px base scale (0-24) + component-specific | Consistent multiplier |
| Border Radius | none → sm → base → md → lg → xl → 2xl → full | Match brand personality |
| Shadow | xs → sm → base → md → lg → xl | Elevation hierarchy |
상세 JSON 예시: references/design-tokens.md — 각 카테고리별 전체 토큰 값 포함
Component Architecture
Atomic Design Methodology
Atoms → Molecules → Organisms → Templates → Pages
Atoms (Primitive Components)
Basic building blocks that can't be broken down further.
Examples:
- Button
- Input
- Label
- Icon
- Badge
- Avatar
Button Component:
interface ButtonProps {
variant?: 'primary' | 'secondary' | 'outline' | 'ghost';
size?: 'sm' | 'md' | 'lg';
disabled?: boolean;
loading?: boolean;
icon?: React.ReactNode;
children: React.ReactNode;
}See references/component-examples.md for complete Button implementation with variants, sizes, and styling patterns.
Molecules (Simple Compositions)
Groups of atoms that function together.
Examples:
- SearchBar (Input + Button)
- FormField (Label + Input + ErrorMessage)
- Card (Container + Title + Content + Actions)
FormField Molecule:
interface FormFieldProps {
label: string;
name: string;
error?: string;
hint?: string;
required?: boolean;
children: React.ReactNode;
}See references/component-examples.md for FormField, Card (compound component pattern), Input with variants, Modal, and more composition examples.
Organisms (Complex Compositions)
Complex UI components made of molecules and atoms.
Examples:
- Navigation Bar
- Product Card Grid
- User Profile Section
- Modal Dialog
Templates (Page Layouts)
Page-level structures that define content placement.
Examples:
- Dashboard Layout (Sidebar + Header + Main Content)
- Marketing Page Layout (Hero + Features + Footer)
- Settings Page Layout (Tabs + Content Panels)
Pages (Specific Instances)
Actual pages with real content.
Component API Design
Props Best Practices
1. Predictable Prop Names
// ✅ Good: Consistent naming
<Button variant="primary" size="md" />
<Input variant="outlined" size="md" />
// ❌ Bad: Inconsistent
<Button type="primary" sizeMode="md" />
<Input style="outlined" inputSize="md" />2. Sensible Defaults
// ✅ Good: Provides defaults
interface ButtonProps {
variant?: 'primary' | 'secondary'; // Default: primary
size?: 'sm' | 'md' | 'lg'; // Default: md
}
// ❌ Bad: Everything required
interface ButtonProps {
variant: 'primary' | 'secondary';
size: 'sm' | 'md' | 'lg';
color: string;
padding: string;
}3. Composition Over Configuration
// ✅ Good: Composable
<Card>
<Card.Header>
<Card.Title>Title</Card.Title>
</Card.Header>
<Card.Body>Content</Card.Body>
<Card.Footer>Actions</Card.Footer>
</Card>
// ❌ Bad: Too many props
<Card
title="Title"
content="Content"
footerContent="Actions"
hasHeader={true}
hasFooter={true}
/>4. Polymorphic Components Allow components to render as different HTML elements:
<Button as="a" href="/login">Login</Button>
<Button as="button" onClick={handleClick}>Click Me</Button>See references/component-examples.md for complete polymorphic component TypeScript patterns.
Theming and Dark Mode
Theme Structure
interface Theme {
colors: {
brand: {
primary: string;
secondary: string;
};
text: {
primary: string;
secondary: string;
};
background: {
primary: string;
secondary: string;
};
feedback: {
success: string;
warning: string;
error: string;
info: string;
};
};
typography: {
fontFamily: {
sans: string;
mono: string;
};
fontSize: Record<string, string>;
};
spacing: Record<string, string>;
borderRadius: Record<string, string>;
shadow: Record<string, string>;
}Dark Mode Implementation
Approach 1: CSS Variables
:root {
--color-bg-primary: #ffffff;
--color-text-primary: #000000;
}
[data-theme="dark"] {
--color-bg-primary: #1a1a1a;
--color-text-primary: #ffffff;
}Approach 2: Tailwind CSS Dark Mode
<div className="bg-white dark:bg-gray-900 text-gray-900 dark:text-white">
Content
</div>Approach 3: Styled Components ThemeProvider
const lightTheme = { background: '#fff', text: '#000' };
const darkTheme = { background: '#000', text: '#fff' };
<ThemeProvider theme={isDark ? darkTheme : lightTheme}>
<App />
</ThemeProvider>Accessibility Guidelines
WCAG 2.1 Level AA Compliance
Color Contrast
- Normal text (< 18pt): 4.5:1 minimum
- Large text (≥ 18pt or ≥ 14pt bold): 3:1 minimum
- UI components: 3:1 minimum
Tools: Use contrast checkers like WebAIM Contrast Checker
Keyboard Navigation
// ✅ All interactive elements must be keyboard accessible
<button
onClick={handleClick}
onKeyDown={(e) => e.key === 'Enter' && handleClick()}
>
Click me
</button>
// ✅ Focus management
<Modal>
<FocusTrap>
{/* Modal content */}
</FocusTrap>
</Modal>ARIA Attributes
Essential ARIA patterns:
aria-label: Provide accessible namesaria-expanded: Communicate expanded/collapsed statearia-controls: Associate controls with contentaria-live: Announce dynamic content changes
Screen Reader Support
- Use semantic HTML elements (
<button>,<nav>,<main>) - Avoid div/span soup for interactive elements
- Provide meaningful labels for all controls
See references/component-examples.md for complete accessibility examples including Skip Links, focus traps, and ARIA patterns.
Documentation Standards
Component Documentation Template
Each component should document:
- Purpose: What the component does
- Usage: Import statement and basic example
- Variants: Available visual styles
- Props: Complete prop table with types, defaults, descriptions
- Accessibility: Keyboard support, ARIA attributes, screen reader behavior
- Examples: Common use cases with code
Use Storybook, Docusaurus, or similar tools for interactive documentation.
See templates/component-template.tsx for the standard component structure.
Design System Workflow
1. Design Phase
- Audit existing patterns: Identify inconsistencies
- Define design tokens: Colors, typography, spacing
- Create component inventory: List all needed components
- Design in Figma: Create component library
2. Development Phase
- Set up tooling: Storybook, TypeScript, testing
- Implement tokens: CSS variables or theme config
- Build atoms first: Start with primitives
- Compose upward: Build molecules, organisms
- Document as you go: Write docs alongside code
3. Adoption Phase
- Create migration guide: Help teams adopt
- Provide codemods: Automate migrations when possible
- Run workshops: Train teams on usage
- Gather feedback: Iterate based on real usage
4. Maintenance Phase
- Version semantically: Major/minor/patch releases
- Deprecation strategy: Phase out old components gracefully
- Changelog: Document all changes
- Monitor adoption: Track usage across products
Quick Start Checklist
When creating a new design system:
- Define design principles and values
- Establish design token structure (colors, typography, spacing)
- Create primitive color palette (50-950 scale)
- Define semantic color tokens (brand, text, background, feedback)
- Set typography scale and font families
- Establish spacing scale (4px or 8px base)
- Design atomic components (Button, Input, Label, etc.)
- Implement theming system (light/dark mode)
- Ensure WCAG 2.1 Level AA compliance
- Set up documentation (Storybook or similar)
- Create usage examples for each component
- Establish versioning and release strategy
- Create migration guides for adopting teams
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

