Agent skill Frontend
Tailwind Design System
Establish reusable styling and design decisions across web screens.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add https://github.com/giuseppe-trisciuoglio/developer-kit/tree/main/plugins/developer-kit-typescript/skills/tailwind-design-system --skill tailwind-design-system --agent claude-code --yesCheck this file in your project.claude/skills/tailwind-design-system/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add https://github.com/giuseppe-trisciuoglio/developer-kit/tree/main/plugins/developer-kit-typescript/skills/tailwind-design-system --skill tailwind-design-systemSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Bring an existing Tailwind CSS v4.1+ project configured for shadcn/ui and its generated Button source. The fixture used shadcn 4.23.1 and Tailwind CSS 4.3.5.
View operation manualWhat this skill helps with
- Establish reusable styling and design decisions across web screens.
Good for
- Design tokens and shared styles
- Skill name
- tailwind-design-system
- Scenario
- Give a shared shadcn button a product-level API
- Deliverable
- A documented shared wrapper that renders theme tokens and forwards intended input behavior.
- Skill name
tailwind-design-system- Repository
giuseppe-trisciuoglio/developer-kit
Define a component task with an observable result
A request with an unclear outcome
Copy any button variation into each route stylesheet.
Duplication breaks the role contract and makes keyboard or dark-mode changes inconsistent.
A workflow with observable results
- Trace the primitive and the token chain
- Wrap the existing Button around the semantic role
- Verify the wrapper in two themes and routes
Tailwind CSS & shadcn/ui Design System operation manual
Keep shadcn as the base primitive and enforce a named semantic role in a wrapper.
Replace the bracketed details with your own project and target.
Find the relevant rule
Point the assistant to the installed Skill and a specific issue.
A caller bypasses the shared variantReference
- Command or reference
SKILL.md · Step 4: Wrap shadcn/ui Components- Examples
- Expose only props that fit the role and reuse the base component's behavior.
The guide's sample setup does not match the appReference
- Command or reference
Official Tailwind v4 upgrade guide- Examples
- Use the configured bundler integration and the v4 CSS import for the actual app.
Tailwind CSS & shadcn/ui Design System troubleshooting
Should I run @tailwindcss/vite as an init CLI?
Install it as a Vite plugin when Vite is your bundler. Tailwind v4 uses @import "tailwindcss" in its CSS entry and the appropriate integration for the project.