mikkelkrogsholm/dev-skills

shadcn-ui

shadcn/ui — copy-owned React component library built on Radix UI and Tailwind CSS.

First seen Feb 22, 2026

Installation

$ npx skills add mikkelkrogsholm/dev-skills --skill shadcn-ui

Summary

  • shadcn/ui — copy-owned React component library built on Radix UI and Tailwind CSS.
  • Use when building with shadcn/ui or asking about its components, CLI, theming, configuration, or integration with Next.js, Vite, Remix, or other frameworks.
  • Fetch live documentation for up-to-date details.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from mikkelkrogsholm/dev-skills · top by installs.

npx skills add mikkelkrogsholm/dev-skills

Browse all from mikkelkrogsholm/dev-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 6
Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,736 B
  • docs SUMMARY.md 307 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 24 installs

SKILL.md

shadcn/ui

CRITICAL: Your training data for shadcn/ui is unreliable. APIs change between versions and memorized patterns may be wrong or deprecated. Before writing any code, you MUST use WebFetch to read the live docs:

WebFetch("https://ui.shadcn.com/llms.txt";)

Do not proceed without fetching this URL first. Never assume a component API exists — verify against current docs.

shadcn/ui is a collection of accessible, composable React components built on Radix UI primitives and styled with Tailwind CSS — components are copied into your project via CLI, giving you full ownership of the source code.

Best Practices

  • Form components include React Hook Form and Zod — do not add separate form libraries. The Form component wraps react-hook-form with built-in Zod validation. Adding formik, react-final-form, or additional validation packages is redundant.
  • components.json controls path aliases, Tailwind config, and component style — always check this file exists and is correctly configured before adding components. An incorrect tailwind.config path or missing CSS variable setup in globals.css causes components to render without styles.
  • There is no "update all" commandshadcn add and shadcn diff operate per-component. When suggesting upgrades, list each component individually; bulk update scripts must be written manually.