What it does
A Cursor rules file for Next.js 15 apps that use Supabase, strict TypeScript and shadcn/ui. It lists the tech stack and firm rules, such as verifying users on the server with getUser instead of getSession and awaiting params, which are Promises in Next.js 15.
Use cases
- 01Verify users server-side with getUser
- 02Await params and searchParams in pages
- 03Keep Stripe calls on the server only