Borrowing it
Nothing to install: this file belongs to Dynokostya/just-works. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Dynokostya/just-works/main/.claude/skills/shadcn-ui-coding/SKILL.mdgit clone --depth 1 https://github.com/Dynokostya/just-worksWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/dynokostya/just-works/shadcn-ui-coding)<a href="https://agentmods.dev/skills/dynokostya/just-works/shadcn-ui-coding"><img src="https://agentmods.dev/badge/skills/dynokostya/just-works/shadcn-ui-coding/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/dynokostya/just-works/shadcn-ui-coding"><img src="https://agentmods.dev/badge/skills/dynokostya/just-works/shadcn-ui-coding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 3 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium MCP Rug Pull · line 99 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 99 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 100 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00068 | $0.02087 |
| Opus 5.5 | $0.00027 | $0.00835 |
| Sonnet 5.5 | $0.00014 | $0.00417 |
| Haiku 4.5 | $0.00007 | $0.00209 |
Grade A, and why
shadcn-ui-coding scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.
shadcn/ui coding
Project conventions override these defaults. Read components.json first: style (its prefix names the primitive library), tailwind, aliases, rsc. Then read the local source in components/ui/ and package.json for the React version; the local source is the truth for props and structure.
Primitive library
The style prefix in components.json tells you which primitives the components wrap: base-* is Base UI, radix-* and the older new-york are Radix UI, aria-* is React Aria. This changes the API:
| Radix UI | Base UI | |
|---|---|---|
| Swap the rendered element | asChild on the parent |
render={<Button variant="outline" />} |
| Package | unified radix-ui (older projects: @radix-ui/react-*) |
@base-ui/react |
Both libraries use onValueChange for Select-like inputs and onCheckedChange for Checkbox and Switch. React Aria projects: read the local source before composing. For any component, npx shadcn@latest docs <component> prints its usage and its Composition tree (what wraps what).
Never rules
- Never import shadcn components from npm. shadcn is not a package. Import from the alias in
components.json:import { Button } from "@/components/ui/button". - Never flatten compound components. Dialog, DropdownMenu, Select, AlertDialog, Menubar, NavigationMenu, ContextMenu, and Tabs need their nested structure (for example
Dialog > DialogContent > DialogHeader > DialogTitle); removing wrappers breaks ARIA roles and keyboard navigation. - Never nest a
<Button>inside a Trigger. Triggers render their own<button>, so nesting produces invalid HTML. UseasChild(Radix) orrender(Base UI) to render your element instead.
// Radix
<DialogTrigger asChild><Button variant="outline">Open</Button></DialogTrigger>
// Base UI
<DialogTrigger render={<Button variant="outline" />}>Open</DialogTrigger>
- Never hardcode colors or compose
classNamewith template literals. Use semantic tokens (bg-primary text-primary-foreground) andcn(); the rules live in tailwind-css-coding. - Never spread
{...field}on Select, Checkbox, or Switch. They takeonValueChange/onCheckedChange, notonChange, so the spread'sonChangeis silently ignored. Wirevalueand the handler explicitly. - Never define DataTable
columnsinside the component. A new array every render triggers TanStack Table's referential-equality checks and loops. Define them at module level. - Never build custom modals, dropdowns, or tooltips. Use Dialog, DropdownMenu, Tooltip, Popover, or Sheet; hand-built versions lack focus trapping, keyboard navigation, and portals.
- Never nest
TooltipProvider. Mount it once at the app root. - Never invent props. Components only have the props in their local source.
- Never use
npx shadcn-ui@latest. The CLI isnpx shadcn@latest. - Never use the old Radix
toastcomponent (deprecated in favor of Sonner). Use the toast library the project already has (Sonner, or the newertoastcomponent on Base UI styles), and add one withnpx shadcn@latest add sonneronly if none exists.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 17d ago Changed · -243 lines · -3 tokens per session 8539530cd867
- 2mo ago First seen · 364 lines · 71 tokens per session scan A 1538e50795ed
shadcn-ui-coding is a skill published in the GitHub repository Dynokostya/just-works (14 stars, last pushed 10d ago), licensed Apache-2.0. It adds 68 tokens to every session and 2,087 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.
shadcn-ui-coding compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| shadcn-ui-codingDynokostya/just-works | Skill | 14 | 10d ago | Apache-2.0 | A | 68 | Claude Code |
| chakra-ui-builderchakra-ui/chakra-ui | Skill | 41k | yesterday | MIT | A | 214 | Claude Code, Codex |
| antigravity-design-expertsickn33/agentic-awesome-skills | Skill | 49k | yesterday | MIT | A | 39 | Claude Code |
| tamagui-v6-configtamagui/tamagui | Skill | 14k | today | MIT | A | 0 | Claude Code, Codex |
| tamagui-theme-generatortamagui/tamagui | Skill | 14k | today | MIT | A | 48 | Claude Code, Codex |
| liquid-metal-borderMengTo/Skills | Skill | 7.3k | yesterday | MIT | A | 97 | Codex |
| frontend-ui-dark-tsmicrosoft/skills | Skill | 3.2k | yesterday | MIT | A | 48 | Claude Code |