Shadcn
🧿 Minimal but effective AI agent skill definitions in 100 lines or less.
npx -y skills add kimtth/agent-skill-100-lines-or-less --skill shadcnAssembled 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: add, customize, or extend shadcn/ui components with correct Tailwind and theming setup.
SKILL.md
1.1 KB, as published. Nobody here has run it
Goal: use shadcn/ui as owned source, customized cleanly.
Use for:
- installing and wiring shadcn/ui components
- customizing styling, variants, and theme tokens
- composing primitives into app-specific components
Workflow:
- Initialize shadcn and confirm Tailwind + path aliases.
- Add only the components you need via the CLI.
- Treat generated files as your code; edit them directly.
- Customize via theme CSS variables and component variants.
- Compose primitives into higher-level app components.
- Re-add or diff carefully when upgrading components.
Patterns:
- own the component code; do not fight the abstraction
- theme through CSS variables, not per-instance overrides
- extend variants with the existing variant helper
- keep accessibility props from the primitives intact
Rules:
- customize in the component source, not with override hacks
- keep the design-token layer as the single source of truth
- do not hand-edit in ways that block future updates blindly
- preserve the underlying primitive's a11y behavior