shadcn-code-review

shadcn-code-review is a skill for Claude Code, Codex from existential-birds/beagle. It costs 58 tokens per session (1,228 once invoked), scanned A, original, Apache-2.0.

A code-review skill for shadcn/ui components, which are React interface components commonly styled with Tailwind CSS and built with Radix primitives. It checks component variants, composition, accessibility states, and styling hooks.

In plain words
What is it for?
Use it to review shadcn/ui or similar React components for CVA variants, Radix Slot composition, focus and form states, screen-reader text, data-slot attributes, and Tailwind selectors.
Why use it?
It finds common mistakes such as incorrect variant definitions, incomplete keyboard or disabled states, and misuse of the asChild composition pattern. It also checks that component parts can be styled and targeted consistently.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review shadcn/ui or similar React components for CVA variants, Radix Slot composition, focus and form states, screen-reader text, data-slot attributes, and Tailwind selectors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/existential-birds/beagle/shadcn-code-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add existential-birds/beagle --skill shadcn-code-review
Clone the repo
git clone --depth 1 https://github.com/existential-birds/beagle

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for shadcn-code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/existential-birds/beagle/shadcn-code-review/github.svg)](https://agentmods.dev/skills/existential-birds/beagle/shadcn-code-review)
Your own site
<a href="https://agentmods.dev/skills/existential-birds/beagle/shadcn-code-review"><img src="https://agentmods.dev/badge/skills/existential-birds/beagle/shadcn-code-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for shadcn-code-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/existential-birds/beagle/shadcn-code-review"><img src="https://agentmods.dev/badge/skills/existential-birds/beagle/shadcn-code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,228 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00058 $0.01228
Opus 5.5 $0.00023 $0.00491
Sonnet 5.5 $0.00012 $0.00246
Haiku 4.5 $0.00006 $0.00123

Measured 4d ago against content hash 1f7d7890bd78, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

shadcn-code-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/shadcn-code-review/SKILL.md · 98 lines

How it starts

The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.

shadcn/ui Code Review

Quick Reference

Issue Type Reference
className in CVA, missing VariantProps, compound variants references/cva-patterns.md
asChild / Slot (radix-ui or @radix-ui/react-slot), Base UI render prop, Context, React 19 ref references/composition.md
Missing focus-visible, aria-invalid, disabled states references/accessibility.md
Missing data-slot, incorrect CSS targeting references/data-slot.md

Review Checklist

  • cn() receives className, not CVA variants
  • VariantProps<typeof variants> exported for consumers
  • Compound variants used for complex state combinations
  • asChild uses Slot from unified radix-ui (import { Slot } from "radix-ui") or @radix-ui/react-slot, or Base UI components use @base-ui/react render prop
  • Props typed with React.ComponentProps<...> (React 19 ref prop forwarded cleanly; do not require React.forwardRef on React 19)
  • Context used for compound component composition (Card, Accordion, etc.)
  • focus-visible: states, not just :focus
  • aria-invalid, aria-disabled for form states
  • disabled: variants for all interactive elements
  • sr-only for screen reader text
  • data-slot attributes for targetable composition parts
  • CSS uses has() selectors for state-based styling
  • No direct className overrides of variant styles

Hard gates (before writing findings)

Run these in order. Do not draft user-facing findings until every gate passes for the batch you are about to report.

  1. Location evidence — Pass: Each issue lists a repo path and either a line range or a short verbatim quote from the file you read (not from memory or diff-only guesswork).

  2. Exemption check — Pass: For each issue, you can state in one line why it is not covered by Valid Patterns (Do NOT Flag).

Read the full file on GitHub · 98 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago Changed · +3 lines · +8 tokens per session 1f7d7890bd78
  2. 2mo ago First seen · 95 lines · 50 tokens per session scan A c97c17ba518f

Subscribe to this mod's changes

shadcn-code-review is a skill published in the GitHub repository existential-birds/beagle (91 stars, last pushed 4d ago), licensed Apache-2.0. It adds 58 tokens to every session and 1,228 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-16.

Related

shadcn-code-review compared with skills from other repositories

shadcn-code-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
shadcn-code-reviewexistential-birds/beagleSkill914d agoApache-2.0A58Claude Code, Codex
isolating-product-facade-contractsPostHog/posthogSkill41ktodaynoneA76Claude Code, Codex
qa-frontendPostHog/posthogSkill41ktodaynoneA216Claude Code
exploring-autocapture-eventsPostHog/posthogSkill41ktodaynoneA127Claude Code, Codex
reviewing-personhog-protocolPostHog/posthogSkill41ktodaynoneA111Claude Code, Codex
splitting-oversized-modulesPostHog/posthogSkill41ktodaynoneA197Claude Code, Codex
establishing-code-ownershipPostHog/posthogSkill41ktodaynoneA94Claude Code, Codex