design-system-skills
CLAUDE.md50 starsChanged 11 months agoMITView on GitHub
This is a Claude Code plugin marketplace for design system development. It provides skills (markdown-based prompt templates) that guide Claude through generating design tokens, components, and accessibility patterns. Installation: /plugin https://github.com/dylantarre/design-system-skills Each skill is a SKILL.md file with YAML frontmatter: All token skills share these conventions: - Output formats: CSS custom properties, Tailwind config, JSON tokens - Naming: T-shirt sizes (xs, sm, md, lg) or numeric (100, 200, 300) - Process: Gather input → ask format → generate → output
In this repository29 other files it gives its agents.
- aria-patternsSkill
- color-contrastSkill
- focus-statesSkill
- component-docsSkill
- token-docsSkill
- angularSkill
- reactSkill
- svelteSkill
- vueSkill
- getting-startedSkill
- animation-principlesSkill
- compound-componentsSkill
- dark-modeSkill
- icon-systemSkill
- layout-primitivesSkill
- breakpointsSkill
- color-scaleSkill
- design-tokens-structureSkill
- motion-scaleSkill
- radius-scaleSkill
- responsive-typographySkill
- shadow-scaleSkill
- spacing-scaleSkill
- type-scaleSkill
- z-index-scaleSkill
- figmaSkill
- framerSkill
- storybookSkill
- style-dictionarySkill
The file
We split this CLAUDE.md into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 59
All token skills share these conventions:
- Very specific: line 68
Create directory under appropriate category: skills/{category}/{skill-name}/
- Very specific: line 69
Add SKILL.md following the format above
- Distinctive: line 70
Update README.md to list the new skill
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
This is a Claude Code plugin marketplace for design system development. It provides skills (markdown-based prompt templates) that guide Claude through generating design tokens, components, and accessibility patterns.
Installation: /plugin https://github.com/dylantarre/design-system-skills
Architecture
.claude-plugin/
├── plugin.json # Plugin metadata (name, version, author)
└── marketplace.json # Marketplace registry configuration
skills/
├── tokens/ # Design token generators
│ ├── color-scale/SKILL.md
│ ├── spacing-scale/SKILL.md
│ └── type-scale/SKILL.md
├── frameworks/ # Framework-specific patterns (planned)
├── tools/ # Design tool integrations (planned)
├── accessibility/ # WCAG compliance skills (planned)
└── documentation/ # Doc generators (planned)Skill File Format
Each skill is a SKILL.md file with YAML frontmatter:
---
name: skill-name
description: Use when [trigger conditions]. Supports [output formats].
---
# Skill Name
## Overview
[What it does - 1-2 sentences]
## When to Use
[Bullet list of scenarios]
## Quick Reference
[Tables with key information]
## The Process
[Numbered steps Claude follows]
## Output Formats
[Code examples for CSS, Tailwind, JSON]Token Skills Patterns
All token skills share these conventions:
- Output formats: CSS custom properties, Tailwind config, JSON tokens
- Naming: T-shirt sizes (xs, sm, md, lg) or numeric (100, 200, 300)
- Process: Gather input → ask format → generate → output
Color scale uses OKLCH by default (perceptually uniform). Spacing/type use ratio-based exponential scales.
Adding New Skills
- Create directory under appropriate category:
skills/{category}/{skill-name}/ - Add
SKILL.mdfollowing the format above - Update
README.mdto list the new skill - Skills are auto-discovered by Claude Code from the
skills/directory
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.

