What it does
A Cursor rules file for Next.js projects in TypeScript using Shadcn UI, Radix and Tailwind. It sets code style and naming, asks for early returns, Zod form validation, server action errors returned as values, and a preference for React Server Components.
Use cases
- 01Build validated forms with Zod and Shadcn UI
- 02Write server actions that return expected errors
- 03Prefer server components and keep client code small