What problem does it solve?
This Skill prevents common Next.js App Router mistakes by enforcing best practices around file conventions, Server/Client boundaries, async APIs, routing, metadata, assets, and error handling.
Core Features & Use Cases
- App Router file conventions: Clarifies where key route files belong (page, layout, route handlers, templates, and special fallbacks) to avoid routing and runtime confusion.
- RSC boundary safety checks: Detects invalid React Server Component patterns such as async Client Components and non-serializable props passed to Client Components.
- Modern async and caching correctness: Guides correct usage of Next.js 15+ async request APIs, runtime selection, metadata/OG image patterns, and directive usage.
- Practical reliability patterns: Covers error handling behavior, hydration mismatch prevention, Suspense boundaries, and parallel/intercepting routes for modal workflows.
Quick Start
Ask the AI to review your Next.js code and point out any Server/Client boundary violations and routing or metadata issues using the next-best-practices rules.