Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
oakoss avatar

Design System

  • 96 installs
  • 14 repo stars
  • Updated March 2, 2026
  • oakoss/agent-skills

Helps with ai & agent building tasks during AI-assisted development.

About

design-system is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • design-system
  • AI & Agent Building
  • AI-coding skill

Design System by the numbers

  • 96 all-time installs (skills.sh)
  • +7 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #4,561 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/oakoss/agent-skills --skill design-system

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs96
repo stars14
Last updatedMarch 2, 2026
Repositoryoakoss/agent-skills

What it does

Helps with ai & agent building tasks during AI-assisted development.

Files

SKILL.mdMarkdownGitHub ↗

Design System

Overview

Single source of truth for visual consistency at scale — a shared language between design and engineering. Covers token architecture, theming infrastructure, component API patterns, accessibility compliance, and governance workflows.

Design systems are not component libraries alone. They unify tokens, patterns, documentation, and contribution processes so teams build once and maintain once.

Quick Reference

AreaPatternKey Points
Token hierarchyPrimitive > Semantic > ComponentNever reference primitives in components; semantic layer is themable
Dark modeSwap semantic tokens via data-themeUse off-white/dark-gray, not pure white/black
Multi-brand themingOverride semantic tokens per brandApply via CSS custom properties at runtime
Tailwind v4@theme block in CSS (no config file)CSS-first configuration replaces tailwind.config.js
CVA variantscva() for variant + size combinationsType-safe with VariantProps; pair with cn() utility
Compound componentsModal.Header, Modal.Body sub-partsComposition over configuration; shared context for implicit state
Headless UIRadix primitives + Tailwind classesAccessibility built-in; bring your own styles
Focus managementfocus-visible:ring-2 on all controls2px solid outline with offset; visible on keyboard only
Reduced motionprefers-reduced-motion media queryNear-zero duration for all transitions and animations
Style DictionaryJSON tokens to CSS/iOS/AndroidoutputReferences: true preserves token chain
StorybookStories + autodocs + a11y addonVisual documentation with accessibility audit built in
GovernanceSemver for tokens and componentsBreaking = removed props/tokens; minor = new additions

Common Mistakes

MistakeCorrect Pattern
Primitive tokens in components (blue-500)Reference semantic tokens (interactive-primary) that map to primitives
Skipping focus states on interactive elementsAdd focus-visible:ring-2 on every button, link, and input
Body text set to gray-400Use gray-600 or darker to meet 4.5:1 WCAG AA contrast
Circular token references between layersTokens flow one direction: primitive > semantic > component
Ignoring prefers-reduced-motionWrap all animations in a reduced-motion media query
Using scale() transforms for hoverUse translateY(-1px) and shadow changes to avoid layout shift
Hardcoded hex/px values in component filesAll visual values come from semantic or component tokens
Deep CSS nesting for theme overridesOverride CSS custom properties at the semantic layer
Theme flash on page load (FOUC)Inject synchronous theme script in <head> before body renders
Flat token list without layersOrganize into primitive, semantic, and component tiers

Delegation

  • Audit codebase for hardcoded values that should be tokens: Use Explore agent
  • Migrate a component library to a token-based design system: Use Task agent
  • Plan a multi-brand theming architecture: Use Plan agent
  • Review accessibility compliance across components: Use Task agent
If the motion skill is available, delegate animation token integration and motion design patterns to it.

References

  • Design Tokens — three-layer hierarchy, CSS custom properties, TypeScript definitions, naming conventions
  • Theming — dark mode, theme provider, multi-brand, Tailwind v4, SSR flash prevention
  • Color and Typography — 60-30-10 rule, contrast requirements, type scale, fluid typography
  • Component Architecture — CVA variants, compound components, headless UI, polymorphic rendering
  • Accessibility — WCAG compliance, keyboard navigation, ARIA patterns, screen reader testing
  • Motion and Layout — animation tokens, reduced motion, spacing grid, elevation system
  • Tooling — Style Dictionary, Storybook, component testing, visual regression
  • Governance — versioning, deprecation, contribution workflow, component lifecycle
  • Troubleshooting — common issues, dark mode fixes, token sprawl, pre-delivery checklist

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.