What problem does it solve?
This Skill provides a centralized, practical guide for AI agents to reuse installed shared-ui components located in src/shared/. It prevents re-creation of UI elements and promotes consistency, accessibility, and maintainability across projects.
Core Features & Use Cases
- Guidance on locating components in src/shared/components/ui/[component-name].tsx.
- Import pattern clarity: always import from '@/shared/components/ui/[component-name]' to ensure consistency across codebases.
- Usage best practices for common components like Button, Input, Card, and Layout pieces, including accessibility and theming with Tailwind + Radix.
- Use Case: quickly scaffold a new page by reusing pre-installed components instead of building from scratch.
Quick Start
To begin, verify the required component exists in src/shared/components/ui/, install missing components with: npx @xizot/shared-ui add [component-name], and import from '@/shared/components/ui/[component-name]'.