Cursor rules for Next.js App RouterTemplateLow risk
A .cursor/rules/nextjs.mdc file for server components, data fetching, routing and caching done right.
Project rules for Cursor (.cursor/rules/*.mdc) for the most popular stacks: Next.js App Router, React + TypeScript, Vue 3, SvelteKit, Tailwind CSS, Supabase, Prisma, Python and Go. Copy one into your repo, fill in the blanks and Cursor's agent follows your conventions instead of guessing.
A .cursor/rules/nextjs.mdc file for server components, data fetching, routing and caching done right.
A .cursor/rules/*.mdc file that keeps Cursor's agent consistent with your React codebase.
A .cursor/rules/vue.mdc file for Composition API, typed props and Pinia stores.
A .cursor/rules/sveltekit.mdc file for load functions, form actions and Svelte 5 runes.
A .cursor/rules/tailwind.mdc that keeps utility classes consistent, readable and on-brand.
A .cursor/rules/supabase.mdc covering row-level security, migrations, auth and safe client usage.
A .cursor/rules/prisma.mdc for schema changes, migrations and efficient queries.
A .cursor/rules/python.mdc for typed, tested, well-structured Python.
A .cursor/rules/go.mdc for idiomatic errors, contexts, interfaces and tests.
Write your project rules once and get the file every major coding agent reads.