Home / different-ai / openwork · .opencode/skills/shadcn/SKILL.md · GitHub

shadcn skillA

This file is byte-identical to the first copy the registry indexed. Same content hash, same audit grade.

shadcn is agent-read markdown (skill) from different-ai/openwork: 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"..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns 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

Latest version
mdr add different-ai/openwork/shadcn@git:20260515.f39ae6d
Exact content
mdr add different-ai/openwork/shadcn@sha256:c5a5c3a8e380ab7d

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

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

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260515.f39ae6d latest2026-05-15 f39ae6d 18,114 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, 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 (18114 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

different-ai/openwork · 23,724 stars · license NOASSERTION · pushed 2026-09-25 · branch dev

API

GET https://markdownregistry.com/api/v1/artifacts/art_yuesodlcaljeghrf
GET https://markdownregistry.com/api/v1/resolve?ref=different-ai/openwork/shadcn
GET https://markdownregistry.com/api/v1/blob/c5a5c3a8e380ab7d49369c68a715b2da6b1bcc449898cfdf787bbab8cb13a5d9

Your agent 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.

More from different-ai/openwork

browser-automation skill
different-ai/openwork · .opencode/skills/browser-automation/SKILL.md · Local OpenWork Electron browser automation with CDP. Use when driving a local Electron dev app, browser_list…
git:20260904.25c1014 · audit B · 23,724 stars
create-plugin skill
different-ai/openwork · .opencode/skills/create-plugin/SKILL.md · Create an OpenCode plugin for OpenWork. Scaffolds the plugin file with the correct API shape, tool definitions, and…
git:20260602.20013d2 · audit A · 23,724 stars
daytona-seeded-cloud-demo skill
different-ai/openwork · .opencode/skills/daytona-seeded-cloud-demo/SKILL.md · Daytona seeded cloud demo, demo credentials, Acme Robotics seed. Use when the user asks to spin up, keep running, seed…
git:20260827.92f4f3f · audit B · 23,724 stars
daytona-windows-cert skill
different-ai/openwork · .opencode/skills/daytona-windows-cert/SKILL.md · test on Windows, enterprise CA, corporate certificate, GPO cert, TLS fetch failed, Windows sandbox, daytona windows…
git:20260904.25c1014 · audit A · 23,724 stars
daytona skill
different-ai/openwork · .opencode/skills/daytona/SKILL.md · Daytona CLI setup, sandbox debugging, keep a sandbox alive, secrets volume, snapshot refresh. Use when Daytona itself…
git:20260905.46ba486 · audit A · 23,724 stars
diagnose-a-red-run skill
different-ai/openwork · .opencode/skills/diagnose-a-red-run/SKILL.md · Test is red, typecheck failed, CI job failed, flaky, timed out, was this already broken. Use to classify any failing…
git:20260921.bbe08f8 · audit A · 23,724 stars
get-env-var skill
different-ai/openwork · .opencode/skills/get-env-var/SKILL.md · get an env var, fetch a secret, missing env var, missing token/API key, load secrets from Infisical, infisical. Fetch…
git:20260902.114ecbd · audit A · 23,724 stars
hunt-a-prod-error skill
different-ai/openwork · .opencode/skills/hunt-a-prod-error/SKILL.md · A user saw internal_error, "Unexpected server error", a 500, or an opaque failure in a shipped OpenWork build. Find the…
git:20260921.bbe08f8 · audit A · 23,724 stars
open-a-pr skill
different-ai/openwork · .opencode/skills/open-a-pr/SKILL.md · Open a PR, write or rewrite a PR description, "the PR body is too long", or check whether a PR description is readable…
git:20260923.b2fdf64 · audit A · 23,724 stars
openwork-models skill
different-ai/openwork · .opencode/skills/openwork-models/SKILL.md · Manage OpenWork inference model aliases, openwork model overlays, discounts, validation, and automated base model…
git:20260911.4fa0232 · audit B · 23,724 stars
preview-my-work skill
different-ai/openwork · .opencode/skills/preview-my-work/SKILL.md · Boot, reopen, update, or reset OpenWork PR previews. Discover script worlds, use configurable app-web locally or…
git:20260924.c340d9e · audit A · 23,724 stars
record-a-demo skill
different-ai/openwork · .opencode/skills/record-a-demo/SKILL.md · Screenshots, recording, and presentation artifacts.
git:20260921.bbe08f8 · audit B · 23,724 stars

Every file in different-ai/openwork

Other files named shadcn

shadcn 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 · 6,668 stars
shadcn 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 · 169 stars
shadcn skill
mweinbach/agent-coworker · .claude/skills/shadcn/SKILL.md · Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides…
git:20260905.cfba839 · audit A · 156 stars
shadcn 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 · 156 stars
shadcn 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:20260803.84ed3f4 · audit A · 113 stars
shadcn skill
tdimino/claude-code-minoan · skills/design-media/shadcn/SKILL.md · Install, customize, and compose shadcn/ui components with design-system awareness. Covers CLI v4, custom registries…
git:20260416.4e43d41 · audit A · 41 stars
shadcn skill
invergent-ai/surogates · web/.agents/skills/shadcn/SKILL.md · Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides…
git:20260422.301f3f1 · audit A · 25 stars
shadcn skill
bjornmelin/dev-skills · skills/shadcn/SKILL.md · Manage shadcn/ui components: add, search, fix, style and compose, with registry and component docs. Applies to any…
git:20260908.2a5535e · audit A · 8 stars

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