agentleFS
AnasX7AnasX7/skills/shadcn/SKILL.md

shadcn

Skill1 starsChanged 10 months agoNo licenceView on GitHub

Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", or "switch to --preset".

  • Installs packages

84 other projects use a version of this, 51 of them edited; 50 of 51 edited versions we compared changed its rules; 0 new projects in the last 4 weeks, against 3 the 4 before.

How people change it

50 of 51 edited versions changed its rules, and some changes recur.

Of the 51 edited versions we compared: 1 keep every rule, 50 made changes of their own.

Rules people drop

  1. Toast follows the project base. Use toast from the toast component for Base UI projects. Use toast() from sonner for Radix and React Aria projects.dropped by 48 of 50
  2. Never decode preset codes or build preset URLs manually. Use npx shadcn@latest preset decode <code>, preset url <code>, or preset open <code>. For project-aware preset detection, use npx shadcn@latest preset resolve.dropped by 26 of 50
  3. Apply preset codes directly with the CLI. Use npx shadcn@latest apply <code> for existing projects, or npx shadcn@latest init --preset <code> when initializing.dropped by 26 of 50
  4. Use existing components first. Use npx shadcn@latest search to check registries before writing custom UI. Check community registries too.dropped by 1 of 50
  5. className for layout, not styling. Never override component colors or typography.dropped by 1 of 50
  6. No manual dark: color overrides. Use semantic tokens (bg-background, text-muted-foreground).dropped by 1 of 50
  7. Use cn() for conditional classes. Don't write manual template literal ternaries.dropped by 1 of 50
  8. Forms use FieldGroup + Field. Never use raw div with space-y-* or grid gap-* for form layout.dropped by 1 of 50

Rules people add

  1. A rule we can't quote: its licence doesn't allow itadded by 47 of 50
  2. A rule we can't quote: its licence doesn't allow itadded by 16 of 50
  3. Use when adding new components from shadcn/ui or community registries.added by 3 of 50
  4. Use when styling, composing, or debugging existing shadcn/ui components.added by 3 of 50
  5. Use when initializing a new project or switching design system presets.added by 3 of 50
  6. Use to retrieve component documentation, examples, and API references.added by 3 of 50
  7. A rule we can't quote: its licence doesn't allow itadded by 2 of 50
  8. A rule we can't quote: its licence doesn't allow itadded by 2 of 50

We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.

Adopted by

Cooling: 0 new projects took it in the last 4 weeks, 0× the 4 weeks before.thin data

Week of Sep 27: 2 new projectsWeek of Oct 4: 1 new projectWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projects
Sep 2026Oct 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 3 in all, so this is a hint, not a trend.

Most recently taken up by

Used with

Projects with it also use tanstack, app-renderer-systems and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • barisariburnuSkill

    tanstack

    Expert assistance for TanStack Router, Query (v5), and Table (v8). Use when users need help with file-based routing, type-safe navigation, data loading, search params, queries, mutations, optimistic updates, infinite queries, table state management, or debugging TanStack libraries.

    Also in 4 projects that use this

  • pedronauckSkill

    app-renderer-systems

    Create, extend, or debug frontend domain modules organized under systems/. Covers adapters, Query hooks, local state, and public exports; excludes generic components and backend implementation.

    Also in 3 projects that use this

  • pedronauckSkill

    refactoring-analysis

    Audit code quality and architectural health or plan refactoring using Fowler code smells and techniques; write prioritized findings to docs/_refacs/. Excludes formatting, performance, and security audits.

    Also in 3 projects that use this

  • txn2Skill

    migrate-radix-to-base

    Migrates React projects and components from Radix UI to Base UI. Use when asked to migrate from radix, move to base-ui, convert radix primitives, or switch a shadcn project's base library. Handles single components ("migrate accordion") and whole projects.

    Also in 3 projects that use this

  • dbDev-codeSkill

    tauri-v2

    Tauri v2+ cross-platform app development with Rust backend. Use when configuring tauri.conf.json, implementing Rust commands (#[tauri::command]), setting up IPC patterns (invoke, emit, channels), configuring permissions/capabilities, troubleshooting build issues, or deploying desktop/mobile apps. Triggers on Tauri, src-tauri, invoke, emit, capabilities.json.

    Also in 5 projects that use this

  • VercelSkill

    zustand

    Zustand adapter for json-render's StateStore interface. Use when integrating json-render with Zustand for state management via @json-render/zustand.

    Also in 3 projects that use this

  • +1 more from pedronauck

The file

Show its rules and text

We split this skill into the rules it gives an agent

20 rules. 1 is common, 0 are distinctive, and 19 are very specific to this project.

  • 1

    Common

    Most of the 65 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 19

    Very specific

    Tied to their project's names, files or tools. Probably skip.

No licence file, so all rights are reserved — read it at the source. We count its rules but don't quote them. Read them on GitHub.

“Common” is measured: kept by at least 6 in 10 of the 65 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.