Skip to content
Skillv1.0.0

shadcn

Provides shadcn/ui component library best practices and patterns. Triggers when writing, reviewing, or refactoring shadcn/ui components; when working with Radix primitives, Tailwind styling, React Hoo

by shipshitdev(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from shipshitdev/skills (skills/shadcn/SKILL.md). Install upstream with npx skills add shipshitdev/skills --skill shadcn. Copyright stays with the author.

shadcn/ui Community Best Practices

58 rules across 10 categories for shadcn/ui, prioritized by impact to guide automated refactoring and code generation.

When to Apply

  • 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)

2. Component Architecture (CRITICAL)

3. Accessibility Preservation (CRITICAL)

4. Styling & Theming (HIGH)

5. Form Patterns (HIGH)

6. Data Display (MEDIUM-HIGH)

7. Layout & Navigation (MEDIUM)

8. Component Composition (MEDIUM)

9. Performance Optimization (MEDIUM)

10. State Management (LOW-MEDIUM)

How to Use

Read individual reference files for detailed explanations and code examples:

Reference Files

File Description
references/_sections.md Category definitions and ordering
assets/templates/_template.md Template for new rules

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/shipshitdev-skills-shadcn/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

shipshitdev-skills-shadcn.ocm.jsonjson
{
  "ocm": "1",
  "id": "shipshitdev-skills-shadcn",
  "kind": "skill",
  "name": "shadcn",
  "description": "Provides shadcn/ui component library best practices and patterns. Triggers when writing, reviewing, or refactoring shadcn/ui components; when working with Radix primitives, Tailwind styling, React Hook Form validation, data tables, theming, or component composition patterns.",
  "publisher": "shipshitdev",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "shadcn",
      "ui",
      "react",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Provides shadcn/ui component library best practices and patterns. Triggers when writing, reviewing, or refactoring shadcn/ui components; when working with Radix primitives, Tailwind styling, React Hook Form validation, data tables, theming, or component composition patterns."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/shipshitdev/skills",
      "path": "skills/shadcn/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/shipshitdev/skills/blob/HEAD/skills/shadcn/SKILL.md",
      "key": "shipshitdev/skills/skills/shadcn/SKILL.md"
    }
  },
  "instructions": "# shadcn/ui Community Best Practices\n\n58 rules across 10 categories for shadcn/ui, prioritized by impact to guide automated refactoring and code generation.\n\n## When to Apply\n\n- Installing and configuring shadcn/ui in a project\n- Writing new shadcn/ui components or composing primitives\n- Implementing forms with React Hook Form and Zod validation\n- Building data tables or handling large dataset displays\n- Customizing themes or adding dark mode support\n- Reviewing code for accessibility compliance\n\n## Rule Categories by Priority\n\n| Priority | Category | Impact | Prefix |\n|----------|----------|-",
  "cost": {
    "context_tokens": 2301
  }
}

Fetch it by URL: GET /api/v1/registry/shipshitdev-skills-shadcn/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.