new-component
Installation
SKILL.md
New Component
Create React components following project conventions.
Instructions
-
Determine component requirements:
- Server or Client component?
- Props interface
- Variants (e.g., featured vs standard)
-
Create file at
src/components/<ComponentName>.tsx -
Server Component template (default):
import Image from 'next/image'; import Link from 'next/link';