Smithery Logo
MCPsSkillsDocsPricing
Login
Smithery Logo

Accelerating the Agent Economy

Resources

DocumentationPrivacy PolicySystem Status

Company

PricingAboutBlog

Connect

© 2026 Smithery. All rights reserved.

    JasonPaff

    ui-components

    JasonPaff/ui-components
    Design
    2
    3 installs

    About

    SKILL.md

    Install

    Install via Skills CLI

    or add to your agent
    • Claude Code
      Claude Code
    • Codex
      Codex
    • OpenClaw
      OpenClaw
    • Cursor
      Cursor
    • Amp
      Amp
    • GitHub Copilot
      GitHub Copilot
    • Gemini CLI
      Gemini CLI
    • Kilo Code
      Kilo Code
    • Junie
      Junie
    • Replit
      Replit
    • Windsurf
      Windsurf
    • Cline
      Cline
    • Continue
      Continue
    • OpenCode
      OpenCode
    • OpenHands
      OpenHands
    • Roo Code
      Roo Code
    • Augment
      Augment
    • Goose
      Goose
    • Trae
      Trae
    • Zencoder
      Zencoder
    • Antigravity
      Antigravity
    ├─
    ├─
    └─

    About

    Enforces project UI component conventions when creating or modifying React components, forms, dialogs, and other UI elements...

    SKILL.md

    UI Components Skill

    Purpose

    This skill enforces the project UI component conventions automatically during UI development. It ensures consistent patterns for Radix UI integration, form handling with TanStack Form, test ID generation, accessibility, and component composition.

    Activation

    This skill activates when:

    • Creating new components in src/components/
    • Working with Radix UI primitives
    • Implementing forms with TanStack Form
    • Building dialogs, dropdowns, or other interactive UI
    • Working with UI component variants using CVA

    Workflow

    1. Detect UI component work (file path contains components/ or imports from Radix/form libraries)
    2. Load references/UI-Components-Conventions.md
    3. Also apply react-coding-conventions skill
    4. Generate/modify code following all conventions
    5. Scan for violations of UI patterns
    6. Auto-fix all violations (no permission needed)
    7. Report fixes applied

    Key Patterns

    • Use arrow function components with named exports (export const Button = () => {})
    • Use ComponentProps<'element'> with ComponentTestIdProps for type definitions
    • Include data-slot attribute on every component element
    • Include data-testid using generateTestId() from @/lib/test-ids
    • Use is prefix for boolean props (isLoading, isDisabled, isCondition)
    • Use Radix UI primitives for accessible components
    • Use TanStack Form hooks (useFieldContext, useFormContext) for form handling
    • Use CVA for component variants
    • Use $path from next-typesafe-url for links
    • Use cn from @/utils/tailwind-utils for class merging
    • Use Conditional component with isCondition prop for conditional rendering

    References

    • references/UI-Components-Conventions.md - Complete UI component conventions
    Recommended Servers
    Svelte
    Svelte
    Browser tool
    Browser tool
    Astro Docs
    Astro Docs
    Repository
    jasonpaff/head-shakers
    Files