Tailwind design system
Skill kimtth/agent-skill-100-lines-or-less/skills/tailwind-design-system
🧿 Minimal but effective AI agent skill definitions in 100 lines or less.
npx -y skills add kimtth/agent-skill-100-lines-or-less --skill tailwind-design-systemAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use when: implement a design system in Tailwind with tokens, variants, and consistent components.
SKILL.md
1.1 KB, as published. Nobody here has run it
Goal: consistent, themeable UI without per-component drift.
Use for:
- standardizing spacing, color, and typography across a project
- building reusable components with controlled variants
- replacing scattered ad hoc classes with a system
Workflow:
- Define tokens in the theme: color, spacing, radius, type scale.
- Drive components from tokens, not hard-coded values.
- Encode variants with a variants helper (e.g. cva).
- Centralize class composition; merge conflicts predictably.
- Support theming via CSS variables for light/dark.
- Document the allowed variants and when to use each.
Patterns:
- semantic token names (bg-surface, text-muted) over raw scales
- variant maps for size/intent/state
- class-merge utility to resolve overrides
- CSS variables for runtime theme switching
Rules:
- no magic numbers; use the spacing and type scale
- keep variants finite and intentional
- avoid duplicating tokens across components
- a new visual value belongs in the theme, not inline