Agent skill

Shadcn

by pedronauck in pedronauck/skills

Best practices for building UI components with shadcn/ui. An agent skill from pedronauck/skills.

No licenceAuto-check passedFrontend & Design

Install Shadcn

skills CLI
$ npx skills add pedronauck/skills --skill shadcn -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install pedronauck/skills shadcn --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/pedronauck/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/curated/shadcn .claude/skills/shadcn && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
shadcn
GitHub stars
634
Used in
1 other repo
Token cost
~1k tokens
SKILL.md length
245 words
Files
2 (incl. references)
Skills in repo
65
Repo updated
First seen
Licence
None found

At a glance

Best practices for building UI components with shadcn/ui. An agent skill from pedronauck/skills.

  • Works in 2 steps: Core Patterns: Read… → Tailwind Integration: For Tailwind CSS…
  • Styling components with shadcn
  • SKILL.md covers Quick Start, Core Philosophy, Critical: Design Token Usage and Common Tasks, plus 2 more sections
  • Calls pnpm and npx

What it does

Shadcn is an agent skill from pedronauck/skills. Best practices for building UI components with shadcn/ui. Use when creating, customizing, or styling components with shadcn, working with Radix UI primitives, implementing design tokens, or following compound component patterns.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/patterns.md`).

It sits in Frontend & Design, covering Design systems and Design tokens. It works with shadcn/ui, Radix UI and Tailwind CSS. The repository describes itself as: My personal favorite skills.

When your agent uses it

  • Styling components with shadcn
  • Working with Radix UI primitives
  • Implementing design tokens
  • Following compound component patterns

Example prompts

  • “/shadcn”

Requirements

  • Node.js
  • Pre-approved tools (allowed-tools): Read, Grep, Glob

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Core Patterns: Read references/patterns.md for comprehensive styling, theming, and component patterns.
  2. Tailwind Integration: For Tailwind CSS patterns, use the tailwindcss skill.

What it can do on your machine

Read from SKILL.md and the folder at commit 0422940. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm
    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pnpm and npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Shadcn loads about 1k tokens when it runs, and up to ~4.6k if it reads all its reference files. Until then it costs about 59 tokens; SKILL.md has 245 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~59
When it runs · the whole SKILL.md, loaded when a task matches
~1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 245 words (~1,013 tokens).

“This skill provides guidelines, patterns, and best practices for working with shadcn/ui components in this project.”

— opening of SKILL.md by pedronauck
name
shadcn
allowed-tools
Read, Grep, Glob

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (references) in skills/curated/shadcn of pedronauck/skills.

  • SKILL.md
  • references/patterns.md

Open the folder on GitHubat commit 0422940

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in pedronauck/skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Shadcn next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Shadcn compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Shadcn this skillpedronauck/skills6341 repos~1kAutomated safety check: PassNone
UI Design Systemtry-works/role-model118—~5kAutomated safety check: PassMIT
Shadcn Tailwind UILiarMTTT/TavernWeave154—~1.7kAutomated safety check: PassCustom licence
UI StylingOhh-889/skyroc79513 repos~2.5kAutomated safety check: PassMIT
Ss Learnbitjaru/styleseed973—~1.3kAutomated safety check: PassMIT
Extract DesignManavarya09/design-extract4.2k—~786Automated safety check: NotesMIT

Similar skills

  • UI Design System

    try-works/role-model

    React UI component systems with TailwindCSS + Radix + shadcn/ui.

    118 GitHub stars~5k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Shadcn Tailwind UI

    LiarMTTT/TavernWeave

    Build, restyle, or review accessible React interfaces that use shadcn/ui, Radix UI primitives, and Tailwind CSS.

    154 GitHub stars~1.7k tokensUpdated 6 days ago
    Frontend & DesignAuto-check passed
  • UI Styling

    Ohh-889/skyroc

    Create beautiful, accessible user interfaces with shadcn/ui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs.

    795 GitHub starsUsed in 13 repos~2.5k tokens
    Frontend & DesignAuto-check passed
  • Ss Learn

    bitjaru/styleseed

    Capture a human-approved UI design lesson as a privacy-minimized local StyleSeed candidate, review it, and prepare an opt-in share package without transmitting project code, prompts, screenshots, or…

    973 GitHub stars~1.3k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Extract Design

    Manavarya09/design-extract

    Extract the full design language from any website URL. An agent skill from Manavarya09/design-extract.

    4.2k GitHub stars~786 tokensUpdated yesterday
    Frontend & DesignAuto-check: notes
  • Styleseed

    bitjaru/styleseed

    Build, improve, or inspect UI with StyleSeed. An agent skill from bitjaru/styleseed.

    973 GitHub stars~1.1k tokensUpdated yesterday
    Frontend & DesignAuto-check passed

More from pedronauck/skills

All 65 skills in this repo
  • Deep Review

    pedronauck/skills

    Review branch diffs, working trees, or PRs in depth with defect, polish and cross-contract coverage.

    634 GitHub starsUsed in 1 repo~2.3k tokens
    Auto-check passed
  • Yc Apply

    pedronauck/skills

    Prepare, review, and package Y Combinator application answers and founder-video notes using the live form and verified founder facts.

    634 GitHub stars~1.3k tokensUpdated 25 days ago
    Auto-check passed
  • Guide technical communication for software developers. An agent skill from pedronauck/skills.

    634 GitHub starsUsed in 3 repos~2.3k tokens
    Auto-check passed
  • Tauri V2

    pedronauck/skills

    Tauri v2+ cross-platform app development with Rust backend. An agent skill from pedronauck/skills.

    634 GitHub starsUsed in 2 repos~4.1k tokens
    Auto-check passed
  • Hormozi Ad Factory

    pedronauck/skills

    Generates 150-750+ ad variations using Alex Hormozi's combinatorial Hook x Meat x CTA framework.

    634 GitHub stars~2.1k tokensUpdated 25 days ago
    Auto-check passed
  • Yt Master

    pedronauck/skills

    Plans and improves YouTube ideas, titles, thumbnail concepts, scripts, retention, channel strategy, and metric-based diagnosis.

    634 GitHub stars~736 tokensUpdated 25 days ago
    Auto-check passed

Questions about Shadcn

What does Shadcn do?

Best practices for building UI components with shadcn/ui. An agent skill from pedronauck/skills. Shadcn is an agent skill from pedronauck/skills. Best practices for building UI components with shadcn/ui.

When should I use Shadcn?

Shadcn fits situations like: styling components with shadcn; working with Radix UI primitives; implementing design tokens; following compound component patterns.

How do I install Shadcn in Claude Code?

Run `npx skills add pedronauck/skills --skill shadcn -a claude-code`. Or copy the skill folder (skills/curated/shadcn in pedronauck/skills) into .claude/skills/shadcn in your project. Claude Code loads it when a task matches its description.

How do I install Shadcn in Codex?

Run `npx skills add pedronauck/skills --skill shadcn -a codex`. Or copy the skill folder (skills/curated/shadcn in pedronauck/skills) into .agents/skills/shadcn in your project. Codex loads it when a task matches its description.

Can I use Shadcn in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pedronauck/skills --skill shadcn -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/shadcn, .gemini/skills/shadcn, .github/skills/shadcn and .opencode/skills/shadcn in your project.

What does Shadcn need to run?

Going by SKILL.md and its folder, Shadcn needs the command-line tools its instructions call (pnpm and npx). Our summary lists: Node.js. Its frontmatter pre-approves these tools: Read, Grep, Glob.

Does Shadcn access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Shadcn safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Shadcn use?

No licence was found for Shadcn or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Shadcn use?

About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.6k tokens, read only when the agent opens those files.

What are the alternatives to Shadcn?

Skills that share tags, products or a category with Shadcn: UI Design System (try-works/role-model, 118 stars), Shadcn Tailwind UI (LiarMTTT/TavernWeave, 154 stars), UI Styling (Ohh-889/skyroc, 795 stars) and Ss Learn (bitjaru/styleseed, 973 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Shadcn?

pedronauck (a GitHub user) maintains it in pedronauck/skills, which has 634 GitHub stars. The repository holds 65 skills in this directory. The repository was last updated on September 14, 2026.

Source: pedronauck/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.