| name | source-command-component |
| description | Scaffold a new component with test file |
source-command-component
Use this skill when the user asks to run the migrated source command component.
Command Template
Create a new component:
- Determine if Server or Client component based on requirements
- Create
src/components/{component-name}.tsx using component-builder skill patterns
- Create
__tests__/unit/components/{component-name}.test.tsx
- If Client component, add
'use client' directive
- Export with TypeScript props interface
- Use Tailwind CSS for all styling