shadcn SKILL.md skillA

This file is byte-identical to the first copy the registry indexed, one of 4 indexed copies. Same content hash, so the same checks give both the same grade.

shadcn from shadcn/ui is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add shadcn/ui/shadcn@git:20261014.4233ed1

Pins git:20261014.4233ed1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
shadcn/ui
Path
skills/shadcn/SKILL.md
Versions recorded
5
Latest version
git:20261014.4233ed1, committed Oct 14, 2026
First version recorded
Jun 8, 2026
Size
21,606 bytes
Repository stars
128,500
License
MIT

Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. 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", "switch to --preset", and for building a design system or applying a DESIGN.md or brand spec to shadcn/ui.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# shadcn/ui

A framework for building ui, components and design systems. Components are added as source code to the user's project via the CLI.

> **IMPORTANT:** Run all CLI commands using the project's package runner: `npx shadcn@latest`, `pnpm dlx shadcn@latest`, or `bunx --bun shadcn@latest` — based on the project's `packageManager`. Examples below use `npx shadcn@latest` but substitute the correct runner for the project.

## Current Project Context

```json
!`npx shadcn@latest info --json`
```

The JSON above contains the project config and installed components. Use `npx shadcn@latest docs <component>` to get documentation and example URLs for any component.

## Principles

1. **Use existing components first.** Use `npx shadcn@latest search` to check registries before writing custom UI. Check community registries too.
2. **Compose, don't reinvent.** Settings page = Tabs + Card + form controls. Dashboard = Sidebar + Card + Chart + Table.
3. **Use built-in variants before custom styles.** `variant="outline"`, `size="sm"`, etc.
4. **Use semantic colors.** `bg-primary`, `text-muted-foreground` — never raw values like `bg-blue-500`.

## Critical Rules
…

Read the whole file at its exact version.

How to install

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_c652xau5maxyiw5z/93951e5e83f616a3e046491c00d770bd54c0a64164706cd1191822a233d27592.json

Then /plugin install shadcn@markdownregistry-c652xau5maxyiw5z in Claude Code. It installs git:20261014.4233ed1, the one graded A here, pinned to the commit it was graded at, and leaves it there.

The exact contents, by fingerprint
mdr add shadcn/ui/shadcn@sha256:93951e5e83f616a3

