What problem does it solve?
This Skill prevents common Next.js mistakes by standardizing conventions for App Router file structure, React Server Component boundaries, async APIs, routing, metadata, and performance-critical optimizations.
Core Features & Use Cases
- RSC boundary guardrails: Detects invalid async client components and non-serializable props passed from Server to Client.
- Next.js 15+ async API compliance: Ensures correct handling of async params, searchParams, cookies(), and headers(), including migration guidance.
- Production-grade routing & runtime rules: Covers route handler constraints, server vs client directives, error-handling files, metadata/OG image patterns, and bundling/runtime selection.
Quick Start
Apply the rules in this Skill to your Next.js App Router codebase and fix any violations (for example, update any async request API usage, validate RSC boundaries, and ensure your route handlers and metadata follow the documented conventions).