agentleFS
roborracleroborracle/agent-workflow-kit/skills/shadcn-ui/SKILL.md

shadcn-ui

Skill0 starsChanged 3 months agoMITView on GitHub

Complete shadcn/ui expertise covering component selection, implementation, customization, and composition. Includes requirements analysis, component research, and implementation patterns. Use when building with shadcn/ui components or need guidance on component selection.

41 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use i18n-translate, shader-dev and 10 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.
  • lien0219Skill

    i18n-translate

    Complete and maintain frontend i18n translations for this project. Covers finding missing translation keys, detecting untranslated entries, and adding translations for all supported locales (en, zh, fr, ja, ru, vi). Use when the user asks to add translations, fix i18n, complete missing translations, or when new UI text needs to be internationalized.

    Also in 4 projects that use this

  • HK-hubSkill

    shader-dev

    Comprehensive GLSL shader techniques for creating stunning visual effects — ray marching, SDF modeling, fluid simulation, particle systems, procedural generation, lighting, post-processing, and more.

    Also in 4 projects that use this

  • OpenAISkill

    figma-create-new-file

    Create a new blank Figma file. Use when the user wants to create a new Figma design or FigJam file, or when you need a new file before calling use_figma. Handles plan resolution via whoami if needed. Usage — /figma-create-new-file [editorType] [fileName] (e.g. /figma-create-new-file figjam My Whiteboard)

    Also in 3 projects that use this

  • nilecuiSkill

    api-design-principles

    Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.

    Also in 4 projects that use this

  • xfstudioSkill

    tailwind-design-system

    Build scalable design systems with Tailwind CSS, design tokens, component libraries, and responsive patterns. Use when creating component libraries, implementing design systems, or standardizing UI patterns.

    Also in 4 projects that use this

  • OpenAISkill

    nextjs

    Next.js App Router expert guidance. Use when building, debugging, or architecting Next.js applications — routing, Server Components, Server Actions, Cache Components, layouts, middleware/proxy, data fetching, rendering strategies, and deployment on Vercel.

    Also in 4 projects that use this

  • +1 more from openai

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 36 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use semantic color variables (primary, secondary, destructive)

    line 57
  2. Very specific:

    Use asChild for custom trigger elements

    line 59

“Common” is measured: kept by at least 6 in 10 of the 36 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

shadcn/ui Expert

Quick Start

npx shadcn@latest init
npx shadcn@latest add button card dialog input

Component Selection Guide

NeedComponents
FormsField, Input, Select, Checkbox, RadioGroup, Switch, Textarea
NavigationNavigationMenu, Tabs, Breadcrumb, Pagination
FeedbackAlert, Toast, Progress, Skeleton
OverlaysDialog, Sheet, Popover, Tooltip, DropdownMenu
Data DisplayTable, Card, Badge, Avatar, Separator

Key Patterns

Form with Validation (react-hook-form + zod; render inputs with Controller + the Field components)

const schema = z.object({ email: z.string().email(), name: z.string().min(2) })
const form = useForm({ resolver: zodResolver(schema) })

Custom Component Extension

interface LoadingButtonProps extends React.ComponentProps<typeof Button> {
  loading?: boolean
}
export function LoadingButton({ loading, children, disabled, ...props }: LoadingButtonProps) {
  return (
    <Button disabled={loading || disabled} {...props}>
      {loading && <Loader2 className="mr-2 h-4 w-4 animate-spin" />}
      {children}
    </Button>
  )
}

Component Dependencies

ComponentRequires
Field (forms)react-hook-form, @hookform/resolvers, zod
DataTable@tanstack/react-table
DatePickerdate-fns, react-day-picker
Toastsonner
Chartsrecharts

Best Practices

  • Use semantic color variables (primary, secondary, destructive)
  • Compose components for complex UI
  • Use asChild for custom trigger elements

Download now (ZIP)

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.