Help us improve
Share bugs, ideas, or general feedback.
From beagle-react
Reviews shadcn/ui React components for CVA patterns, asChild composition, accessibility states, and data-slot usage. Use when auditing shadcn/ui, Radix primitives, or Tailwind-styled UI code.
npx claudepluginhub existential-birds/beagle --plugin beagle-reactHow this skill is triggered — by the user, by Claude, or both
Slash command
/beagle-react:shadcn-code-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
| Issue Type | Reference |
Provides shadcn/ui best practices for writing, reviewing, refactoring components ensuring architecture, accessibility, performance. Covers CLI setup, Radix primitives, Tailwind, forms with React Hook Form, data tables, theming.
Guides shadcn/ui component development with CLI commands, CVA variants, Radix primitives, Tailwind styling, compound patterns, and data-slot attributes.
Reviews React components for architecture, hooks usage, React 19 patterns, state management, performance optimization, accessibility, and TypeScript. Use before merging PRs, after new features, or for validation.
Share bugs, ideas, or general feedback.
| Issue Type | Reference |
|---|---|
| className in CVA, missing VariantProps, compound variants | references/cva-patterns.md |
| asChild without Slot, missing Context, component composition | references/composition.md |
| Missing focus-visible, aria-invalid, disabled states | references/accessibility.md |
| Missing data-slot, incorrect CSS targeting | references/data-slot.md |
cn() receives className, not CVA variantsVariantProps<typeof variants> exported for consumersasChild pattern uses @radix-ui/react-slotfocus-visible: states, not just :focusaria-invalid, aria-disabled for form statesdisabled: variants for all interactive elementssr-only for screen reader textdata-slot attributes for targetable composition partshas() selectors for state-based stylingThese are correct patterns that should NOT be flagged as issues:
max-h-(--var) - correct Tailwind v4 CSS variable syntax (NOT v3 bracket notation)text-[color:var(--x)] - valid arbitrary value syntaxApply these rules with appropriate context awareness:
shadcn/ui components are designed to be copied and modified. Code review should focus on:
Do NOT flag:
Load and follow review-verification-protocol before reporting any issue.