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.

A
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
B
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
C
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
F
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
G
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
G
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
G
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
N
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
N
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
P
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
P
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
P
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
R
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
S
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
T
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
V
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