16 cursor rules

Cursor rules (cursorrules): what they are, and how to install them

A cursor rule is a file (originally a root .cursorrules, now a .cursor/rules/*.mdc file) that tells Cursor how to write code in a given stack: conventions, file layout, patterns to prefer or avoid. Every rule below links to its real source and the exact command that adds it to a project.

Also by us: vibe coding ideas for Cursor on Business Ideas DB.

Angular (TypeScript)
Angular (TypeScript)
TypeScript conventions for an Angular project
mkdir -p .cursor/rules
curl -o .cursor/rules/angular-typescript-cursorrules-prompt-file.mdc https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/angular-typescript-cursorrules-prompt-file.mdc
Cursor RuleCursorAngular, TypeScriptgithub.com
Blender Python Add-ons
Blender Python Add-ons
Add-on conventions for Blender's Python API
mkdir -p .cursor/rules
curl -o .cursor/rules/blender-python-addon.mdc https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/blender-python-addon.mdc
Cursor RuleCursorPython, Blendergithub.com
Cypress E2E Testing
Cypress E2E Testing
End-to-end test conventions for a Cypress suite
mkdir -p .cursor/rules
curl -o .cursor/rules/cypress-e2e-testing-cursorrules-prompt-file.mdc https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/cypress-e2e-testing-cursorrules-prompt-file.mdc
Cursor RuleCursorCypress, Testinggithub.com
Flutter Expert
Flutter Expert
Expert-level Flutter app conventions for Cursor
mkdir -p .cursor/rules
curl -o .cursor/rules/flutter-app-expert-cursorrules-prompt-file.mdc https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/flutter-app-expert-cursorrules-prompt-file.mdc
Cursor RuleCursorFlutter, Dartgithub.com
Git Commit Messages
Git Commit Messages
Conventional-commit message formatting for Cursor
mkdir -p .cursor/rules
curl -o .cursor/rules/git-conventional-commit-messages.mdc https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/git-conventional-commit-messages.mdc
Cursor RuleCursorGitgithub.com
Go Backend Scalability
Go Backend Scalability
Scalability-minded conventions for a Go backend
mkdir -p .cursor/rules
curl -o .cursor/rules/go-backend-scalability-cursorrules-prompt-file.mdc https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/go-backend-scalability-cursorrules-prompt-file.mdc
Cursor RuleCursorGogithub.com
GraphQL (Apollo Client)
GraphQL (Apollo Client)
Apollo Client conventions for a React and GraphQL project
mkdir -p .cursor/rules
curl -o .cursor/rules/react-graphql-apollo-client-cursorrules-prompt-file.mdc https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/react-graphql-apollo-client-cursorrules-prompt-file.mdc
Cursor RuleCursorReact, GraphQL, Apollo Clientgithub.com
Next.js (React, TypeScript)
Next.js (React, TypeScript)
Cursor rules for Next.js App Router with React and TypeScript
mkdir -p .cursor/rules
curl -o .cursor/rules/nextjs-react-typescript-cursorrules-prompt-file.mdc https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/nextjs-react-typescript-cursorrules-prompt-file.mdc
Cursor RuleCursorNext.js, React, TypeScriptgithub.com
Next.js 15 + Supabase Architecture
Next.js 15 + Supabase Architecture
27 rules preventing common Supabase and Next.js 15 AI hallucinations
mkdir -p .cursor/rules
curl -o .cursor/rules/nextjs15-supabase-cursorrules-prompt-file.mdc https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/nextjs15-supabase-cursorrules-prompt-file.mdc
Cursor RuleCursorNext.js, Supabase, TypeScriptgithub.com
Python (Django Best Practices)
Python (Django Best Practices)
Django project conventions for Cursor
mkdir -p .cursor/rules
curl -o .cursor/rules/python-django-best-practices-cursorrules-prompt-fi.mdc https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/python-django-best-practices-cursorrules-prompt-fi.mdc
Cursor RuleCursorPython, Djangogithub.com
Python (FastAPI Best Practices)
Python (FastAPI Best Practices)
FastAPI backend conventions for Cursor
mkdir -p .cursor/rules
curl -o .cursor/rules/python-fastapi-best-practices-cursorrules-prompt-f.mdc https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/python-fastapi-best-practices-cursorrules-prompt-f.mdc
Cursor RuleCursorPython, FastAPIgithub.com
Python Containerization
Python Containerization
Docker conventions for a Python project
mkdir -p .cursor/rules
curl -o .cursor/rules/python-containerization-cursorrules-prompt-file.mdc https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/python-containerization-cursorrules-prompt-file.mdc
Cursor RuleCursorPython, Dockergithub.com
React, TypeScript, shadcn/ui
React, TypeScript, shadcn/ui
Component conventions for a React and shadcn/ui project
mkdir -p .cursor/rules
curl -o .cursor/rules/cursor-ai-react-typescript-shadcn-ui-cursorrules-p.mdc https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/cursor-ai-react-typescript-shadcn-ui-cursorrules-p.mdc
Cursor RuleCursorReact, TypeScript, shadcn/uigithub.com
SvelteKit (TypeScript Guide)
SvelteKit (TypeScript Guide)
TypeScript conventions for a SvelteKit project
mkdir -p .cursor/rules
curl -o .cursor/rules/sveltekit-typescript-guide-cursorrules-prompt-file.mdc https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/sveltekit-typescript-guide-cursorrules-prompt-file.mdc
Cursor RuleCursorSvelteKit, TypeScriptgithub.com
Tailwind CSS (Next.js Guide)
Tailwind CSS (Next.js Guide)
Tailwind conventions for a Next.js project
mkdir -p .cursor/rules
curl -o .cursor/rules/tailwind-css-nextjs-guide-cursorrules-prompt-file.mdc https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/tailwind-css-nextjs-guide-cursorrules-prompt-file.mdc
Cursor RuleCursorNext.js, Tailwind CSSgithub.com
Vue 3 (Composition API)
Vue 3 (Composition API)
Composition API conventions for Vue 3 projects
mkdir -p .cursor/rules
curl -o .cursor/rules/vue3-composition-api-cursorrules-prompt-file.mdc https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/vue3-composition-api-cursorrules-prompt-file.mdc
Cursor RuleCursorVue, Vue 3github.com