just-works: Skill for Claude Code

.claude/skills/shadcn-ui-coding/SKILL.md

shadcn-ui-coding is a skill for Claude Code from Dynokostya/just-works. It costs 71 tokens per session (3,144 once invoked), scanned A, original, Apache-2.0.

A set of coding rules for shadcn/ui, a local collection of interface components built with React and Radix UI. It covers component structure, styling, forms, tables, themes, and command-line conventions.

In plain words
What is it for?
Use it when generating or editing shadcn/ui components, especially dialogs, menus, selects, tabs, forms, and data tables.
Why use it?
It helps prevent broken imports, accessibility problems, and invalid compound-component structures in shadcn/ui projects.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

This is Dynokostya/just-works's own configuration. It tells Claude Code how to work on just-works itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything just-works configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/Dynokostya/just-works/main/.claude/skills/shadcn-ui-coding/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Dynokostya/just-works

Made for: Claude Code.

Wrote 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.

agentmods badge for shadcn-ui-coding

README.md
[![agentmods](https://agentmods.dev/badge/skills/dynokostya/just-works/shadcn-ui-coding.svg)](https://agentmods.dev/skills/dynokostya/just-works/shadcn-ui-coding)
Your own site
<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="Measured on agentmods" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,144 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
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]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00071 $0.03144
Opus 5 $0.00036 $0.01572
Sonnet 5 $0.00014 $0.00629
Haiku 4.5 $0.00007 $0.00314

Measured 3d ago against content hash 1538e50795ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

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 3d 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.

.claude/skills/shadcn-ui-coding/SKILL.md · 364 lines

How it starts

The opening of the file, as written. The whole thing — 364 lines — stays where its author put it; the contents beside it link to each section on GitHub.

shadcn/ui coding

Match project conventions. Read components.json for style, Tailwind version, aliases, and RSC settings. Check components/ui/ for local component source and package.json for React version (18 vs 19) and Radix package format (unified radix-ui vs individual @radix-ui/react-*). These defaults apply only when the project has no established convention.

Never rules

These are unconditional. They prevent runtime errors, accessibility breakage, and infinite re-renders regardless of project style.

  • Never import shadcn components from npm -- shadcn is not a package. Import from the local alias.
// Wrong: shadcn is not an npm package
import { Button } from "shadcn/ui";
import { Button } from "@shadcn/ui";

// Correct: import from the local alias defined in components.json
import { Button } from "@/components/ui/button";
  • Never flatten Radix compound components -- Dialog, DropdownMenu, Select, AlertDialog, Menubar, NavigationMenu, ContextMenu, and Tabs require their nested structure. Removing wrapper layers breaks ARIA roles and keyboard navigation.
// Wrong: missing compound structure, broken accessibility
<Dialog>
  <DialogTrigger>Open</DialogTrigger>
  <DialogTitle>Title</DialogTitle>
  <DialogDescription>Desc</DialogDescription>
</Dialog>

// Correct: full compound structure preserved
<Dialog>
  <DialogTrigger>Open</DialogTrigger>
  <DialogContent>
    <DialogHeader>
      <DialogTitle>Title</DialogTitle>
      <DialogDescription>Desc</DialogDescription>
    </DialogHeader>
  </DialogContent>
</Dialog>
  • Never omit asChild when wrapping custom elements in Trigger components -- without asChild, the Trigger renders its own <button>, creating button-in-button nesting (invalid HTML, broken accessibility).
// Wrong: renders <button><button>...</button></button>
<DialogTrigger>
  <Button variant="outline">Open</Button>
</DialogTrigger>

// Correct: Slot merges props onto the child element
<DialogTrigger asChild>
  <Button variant="outline">Open</Button>
</DialogTrigger>

Read the full file on GitHub · 364 lines

Files

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.

Changes

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.

  1. 3d ago First seen · 364 lines · 71 tokens per session scan A 1538e50795ed

Subscribe to this mod's changes

shadcn-ui-coding is a skill published in the GitHub repository Dynokostya/just-works (14 stars, last pushed 3d ago), licensed Apache-2.0. It adds 71 tokens to every session and 3,144 once invoked, about $0.0004 per session on Opus 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.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

antigravity-design-expert

Core UI/UX engineering skill for building highly interactive, spatial, weightless, and glassmorphism-based web interfaces using GSAP and 3D CSS.

sickn33/agentic-awesome-skills · 39 tokens

frontend-ui-dark-ts

Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.

microsoft/skills · 48 tokens

web-artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

ThinkInAIXYZ/deepchat · 64 tokens

liquid-metal-border

Add and tune animated liquid-metal WebGL borders with the React metal-fx package. Use when buttons, icon controls, chips, tabs, cards, or selected surfaces need a metallic active, selected, hover, focus, or premium border; when implementing the MetalFx component from metal.jakubantalik.com; or when troubleshooting its…

MengTo/Skills · 97 tokens

21st-ui

Find, install, and generate UI with 21st.dev. Use when the user asks for a UI component (pricing table, hero, navbar, dashboard, form, etc.), wants design inspiration, needs a brand logo as an SVG component, or wants to generate new UI from a prompt.

21st-dev/magic-mcp · 63 tokens