skills/smithery.ai/component-builder

component-builder

SKILL.md

Component Builder

This skill documents the tailwind-variants pattern used for UI components in this project. All UI components should follow this pattern for consistency and type safety.

When to Use

Use this skill when:

  • Creating new UI components in src/lib/ui/
  • Refactoring existing components to use tailwind-variants
  • Adding new variants to existing components

Quick Start

Every component needs two files:

  1. componentName.variants.ts - Variant definitions
  2. ComponentName.svelte - The component
Installs
2
First Seen
Mar 21, 2026