new-page
Installation
SKILL.md
Create a new Next.js page following App Router conventions.
Arguments
Route path: $ARGUMENTS
Process
-
Parse Route
- Extract route segments from argument
- Identify dynamic segments (e.g., [id])
- Determine if route group needed
-
Create Files
- page.tsx - Main page component
- loading.tsx - Loading state
- error.tsx - Error boundary
- layout.tsx (if needed)