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.
npx skills add pproenca/dot-skills --skill shadcngit clone --depth 1 https://github.com/pproenca/dot-skillsWrote 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.
[](https://agentmods.dev/skills/pproenca/dot-skills/shadcn)<a href="https://agentmods.dev/skills/pproenca/dot-skills/shadcn"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/shadcn.svg" alt="Measured on agentmods" height="20"></a>- Socket pass
- Snyk pass
- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00080 | $0.02253 |
| Opus 5 | $0.00040 | $0.01126 |
| Sonnet 5 | $0.00016 | $0.00451 |
| Haiku 4.5 | $0.00008 | $0.00225 |
Grade A, and why
shadcn 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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.
shadcn/ui Community Best Practices
Comprehensive best practices guide for shadcn/ui applications, maintained by the shadcn/ui community. Contains 58 rules across 10 categories, prioritized by impact to guide automated refactoring and code generation.
When to Apply
Reference these guidelines when:
- Installing and configuring shadcn/ui in a project
- Writing new shadcn/ui components or composing primitives
- Implementing forms with React Hook Form and Zod validation
- Building data tables or handling large dataset displays
- Customizing themes or adding dark mode support
- Reviewing code for accessibility compliance
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | CLI & Project Setup | CRITICAL | setup- |
| 2 | Component Architecture | CRITICAL | arch- |
| 3 | Accessibility Preservation | CRITICAL | ally- |
| 4 | Styling & Theming | HIGH | style- |
| 5 | Form Patterns | HIGH | form- |
| 6 | Data Display | MEDIUM-HIGH | data- |
| 7 | Layout & Navigation | MEDIUM | layout- |
| 8 | Component Composition | MEDIUM | comp- |
| 9 | Performance Optimization | MEDIUM | perf- |
| 10 | State Management | LOW-MEDIUM | state- |
Quick Reference
1. CLI & Project Setup (CRITICAL)
setup-components-json- Configure components.json before adding componentssetup-path-aliases- Configure TypeScript path aliases to match components.jsonsetup-cn-utility- Create the cn utility before using componentssetup-use-cli-not-copy- Use CLI to add components instead of copy-pastesetup-css-variables-theme- Enable CSS variables for consistent themingsetup-rsc-configuration- Set RSC flag based on framework support
2. Component Architecture (CRITICAL)
What ships with it
60 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.
- AGENTS.md 12 KB
- assets/templates/_template.md 1015 B
- metadata.json 963 B
- README.md 4.5 KB
- references/_sections.md 2.1 KB
- references/ally-aria-invalid-errors.md 1.6 KB
- references/ally-checkbox-label-association.md 1.5 KB
- references/ally-dialog-title-required.md 1.8 KB
- references/ally-ensure-color-contrast.md 1.7 KB
- references/ally-focus-visible-styles.md 1.5 KB
- references/ally-form-field-labels.md 1.7 KB
- references/ally-maintain-focus-management.md 2.0 KB
- references/ally-preserve-aria-attributes.md 2.2 KB
- references/ally-preserve-keyboard-navigation.md 2.0 KB
- references/ally-provide-sr-only-labels.md 1.8 KB
- references/arch-extend-variants-with-cva.md 1.9 KB
- references/arch-forward-refs-for-composable-components.md 2.0 KB
- references/arch-isolate-component-variants.md 2.2 KB
- references/arch-preserve-radix-primitive-structure.md 1.6 KB
- references/arch-use-asChild-for-custom-triggers.md 1.8 KB
- references/arch-use-cn-for-class-merging.md 1.7 KB
- references/comp-combine-command-with-popover.md 3.1 KB
- references/comp-compose-with-compound-components.md 3.0 KB
- references/comp-create-reusable-form-fields.md 3.8 KB
- references/comp-nest-dialogs-correctly.md 3.1 KB
- references/comp-use-drawer-for-mobile-modals.md 3.3 KB
- references/comp-use-slot-pattern-for-flexibility.md 3.2 KB
- references/data-empty-states-with-guidance.md 2.9 KB
- references/data-paginate-server-side.md 2.8 KB
- references/data-use-skeleton-loading-states.md 2.6 KB
- references/data-use-tanstack-table-for-complex-tables.md 3.1 KB
- references/data-virtualize-large-lists.md 2.4 KB
- references/form-handle-async-validation.md 2.7 KB
- references/form-reset-form-state-correctly.md 2.3 KB
- references/form-show-validation-errors-correctly.md 1.7 KB
- references/form-use-react-hook-form-integration.md 2.9 KB
- references/form-use-zod-for-schema-validation.md 2.5 KB
- references/layout-breadcrumb-navigation.md 2.0 KB
- references/layout-sheet-mobile-nav.md 2.0 KB
- references/layout-sidebar-collapsible.md 1.7 KB
- references/layout-sidebar-groups.md 3.1 KB
- references/layout-sidebar-provider.md 1.6 KB
- references/perf-avoid-unnecessary-rerenders-in-forms.md 2.6 KB
- references/perf-debounce-search-inputs.md 2.2 KB
- references/perf-lazy-load-heavy-components.md 2.5 KB
- references/perf-memoize-expensive-renders.md 2.4 KB
- references/perf-optimize-icon-imports.md 1.9 KB
- references/setup-cn-utility.md 1.2 KB
- references/setup-components-json.md 1.5 KB
- references/setup-css-variables-theme.md 1.3 KB
- references/setup-path-aliases.md 1.2 KB
- references/setup-rsc-configuration.md 1.4 KB
- references/setup-use-cli-not-copy.md 1.2 KB
- references/state-colocate-state-with-components.md 2.7 KB
- references/state-lift-state-to-appropriate-level.md 2.6 KB
- references/state-prefer-uncontrolled-for-simple-inputs.md 2.5 KB
- references/state-use-controlled-dialog-state.md 3.3 KB
- references/style-avoid-important-overrides.md 1.7 KB
- references/style-consistent-spacing-scale.md 1.9 KB
- references/style-dark-mode-support.md 2.2 KB
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.
- 8d ago First seen · 144 lines · 80 tokens per session scan A 9c93969803bd
shadcn is a skill published in the GitHub repository pproenca/dot-skills (203 stars, last pushed 23d ago), licensed MIT. It adds 80 tokens to every session and 2,253 once invoked, about $0.0004 per session on Opus 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-08-30.
Other skills, from other repositories
chakra-ui-builder
Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…
frontend-ui-dark-ts
Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.
cobejs
Use when adding a lightweight interactive globe with cobe (canvas setup, markers, interaction, performance, integration with React/Next.js).
stitch::react-components
Converts Stitch designs into modular Vite and React components, or syncs/updates existing React components to align with the latest Stitch designs, using system-level networking and AST-based validation.
seed-design
An integration guide for SEED Design, covering shared component specifications and foundations plus React and Lynx implementation guidance.
vercel-composition-patterns
React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.