The line at the top of this page pins the label git:20261014.4233ed1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_c652xau5maxyiw5z.svg)](https://markdownregistry.com/a/art_c652xau5maxyiw5z)

2 badge image fetches in 30 days. What the badge shows.

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in shadcn/ui/shadcn since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of shadcn from somewhere else? Ask it: where did my shadcn come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 5 versions of this file, between Jun 8, 2026 and Oct 14, 2026, about one every 32 days.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20261014.4233ed1 latest2026-10-14 4233ed1 21,606 BA view · diff
git:20261009.2d3f1cd2026-10-09 2d3f1cd 21,306 BA view · diff
git:20260723.6cd3f4c2026-07-23 6cd3f4c 19,527 BA view · diff
git:20260629.02e398a2026-06-29 02e398a 19,415 BA view · diff
git:20260608.05eb2b92026-06-08 05eb2b9 18,579 BA view

Copies

Copies in other repositories

6 files in 6 other repositories hold the exact bytes of one of this file's versions, each committed after this file had them: 3 hold the newest version and 3 an older one.

A copy does not update when this file does. Whoever holds one can learn which version it is with the Check your copy box below, or by asking their agent. Matched on exact bytes and commit dates only.

Keep it current by itself, install once

Committed this skill to a repository? Install the markdownregistry skill updates app on it, or on all of them. When the registry saves a newer version, a pull request brings your copy to it within minutes, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

Install on GitHub

It asks to read and write contents and pull requests, and to read metadata. No workflow file, no Actions setting, nothing runs on your runners. Uninstall it and everything the registry kept about your repository is deleted.

Keep it current by itself

Committed this skill to a repository? Add one workflow file, and when a newer version is saved, a pull request brings your copy to it, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

mkdir -p .github/workflows && curl -fsSL https://markdownregistry.com/ci/skill-updates.yml -o .github/workflows/skill-updates.yml

It runs daily on GitHub Actions, no key and no account. Read the workflow before you add it.

Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (21606 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

shadcn/ui · 128,500 stars · license MIT · pushed 2026-11-18 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_c652xau5maxyiw5z
GET https://markdownregistry.com/api/v1/resolve?ref=shadcn/ui/shadcn
GET https://markdownregistry.com/api/v1/blob/93951e5e83f616a3e046491c00d770bd54c0a64164706cd1191822a233d27592

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from shadcn/ui

AGENTS.md@apps/v4 AGENTS.md file
shadcn/ui · apps/v4/AGENTS.md
git:20261026.5687d64 · audit A · 128,500 stars
CLAUDE.md@apps/v4 CLAUDE.md file
shadcn/ui · apps/v4/CLAUDE.md
git:20261026.5687d64 · audit B · 128,500 stars
llms.txt@apps/v4/public llms.txt file
shadcn/ui · apps/v4/public/llms.txt
git:20260710.3cdaa6e · audit A · 128,500 stars
migrate-radix-to-base SKILL.md skill
shadcn/ui · skills/migrate-radix-to-base/SKILL.md · Migrates React projects and components from Radix UI to Base UI. Use when asked to migrate from radix, move to base-ui…
git:20260703.f3e7de1 · audit A · 128,500 stars
AGENTS.md@templates/next-app AGENTS.md file
shadcn/ui · templates/next-app/AGENTS.md
git:20260930.b0fcb58 · audit A · 128,500 stars
CLAUDE.md@templates/next-app CLAUDE.md file
shadcn/ui · templates/next-app/CLAUDE.md
git:20260930.b0fcb58 · audit B · 128,500 stars
AGENTS.md@templates/next-monorepo AGENTS.md file
shadcn/ui · templates/next-monorepo/AGENTS.md
git:20260930.b0fcb58 · audit A · 128,500 stars
CLAUDE.md@templates/next-monorepo CLAUDE.md file
shadcn/ui · templates/next-monorepo/CLAUDE.md
git:20260930.b0fcb58 · audit B · 128,500 stars

Every file in shadcn/ui

Other files named shadcn

shadcn SKILL.md skill
nocobase/nocobase · packages/app/app-skills/skills/nocobase-app-development/references/frontend/shadcn/SKILL.md · Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including…
git:20261010.98e79a5 · audit A · 24,942 stars
shadcn SKILL.md skill
gronxb/hot-updater · .agents/skills/shadcn/SKILL.md · Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides…
git:20260515.5b0a0f5 · audit A · 1,829 stars
shadcn SKILL.md skill
kunolu/640-skills · sbtd-workflow-onboard/assets/external-skills/stable/skills/shadcn/SKILL.md · Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including…
git:20261028.4eb8b2a · audit A · 559 stars
shadcn SKILL.md skill
syahiidkamil/software-engineer-ai-agent-atlas · .claude/skills/shadcn/SKILL.md · Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including…
git:20261101.49a3d8a · audit A · 406 stars
shadcn SKILL.md skill
asymmetric-al/core · .agents/skills/shadcn/SKILL.md · Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including…
git:20261022.752a38b · audit A · 370 stars
shadcn SKILL.md skill
julianromli/ai-skills · skills/shadcn/SKILL.md · Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides…
git:20260505.3e57ae0 · audit A · 222 stars
shadcn SKILL.md skill
molefrog/moi · .agents/skills/shadcn/SKILL.md · Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides…
git:20260907.83d54dd · audit A · 203 stars
shadcn SKILL.md skill
mweinbach/agent-coworker · .agents/skills/shadcn/SKILL.md · Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides…
git:20260904.d2e3de3 · audit A · 157 stars

Browse by kind, by grade A, or by owner.