nextjs-app-router-patterns - Implement Next.js App Router patterns
Guides Next.js App Router implementation, including rendering, layouts, Server and Client Components, data fetching, caching, authentication, and migration.
Tags
Updated: 2026-11-30Capabilities
What this skill does
- Choose route rendering modes
- Design App Router layouts
- Separate Server and Client Components
- Implement parallel data fetching
- Configure caching and revalidation
- Implement Server Actions
- Structure protected routes
- Migrate from Pages Router
Inputs
- Next.js App Router project
- Route requirements
- Data fetching requirements
- Authentication requirements
- Rendering and caching needs
Outputs
- Rendering strategy recommendations
- Route and layout structures
- Component boundary recommendations
- Data fetching implementations
- Caching and revalidation configurations
- Server Action implementations
- Migration guidance
Requirements
- Next.js 13 or later
- App Router with the app directory
- React Server Components support
