What problem does it solve?
It fixes confusion and mistakes when teaching or implementing Next.js App Router projects, especially around routing, server vs client components, and data fetching.
Core Features & Use Cases
- App Router file-based routing: Maps
app/ folders to URL paths and explains page.tsx and layout.tsx roles.
- Server/client boundary clarity: Guides when to keep files as Server Components (default) versus when to add
'use client' for interactivity.
- Data fetching and API patterns: Covers server
fetch, route.ts handlers for mutations, and optional Server Actions for form-driven workflows.
- Environment variable safety: Explains
process.env vs NEXT_PUBLIC_* and reinforces restarting dev after .env changes.
- Deploy handoffs: Points to the correct DevLearn lifecycle skills for deployment and post-ship verification.
Quick Start
Teach your agent to update your Next.js App Router by converting a specific route segment in app/ (using page.tsx and layout.tsx) while choosing the correct Server vs Client boundary for any interactivity.