design-system
Skill9 starsChanged 42 days agoMITView on GitHub
Build a new design system (tokens, variants, theming). Use when "create a design system" or "component library from scratch". Drifted existing system → housekeep-design. Plan-only unification → plan-uiux-unification.
192 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- Rojios/everything-claude-codetheir own version, first seen Nov 8, 2026
- caidanw/skillstheir own version, first seen Nov 8, 2026
- Adelie-Squad/solosquadtheir own version, first seen Nov 8, 2026
- darkweb19/skillstheir own version, first seen Nov 8, 2026
- dmoreq/agent-grimoiretheir own version, first seen Nov 8, 2026
- ahmadvahidi/skill-atlastheir own version, first seen Nov 8, 2026
Used with
Projects with it also use setup-engine, team-level and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
CoralGameSkillsetup-engine
Configure the project's game engine and version. Pins the engine in CLAUDE.md, detects knowledge gaps, and populates engine reference docs via WebSearch when the version is beyond the LLM's training data.
Also in 13 projects that use this
CoralGameSkillteam-level
Orchestrate level design team: level-designer + narrative-director + world-builder + art-director + systems-designer + qa-tester for complete area/level creation.
Also in 12 projects that use this
lilangMaxSkillcreate-stories
Break a single epic into implementable story files. Reads the epic, its GDD, governing ADRs, and control manifest. Each story embeds its GDD requirement TR-ID, ADR guidance, acceptance criteria, story type, and test evidence path. Run after /create-epics for each epic.
Also in 11 projects that use this
lilangMaxSkillstory-done
End-of-story completion review. Reads the story file, verifies each acceptance criterion against the implementation, checks for GDD/ADR deviations, prompts code review, updates story status to Complete, and surfaces the next ready story from the sprint.
Also in 11 projects that use this
- +2 more from CoralGame
- +6 more from lilangMax
Other versions192 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- kensaurus/skills★ 927% same
Wrote their own version · 191
- nextlevelbuilder/ui-ux-pro-max-skill★ 147ksame name
- getsentry/sentry★ 46ksame name
- anthropics/knowledge-work-plugins★ 35ksame name
- Donchitos/Claude-Code-Game-Studios★ 27ksame name
- ethereum/ethereum-org-website★ 6ksame name
- langwatch/langwatch★ 5ksame name
- joye61/pic-smaller★ 2.9ksame name
- daveebbelaar/bama★ 1.7ksame name
- reatom/reatom★ 1.4ksame name
- microsoft/power-platform-skills★ 1.1ksame name
181 more not listed
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 repository165 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/approved-plan-execution.mdcCursor rule
- .cursor/rules/skill-workflows.mdcCursor rule
- .cursor/rules/verification-before-completion.mdcCursor rule
- llms.txtllms.txt
- audit-accessibilitySkill
- audit-agent-speedSkill
- audit-analyticsSkill
- audit-auth-flowsSkill
- audit-backend-architectureSkill
- audit-bundle-sizeSkill
- audit-cicdSkill
- audit-codemod-safetySkill
- audit-code-qualitySkill
- audit-code-reviewSkill
- audit-db-schemaSkill
- audit-doctrineSkill
- audit-env-paritySkill
- audit-fe-apiSkill
- audit-gate-logicSkill
- audit-i18nSkill
- audit-infra-costSkill
- audit-langfuse-llmSkill
- audit-llm-securitySkill
- audit-monetization-iapSkill
- audit-payment-systemSkill
- audit-performanceSkill
- audit-realworldSkill
- audit-registry-listingSkill
- audit-resilienceSkill
- audit-responsiveSkill
- audit-securitySkill
- audit-skill-conflictsSkill
- audit-ui-statesSkill
- audit-uiux-design-systemSkill
- audit-ux-journeysSkill
- audit-uxSkill
- backend-db-performanceSkill
- backend-error-handlingSkill
- backend-observabilitySkill
- backend-patternsSkill
- backend-realtimeSkill
- burndown-fullSkill
- complete-everythingSkill
- data-pipelineSkill
- data-visualizationSkill
- debug-errorSkill
- debug-fe-be-integrationSkill
- debug-sentry-monitorSkill
- deploy-npmSkill
- deploy-verifySkill
- design-apiSkill
- design-canvasSkill
- design-emailSkill
- design-frontendSkill
- design-generative-artSkill
- design-mobile-firstSkill
- design-motionSkill
- design-prdSkill
- design-themeSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 175 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 63
Why: Don't recreate existing primitives.
- Distinctive: line 139
After creating design system components:
“Common” is measured: kept by at least 6 in 10 of the 175 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 Skill
Degree of freedom: MIXED. Token taxonomy and variants [HIGH freedom];
existing ui/ / token inventory [LOW freedom — run exactly].
Build scalable, maintainable design systems with consistent tokens, variants, and documentation.
How to reason
- Inventory —
components/ui, tokens,cva, shadcn/Radix - Tokenize — semantic tokens, not raw hex in components
- Variant —
cvacovers real states (default/destructive/disabled) - Document — JSDoc, keyboard/focus, dark mode
Worked example
Inventory: shadcn
Buttonexists; colors are raw#3B82F6in three pages; no--primary. Tokenize:--primary/--primary-foregroundinglobals.css; Tailwind mapshsl(var(--primary)). Variant: extend existingbuttonVariants— do not addcomponents/Button2.tsx. Document: JSDoc lists variants/sizes; focus ring + dark.darkoverrides.
Self-critique before reporting
- Did not fork — existing primitives were extended, not recreated
- Semantic tokens — components reference tokens, not primitives or hex
- A11y + dark — focus, disabled, and dark variants exist
- Right owner — drifted existing system →
housekeep-design; plan-only unification →plan-uiux-unification
Check existing first [LOW freedom — run exactly]
Before creating ANY design system components, verify:
- Check for existing design system:
ls -la src/components/ui/
cat package.json | grep -i "shadcn\|radix\|headless"
cat components.json 2>/dev/null # shadcn config- Check for existing tokens:
cat tailwind.config.* | head -100
cat src/styles/globals.css | head -50
rg "var\(--" --type css | head -20- Check for existing patterns:
rg "cva\(|variants:" --type ts --type tsx | head -10
rg "cn\(|clsx\(|twMerge" --type tsx | head -5Why: Don't recreate existing primitives. Extend and enhance what exists.
Design Tokens [HIGH freedom]
Face and ground are choices, not defaults: Inter/Roboto/Arial, a cream/off-white page, and a purple-gradient primary are the fallbacks to name and avoid. Add --font-sans / --font-display tokens for the faces you pick.
CSS Custom Properties
- Semantic HSL triplets on
:root(--background,--foreground,--primary,--muted,--destructive,--border,--ring, …);.darkoverrides the same names - Spacing (
--spacing-xs…xl), radius (--radius± 4px), shadows (--shadow-sm…lg), durations and easings as tokens too
:root {
--background: 0 0% 100%;
--foreground: 222.2 84% 4.9%;
--primary: 221.2 83.2% 53.3%;
--primary-foreground: 210 40% 98%;
--radius: 0.5rem;
}
.dark {
--background: 222.2 84% 4.9%;
--foreground: 210 40% 98%;
}Full token set: references/tokens.md §CSS Custom Properties.
Tailwind Config Integration
darkMode: 'class'; every color ishsl(var(--token))with aDEFAULT/foregroundpairborderRadius,boxShadow,transitionDurationread the CSS variables, never literals
Full config: references/tokens.md §Tailwind Config Integration.
Component Variants with CVA [HIGH freedom]
cva()base string carries focus-visible ring anddisabled:styles;variants.variant(default/destructive/outline/secondary/ghost/link) andvariants.size(default/sm/lg/icon) withdefaultVariants- Props extend the native element attributes plus
VariantProps<typeof buttonVariants>;forwardRefandasChildviaSlot - Export both the component and its
*Variantsso consumers can reuse the classes
// lib/utils.ts
import { type ClassValue, clsx } from 'clsx'
import { twMerge } from 'tailwind-merge'
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}Full button.tsx: references/components.md §Button with CVA.
Compound Components Pattern [HIGH freedom]
- One file exports
Card,CardHeader,CardTitle,CardDescription,CardContent,CardFooter - Each is a
forwardRefwrapper over the native element withcn(defaults, className)and adisplayName - Tokens only:
bg-card text-card-foreground,text-muted-foreground
Full card.tsx: references/components.md §Compound Card.
Accessible Components with Radix [HIGH freedom]
- Re-export
Root,Trigger,Portal,Closefrom@radix-ui/react-dialog; styleOverlayandContentwithforwardRef data-[state=open]/data-[state=closed]drive enter/exit animation classes- A visible close button inside
Contentwith ansr-onlylabel
Full dialog.tsx: references/components.md §Accessible Dialog with Radix.
Component Documentation Pattern [HIGH freedom]
JSDoc block per component: one-line purpose, @example usage, then ## Variants, ## Sizes (with pixel heights), and ## Accessibility (native element, disabled, focus ring, asChild).
Template: references/components.md §Component Documentation Pattern.
File Structure
src/components/ui/*.tsx with an index.ts barrel, src/lib/utils.ts for cn(), src/styles/globals.css for tokens, tailwind.config.ts for the theme.
Tree: references/components.md §File Structure.
Validation [LOW freedom — do not skip]
After creating design system components:
- Consistency → All components use same tokens
- Variants → Cover all needed use cases
- Accessibility → Keyboard nav, ARIA, focus states
- Dark mode → All components work in dark mode
- Responsive → Mobile-friendly by default
- Documentation → JSDoc comments, usage examples
- Type safety → Full TypeScript support with VariantProps
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.

