What problem does it solve?
This Skill provides a structured approach for implementing Next.js 15 App Router patterns, clarifying how to organize app/, server components, server actions, route handlers, caching/revalidation, and streaming with Suspense.
Core Features & Use Cases
- App Router conventions: layout.tsx, page.tsx, loading.tsx, error.tsx, not-found.tsx, route handlers, and API routes under app/.
- Server Components vs Client Components: guidance on rendering strategy, data fetching, and interactivity.
- Data fetching, caching, and streaming: techniques for parallel data fetching, suspense boundaries, and streaming UX.
- Middleware and routing: patterns for conditional routing, route groups (like (auth)/) and protected routes.
- Practical use case: build a multi-page dashboard with dynamic data and robust error handling using Next.js 15 App Router.
Quick Start
Follow these steps to explore App Router patterns in a Next.js 15 project:
- Inspect the recommended file structure under app/
- Review examples of layout.tsx, page.tsx, loading.tsx, and error.tsx
- Check server actions, route handlers, and API routes in app/api