What problem does it solve?
This skill consolidates Next.js App Router best practices to guide AI agents and developers in building scalable, maintainable Next.js applications. It standardizes structure, data fetching, caching, server components, and deployment decisions across App Router patterns.
Core Features & Use Cases
- App Router & Server Components: Establishes conventions for layouts, server components, and client islands to minimize JS sent to the client.
- Data Fetching & Caching: Defines fetch strategies, revalidation, and suspense patterns to optimize performance and freshness.
- Server Actions & Middleware: Covers server actions, form handling, and edge middleware usage for reliability and security.
- Migration & Onboarding: Assists teams migrating from Pages Router to App Router and onboarding new Next.js projects with consistent standards.
- Deployment & Observability: Provides guidelines for Vercel deployment, edge runtimes, and monitoring.
Quick Start
Run the linter and builder to validate rule definitions and generate agent-ready guidance: