Next.js Best Practices Apply these rules when writing or reviewing Next.js code. File Conventions See file-conventions.md for: - Project structure and special files - Route segments (dynamic, catch-all, groups) - Parallel and intercepting routes - Middleware rename in v16 (middleware → proxy) RSC Boundaries Detect invalid React Server Component patterns. See rsc-boundaries.md for: - Async client component detection (invalid) - Non-serializable props detection - Server Action exceptions Async Patterns Next.js 15+ async API changes. See async-patterns.md for: - Async and - Async and - Migration…