What it does
A short Cursor rules file with general Next.js guidance. It covers project structure with the App Router, server and client components, performance, data fetching, routing, form validation with Zod and state management.
Use cases
- 01Default to server components in new pages
- 02Validate forms with Zod on the server
- 03Add loading and error states to routes