shadcn
Skill0 starsChanged 5 months agoLicence not identifiedView on GitHub
Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", or "switch to --preset".
- Installs packages
189 other projects use a version of this, 160 of them edited; 114 of 158 edited versions we compared changed its rules.
How people change it
114 of 158 edited versions changed its rules, and some changes recur.
Of the 158 edited versions we compared: 32 keep every rule, 12 are an older text, 114 made changes of their own.
Not in older versions
- Never decode preset codes or build preset URLs manually. Use
npx shadcn@latest preset decode <code>,preset url <code>, orpreset open <code>. For project-aware preset detection, usenpx shadcn@latest preset resolve.missing from 12 of 12 - Apply preset codes directly with the CLI. Use
npx shadcn@latest apply <code>for existing projects, ornpx shadcn@latest init --preset <code>when initializing.missing from 12 of 12
Rules people drop
- Toast via
sonner. Usetoast()fromsonner.dropped by 79 of 114 - Never decode preset codes or build preset URLs manually. Use
npx shadcn@latest preset decode <code>,preset url <code>, orpreset open <code>. For project-aware preset detection, usenpx shadcn@latest preset resolve.dropped by 34 of 114 - Apply preset codes directly with the CLI. Use
npx shadcn@latest apply <code>for existing projects, ornpx shadcn@latest init --preset <code>when initializing.dropped by 34 of 114 - No local changes → safe to overwrite.dropped by 2 of 114
- No manual
dark:color overrides. Use semantic tokens (bg-background,text-muted-foreground).dropped by 2 of 114 - When the user asks to update a component from upstream while keeping their local changes, use
--dry-runand--diffto intelligently merge. NEVER fetch raw files from GitHub manually — always use the CLI.dropped by 1 of 114 - Use existing components first. Use
npx shadcn@latest searchto check registries before writing custom UI. Check community registries too.dropped by 1 of 114 classNamefor layout, not styling. Never override component colors or typography.dropped by 1 of 114
Rules people add
- Toast follows the project base. Use
toastfrom thetoastcomponent for Base UI projects. Usetoast()fromsonnerfor Radix and React Aria projects.added by 77 of 114 - When the user asks for a design system from a
DESIGN.md(or a brand spec), with or without a preset, follow [design-system.md](./design-system.md) end to end:added by 29 of 114 - Read the DESIGN.md frontmatter, Do's and Don'ts, and Known Gaps before editing.added by 29 of 114
- Verify in a browser: typecheck, no console errors, loads at the top, no horizontal overflow, dark mode.added by 29 of 114
- A rule we can't quote: its licence doesn't allow itadded by 24 of 114
- Use when adding new components from shadcn/ui or community registries.added by 3 of 114
- Use when styling, composing, or debugging existing shadcn/ui components.added by 3 of 114
- Use when initializing a new project or switching design system presets.added by 3 of 114
We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.
Adopted by
Most recently taken up by
- Masih-0x3/agent-skillsedited, first seen Nov 29, 2026
- gromov0737/skillsedited, first seen Nov 29, 2026
- aakash1552005/universal-agent-skillstheir own version, first seen Nov 29, 2026
- Mark-Life/telegram-claude-codexedited, first seen Nov 29, 2026
- hybridlabor-api/aosedited, first seen Nov 29, 2026
- marcioaltoe/skillsedited, first seen Nov 29, 2026
Used with
Projects with it also use migrate-radix-to-base, professional 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.
shadcn-uiSkillmigrate-radix-to-base
Migrates React projects and components from Radix UI to Base UI. Use when asked to migrate from radix, move to base-ui, convert radix primitives, or switch a shadcn project's base library. Handles single components ("migrate accordion") and whole projects.
Also in 14 projects that use this
bergsideSkillprofessional
Polished, business-ready design with modern typography, structured layouts, and a trustworthy visual identity.
Also in 5 projects that use this
pedronauckSkillapp-renderer-systems
Create, extend, or debug frontend domain modules organized under systems/. Covers adapters, Query hooks, local state, and public exports; excludes generic components and backend implementation.
Also in 4 projects that use this
bergsideSkillbold
Strong visual presence with heavyweight typography, high-contrast colors, and commanding layouts.
Also in 4 projects that use this
FracteraSkillask-element
Work skill. The architect wants an element of this node to check or find out something and you to bring the answer («попроси template проверить …», «узнай у auth …»), or wants you to start or close an element's agent yourself. Also when «агент элемента … сообщил, что закончил (надзор …)» wakes you after such a task.
Also in 3 projects that use this
FracteraSkillaudit-broken-characters
Scan the whole project for BROKEN / REPLACEMENT characters in localized text — a control byte (e.g. 0x13) or U+FFFD or mojibake left where an accented letter belonged, which renders as a box (e.g. "Documentación" showing "Documentaci□n"). Use when the owner reports a square / wrong glyph in the UI or content, says "broken character", "weird symbol", "mojibake", "validate encoding", or after authoring multilingual content and before closing a content step. It SHIPS SILENTLY (the file still parses), so run the audit to catch it. One project-root script, nothing external needed.
Also in 3 projects that use this
- +4 more from bergside
- +2 more from Fractera
Other versions189 projects use a version of this.
Word for word · 4
- coollabsio/coolify★ 67k100% same
- Rain-kl/OpenFlare★ 305100% same
- jagrat7/linux-wallpaper-engine★ 232100% same
- muhammadrivaldy/agent-skills★ 0100% same
Edited · 160
- shadcn-ui/ui★ 129k84% same
- kriasoft/react-starter-kit★ 24k94% same
- MODSetter/SurfSense★ 17k93% same
- spree/spree★ 16k97% same
- trycompai/crm★ 12k94% same
- 1weiho/open-slide★ 10k95% same
- open-slide/open-slide★ 10k95% same
- openai/plugins★ 8.4k95% same
- Kiranism/next-shadcn-dashboard-starter★ 7.3k95% same
- ArcReel/ArcReel★ 6.8k84% same
150 more not listed
Wrote their own version · 25
- compozy/compozy★ 2.9ksame name
- bergside/awesome-design-skills★ 2.9ksame name
- pedronauck/skills★ 659same name
- InBrowserApp/InBrowserApp★ 343same name
- mikeOnBreeze/cc-crossbeam★ 297same name
- ItsWendell/palot★ 195same name
- one-ie/one★ 135same name
- PyModel/react-frontend-skills★ 42same name
- tdimino/claude-code-minoan★ 42same name
- nilecui/SkillsBase★ 27same name
15 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 repository6 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ai-sdkSkill
- frontend-designSkill
- migrate-ai-sdk-v6-to-v7Skill
- promptfoo-evalsSkill
- zodSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. 1 is common, 0 are distinctive, and 19 are very specific to this project.
1
Common
Most of the 182 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
19
Very specific
Tied to their project's names, files or tools. Probably skip.
The licence could not be identified — read it at the source. We count its rules but don't quote them. Read them on GitHub.
“Common” is measured: kept by at least 6 in 10 of the 182 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.
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.

