Shadcn Component Review
Review custom components and layouts against shadcn patterns, style conventions, and composition rules.
- CCM score
- 57 of 100
- skills.sh installs
- 680
- GitHub stars
- 26
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers spacing drift, hardcoded colors, missing
data-slotattributes, and Radix or Base UI composition anti-patterns - Includes per-style checks for Vega, Nova, Maia, Lyra, and Mira, plus a grep for hardcoded Tailwind color scales
- Enforces semantic design tokens,
gap-*overspace-y-*, andcn()with a consumerclassNameoverride - Designed for post-hoc audits of components written by hand, by a teammate, or by an AI assistant
Install
$ npx -y skills add mattbx/shadcn-skills --skill shadcn-component-review -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
shadcn Component Review
Systematic audit process for ensuring custom components align with shadcn design patterns, the project's chosen visual style, and modern composition conventions.
How This Complements the Official shadcn Skill
The official shadcn skill (shipped with CLI v4) enforces rules at generation time — telling agents "use gap-* not space-y-*, use semantic colors, use size-* for equal width/height," and so on. That's correct behavior when writing new code.
This skill is for post-hoc audit — reviewing components that already exist (written by Claude, by a teammate, by a previous iteration) against those same rules plus the visual-style-specific patterns that vary by theme (Vega spacing differs from Maia differs from Mira). When the two skills both apply, the official handles forward-generation and this one handles retrospective review. They don't conflict — they check the same rules from different directions.
Core Principle
Details
- Repository
- github.com/mattbx/shadcn-skills
- Categories
- Frontend & UI Code, Design & UI/UX, Code Review & Quality
- First seen
- Jun 3, 2026
Questions
What does the shadcn-component-review skill do?
shadcn-component-review audits custom components and layouts against shadcn design patterns, visual style conventions, composition rules and design token usage. It flags spacing drift, hardcoded colors, missing data-slot attributes and composition anti-patterns in existing code.
How do I install the shadcn-component-review skill?
Run npx -y skills add mattbx/shadcn-skills --skill shadcn-component-review -y in your project. Once installed, shadcn-component-review reviews components when you ask it to check spacing, audit a layout or confirm a component follows shadcn patterns.
Which visual styles does shadcn-component-review check against?
shadcn-component-review checks against the Vega, Nova, Maia, Lyra and Mira visual styles, applying per-style spacing, radius and density expectations. It reads the project's style from the shadcn CLI or components.json before reviewing.
Where does shadcn-component-review sit among other Frontend and UI Code skills?
shadcn-component-review is listed in the Frontend & UI Code category on Claude Marketplaces. Its own focus is retrospective review of existing shadcn components, unlike generation-time rules that guide writing new code.
More from mattbx/shadcn-skills
All 2Similar to Shadcn Component Review
More Frontend & UI Codeshadcn-code-reviewexistential-birds/beagle206 installsStructured review checklist for shadcn/ui components covering CVA variants, asChild composition, accessibility states, and data-slot usage.
shadcnpproenca/dot-skills745 installsBest-practice rules guide for shadcn/ui covering setup, accessibility, forms, theming, and composition across 58 rules.
ui-stylingnextlevelbuilder/ui-ux-pro-max-skill56.2K installsPragmatic styling guide pairing shadcn/ui components with Tailwind CSS and canvas-based visual design.
component-interface-designqodex-ai/ai-agent-skills184 installsOpinionated UI design guide applying Shadcn principles with strict typography, spacing, shadow, and accessibility rules.
shadcn-vueunovue/shadcn-vue6.4K installsA shadcn-vue skill that adds, searches, fixes, and styles components while enforcing Tailwind, form, and composition conventions.
shadcn-uigoogle-labs-code/stitch-skills55.7K installsExpert guidance for integrating shadcn/ui components with copy-in ownership, discovery, and customization practices.