| name | source-command-page |
| description | Scaffold a new page with layout, loading, and error boundaries |
source-command-page
Use this skill when the user asks to run the migrated source command page.
Command Template
Create a new page:
- Determine route group:
(marketing), (app), or (auth)
- Create directory under
src/app/{group}/{route}/
- Create
page.tsx — Server Component by default
- Create
loading.tsx — Suspense fallback
- Create
error.tsx — Error boundary (must be 'use client')
- If shared layout needed, create
layout.tsx
- Set metadata export for SEO