shadcn SKILL.md skillA

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

Install it, pinned
mdr add invergent-ai/surogates/shadcn@git:20260422.301f3f1

Pins git:20260422.301f3f1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
invergent-ai/surogates
Path
web/.agents/skills/shadcn/SKILL.md
Versions recorded
1
Latest version
git:20260422.301f3f1, committed Apr 22, 2026
Size
17,326 bytes
Repository stars
28
License
AGPL-3.0

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

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

The exact contents, by fingerprint
mdr add invergent-ai/surogates/shadcn@sha256:de1c1ad6a44d5a96

The line at the top of this page pins the label git:20260422.301f3f1, 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_eycsc5chk2o7t3v4.svg)](https://markdownregistry.com/a/art_eycsc5chk2o7t3v4)

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

Versions

The registry has recorded 1 version of this file, committed on Apr 22, 2026.

versioncommittedcommitsizeaudit
git:20260422.301f3f1 latest2026-04-22 301f3f1 17,326 BA view

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 (17326 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

invergent-ai/surogates · 28 stars · license AGPL-3.0 · pushed 2026-11-05 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_eycsc5chk2o7t3v4
GET https://markdownregistry.com/api/v1/resolve?ref=invergent-ai/surogates/shadcn
GET https://markdownregistry.com/api/v1/blob/de1c1ad6a44d5a963370d172ea8c770cb3b87e733dd09fa5681e86eac473ae2e

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 invergent-ai/surogates

subagent-task-orchestrator SKILL.md skill
invergent-ai/surogates · skills/kanban/subagent-task-orchestrator/SKILL.md · Decomposition playbook and anti-temptation rules for an orchestrator agent that routes work through the Surogates…
v1.0.0 · audit A · 28 stars
subagent-task-worker SKILL.md skill
invergent-ai/surogates · skills/kanban/subagent-task-worker/SKILL.md · Pitfalls, examples, and edge cases for workers executing a Surogates subagent task. Loaded automatically when the…
v1.0.0 · audit A · 28 stars
brainstorming SKILL.md skill
invergent-ai/surogates · skills/process/brainstorming/SKILL.md · Agree the design of a large, open-ended build with the user before building it.
v1.0.0 · audit A · 28 stars
dispatching-parallel-agents SKILL.md skill
invergent-ai/surogates · skills/process/dispatching-parallel-agents/SKILL.md · Split 2+ independent investigations or tasks across sub-agents (delegate_task) and merge the results.
v1.0.0 · audit A · 28 stars
executing-plans SKILL.md skill
invergent-ai/surogates · skills/process/executing-plans/SKILL.md · Carry out an existing written implementation plan step by step with checkpoints.
v1.0.0 · audit A · 28 stars
writing-plans SKILL.md skill
invergent-ai/surogates · skills/process/writing-plans/SKILL.md · Turn an agreed spec for a large multi-step build into a step-by-step implementation plan.
v2.0.0 · audit A · 28 stars
writing-skills SKILL.md skill
invergent-ai/surogates · skills/process/writing-skills/SKILL.md · Create or edit a skill (SKILL.md) when the user asks for one.
v1.0.0 · audit A · 28 stars
consolidate-memory SKILL.md skill
invergent-ai/surogates · skills/productivity/consolidate-memory/SKILL.md · Clean up memory (merge duplicates, fix or remove stale entries) when the user asks.
git:20261104.c3eaa01 · audit A · 28 stars
doc-coauthoring SKILL.md skill
invergent-ai/surogates · skills/productivity/doc-coauthoring/SKILL.md · Co-write a long structured document (proposal, spec, decision doc) with the user over several rounds, when they want to…
git:20261104.c3eaa01 · audit A · 28 stars
docx SKILL.md skill
invergent-ai/surogates · skills/productivity/docx/SKILL.md · Create, edit or convert Word documents (.docx/.dotx), including tracked changes, comments, images and formatting.
git:20261104.c3eaa01 · audit A · 28 stars
import-memory SKILL.md skill
invergent-ai/surogates · skills/productivity/import-memory/SKILL.md · Import a memory export from another assistant (ChatGPT, Gemini, Claude, ...) into memory.
git:20261104.c3eaa01 · audit B · 28 stars
maps SKILL.md skill
invergent-ai/surogates · skills/productivity/maps/SKILL.md · Geocoding, places, routes and timezones via OpenStreetMap/OSRM.
v1.2.0 · audit A · 28 stars

Every file in invergent-ai/surogates

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,860 stars
shadcn SKILL.md skill
different-ai/openwork · .opencode/skills/shadcn/SKILL.md · Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides…
git:20260515.f39ae6d · audit A · 24,407 stars
shadcn SKILL.md skill
devin-axis/ipollowork · .opencode/skills/shadcn/SKILL.md · Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides…
git:20260711.ec0d7ce · audit A · 7,432 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,818 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 · 557 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 · 405 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 · 214 stars

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