What it does
A short rules file for Cursor with best practices for the Next.js App Router. It favours server components by default, uses client components only when needed, and covers layouts, loading and error files, route handlers, metadata for SEO and image optimisation.
Use cases
- 01Structure pages with shared layouts and loading states
- 02Add error handling with error.js files
- 03Create route handlers for API endpoints