Cursor rules by framework
Cursor rule files tell the editor's AI how code in a given stack should be written, for developers who want its suggestions to follow their conventions. Convex guidelines makes Cursor use the new Convex function syntax, document HTTP endpoints the right way and add validators. Network Troubleshoot turns the assistant into a safety-first guide for package installs, Git fetches or API calls that cannot connect. Next.js App Router + TanStack Query v5 Guidelines combines Server Components for initial data with TanStack Query for mutations. Search for your framework name to find its rules.
497 rules in the Cursor library. 149 are open to read here. The rest are in the members library.
- Convex guidelines
Convex guidelines is a Cursor rule file for developers building on Convex, the backend platform.
- Network Troubleshoot
Network Troubleshoot is a Cursor rule that turns the assistant into a careful, safety-first guide for developer network failures, such as a package install, Git fetch or API call…
- Next.js App Router + TanStack Query v5 Guidelines
This Cursor rule file explains how to combine the Next.js App Router with TanStack Query v5.
- Ankra CLI Best Practices
Ankra CLI Best Practices is a Cursor rule file for engineers who run Kubernetes clusters through the Ankra platform from the terminal.
- Next.js 15 + Supabase Architecture Rules
These Next.js 15 and Supabase architecture rules are a Cursor rule file of 27 rules for apps built on the App Router with React 19, strict TypeScript, Tailwind, shadcn/ui…
- PySpark ETL Best Practices
PySpark ETL Best Practices is a Cursor rule file for data engineers writing production ETL jobs with PySpark, Spark SQL and Apache Iceberg.
- Semiotic - AI Assistant Guide
Semiotic AI Assistant Guide is a Cursor rule file for the Semiotic data visualization library for React.
- FormEngine - AI Form Builder for React
FormEngine AI Form Builder for React is a Cursor rule file that turns a screenshot, PDF, HTML or text description into a working React form.
- Rules (kotlin-ktor-development-cursorrules-prompt-file.)
This Cursor rule file guides the assistant on backend development with Kotlin and the Ktor framework.
- React + TanStack Router + TanStack Query Guidelines
This Cursor rule file covers React single-page apps that use TanStack Router v1 for routing and TanStack Query v5 for server state.
- Beefree SDK Guidelines (Awesome cursorrules) (16)
This rule file helps Cursor embed Beefree SDK's no-code content editors for emails, pages and popups into a web application.
- Beefree SDK Guidelines (Awesome cursorrules) (17)
These Beefree SDK guidelines are a Cursor rule file for developers embedding the Beefree SDK in a web app.
- TanStack Start Guidelines
TanStack Start Guidelines is a Cursor rule file for the full-stack React framework that sits on TanStack Router and Vinxi.
- NestJS Anti-Hallucination Rules
NestJS Anti-Hallucination Rules is a Cursor rule file that stops the assistant from generating NestJS code with imports, decorators, providers, modules or test setups that do not…
- TanStack Router + React Guidelines
This Cursor rule file covers TanStack Router v1 in React apps, with file-based routing, typed params, validated search params, loaders, auth guards and route preloading.
- Rules (tanstack-start.)
This Cursor rule file covers TanStack Start, the full-stack React framework built from TanStack Router and Vinxi, which combines Vite and Nitro.
- Vue + Pinia Guidelines
Vue + Pinia Guidelines is a Cursor rule file on state management with Pinia in Vue 3 and TypeScript.
- React + Zustand Guidelines
React + Zustand Guidelines is a Cursor rule file on state management with Zustand stores in React and TypeScript.
- Cloudflare Workers + Hono + Angular SaaS
This rule file guides Cursor on full-stack SaaS apps that run on Cloudflare Workers with a Hono API and an Angular frontend.
- Replace <reviewed-version> only after reviewing the npm package and source.
This Cursor rule file walks the assistant through forwarding a domain's email to Telegram using Cloudflare Email Routing, a Worker and the mail2tg CLI from npm.
- RTL (Right-to-Left) Development Rules
RTL Development Rules is a Cursor rule file for building interfaces that support right-to-left languages such as Hebrew and Arabic.
- Rules (python-fastapi-scalable-api-cursorrules-prompt-fil.)
This rule file sets Cursor up as an expert in Python FastAPI for scalable APIs, paired with a TypeScript, React, Tailwind and Shadcn frontend.
- PR Review - focused review prompts for Cursor
PR Review is a Cursor rule file that gives the assistant focused review angles for pull requests.
- Xian Smart Contract Development - Cursor Rules
This rule file teaches Cursor how to write smart contracts for the Xian blockchain, whose currency is XIAN.
- Rules (typescript-llm-tech-stack-cursorrules-prompt-file.)
This rule file has Cursor act as a senior engineer and product manager building TypeScript code for multi-provider LLM architectures.
- Cursor Rules Pack v2 - Sample Rules
Cursor Rules Pack v2 Sample Rules is a free sample of seven rules taken from a larger paid pack.
- Rules (ai-agent-specialist.)
This rule file makes Cursor act as a senior full-stack developer in TypeScript, React and Node.js, and every rule carries a WHY explaining its reasoning.
- DevSecOps + SSDLC + AppSec Cursor Rule
This DevSecOps, SSDLC and AppSec rule file makes Cursor write code with security built in.
- Blender Python Add-on Rules
Blender Python Add-on Rules is a Cursor rule file for developers writing Blender add-ons in Python.
- KubeStellar Console Development Rules
KubeStellar Console Development Rules is a Cursor rule file for contributors to the KubeStellar Console, a multi-cluster Kubernetes dashboard.
- System Prompt: Next.js 14 and Tailwind CSS Code Generation with TypeScript
This system prompt rule file makes Cursor generate TypeScript code for Next.js 14 apps styled with Tailwind CSS, with SEO built in.
- Step 1: Send verification code
This Cursor rule file is for developers building a custom frontend on top of Momen.app, a no-code platform used as a headless backend.
- Engineering Ticket: [Descriptive title]
This Cursor rule file has the assistant act as a technical product manager who writes well-structured engineering tickets.
- Bug Report: [Clear, concise title describing the issue]
This Cursor rule file turns the assistant into an experienced QA engineer who writes standardized bug reports.
- via_ir pipeline is very slow - use a separate profile to pre-compile and then use vm.getCode to deploy
This Cursor rule file sets the assistant up as an expert in Solidity and smart contract security for projects built with Foundry.
- Rules (snowflake-data-engineering-cursorrules-prompt-file.)
This rule file gives Cursor broad guidance for data engineering on Snowflake, covering SQL, Dynamic Tables, Streams, Tasks, Snowpipe, semi-structured data, Snowflake Postgres and…
- Rules (react-native-expo-router-typescript-windows-cursorrules-prompt-file.)
This Cursor rule file covers React Native apps built with Expo, Expo Router and TypeScript on a Windows machine.
- Rules (go-servemux-rest-api-cursorrules-prompt-file.)
This Cursor rule file tells the assistant to build REST APIs in Go using only the standard library, with net/http and the ServeMux router from Go 1.22 or newer.
- Rules (typescript-react-nextjs-cloudflare-cursorrules-pro.)
This Cursor rule file covers TypeScript apps built with Next.js App Router, React, Shadcn UI, Radix UI and Tailwind that run on Cloudflare.
- Persona (Awesome cursorrules) (217)
This Cursor rule file has the assistant act as a QA engineer who writes standardized test cases for TestRail.
- Persona (Awesome cursorrules) (260)
This rule file makes Cursor a QA engineer who writes test cases in Xray format for Jira.
- Persona (Awesome cursorrules) (128)
This rule file has Cursor act as a QA engineer writing API tests with Playwright and TypeScript.
- Persona (Awesome cursorrules) (127)
This Cursor rule file makes the assistant act as a QA engineer who writes accessibility tests with Playwright.
- Persona (Awesome cursorrules) (35)
This rule file has Cursor act as a QA engineer who writes API tests with Cypress and TypeScript.
- Persona (Awesome cursorrules) (34)
This Cursor rule file has the assistant act as a QA engineer writing accessibility tests with Cypress and TypeScript.
- Astro Best Practices
Astro Best Practices is a Cursor rule file for teams building content-focused sites with Astro.
- openai Best Practices
The openai rule file sets out practices for building with the OpenAI API, covering prompt writing, client usage, agent design and testing.
- kubernetes Best Practices
The kubernetes rule file defines practices for writing, organizing and securing Kubernetes manifests and Operators.
- duckdb Best Practices
The duckdb rule file gives Cursor practical rules for writing fast, maintainable DuckDB SQL queries and scripts.
- apollo-client Best Practices
This Cursor rule file sets out how a React team should use Apollo Client 3.x for GraphQL state.
- scikit-image Best Practices
The scikit-image rule file lays down required guidelines for image processing code built on scikit-image.
- Datadog Best Practices
Datadog Best Practices is a Cursor rule file that enforces one standard for sending telemetry to Datadog.
- SciPy Best Practices
The SciPy rule file sets opinionated standards for scientific Python code that uses SciPy.
- peewee Best Practices
Peewee Best Practices is a Cursor rule file for Python developers using the lightweight Peewee ORM.
- `statsmodels` Best Practices
The statsmodels rule file gives Cursor practical conventions for statistical analysis in Python with statsmodels.
- boto3 Best Practices
The boto3 rule file teaches Cursor to write idiomatic, fast and type-safe Python code against AWS with boto3.
- bottle Best Practices
This rule file gives Cursor clear guidelines for building Bottle applications, the Python micro-framework, with modern practices for structure, maintainability and security.
- d3 Best Practices
The d3 rule file gives Cursor practical guidance for writing modern D3.js v7 and later code.
- django-orm Best Practices
The django-orm rule file is an opinionated guide that helps Cursor write efficient, maintainable Django ORM code.
- django-rest-framework Best Practices
This rule file sets standards for building APIs with Django REST Framework.
- gensim Best Practices
The gensim rule file sets standards for using the gensim library in NLP topic modeling work.
- gitlab-ci Best Practices
This rule file gives Cursor opinionated practices for structuring, speeding up and securing GitLab CI/CD pipelines.
- Guzzle Best Practices
Guzzle Best Practices is a Cursor rule file for PHP developers who call HTTP APIs with Guzzle.
- Jetpack Compose Best Practices
Jetpack Compose Best Practices is a Cursor rule file for Android developers writing UI in Compose.
- junit Best Practices
This rule file gives Cursor clear practices for writing unit tests with JUnit 5 Jupiter in Java projects.
- Kivy Best Practices
Kivy Best Practices is a Cursor rule file for Python developers building cross-platform apps with Kivy.
- langchain-js Best Practices
The langchain-js rule file gives Cursor firm practices for building LLM applications with LangChain in JavaScript.
- LlamaIndex Best Practices
LlamaIndex Best Practices is a Cursor rule file for Python developers building retrieval-augmented LLM apps with LlamaIndex.
- llamaindex-js Best Practices
This rule file covers llamaindex-js, also called LlamaIndex.TS, and helps Cursor write robust TypeScript LLM applications with it.
- Material-UI (MUI) Best Practices
Material-UI (MUI) Best Practices is a Cursor rule file for React developers building with MUI.
- mobx Best Practices
The mobx rule file sets out how to structure MobX state in React applications.
- modal Best Practices
This rule file gives Cursor practical guidance for running AI and ML workloads on Modal.
- mongodb Best Practices
The mongodb rule file gives Cursor clear rules for designing, querying and maintaining MongoDB databases.
- next-js Best Practices
The next-js rule file defines practices for Next.js applications built on the app directory and Server Components.
- numpy Best Practices
This rule file gives Cursor practical rules for writing fast, correct and maintainable NumPy code.
- Postman Best Practices
The Postman rule file sets standards for structuring, scripting and testing APIs in Postman.
- PySide6 Best Practices
This rule file guides Cursor on building modern, maintainable PySide6 desktop applications.
- PyTorch Best Practices
The PyTorch rule file gives Cursor clear guidelines for clean, fast and maintainable PyTorch code.
- riverpod Best Practices
The riverpod rule file gives Cursor firm guidance for state management with Riverpod in Flutter apps.
- scikit-learn Best Practices
This rule file gives Cursor firm guidelines for writing and extending scikit-learn code.
- Scrapy Best Practices
Scrapy Best Practices is a Cursor rule file for building fast, robust and maintainable web crawlers with Scrapy.
- servemux Best Practices
The servemux rule file shows how to use Go's http.ServeMux well, taking advantage of the routing features added in Go 1.22 and later.
- turbopack Best Practices
The turbopack rule file covers Turbopack, the Rust-based incremental bundler that the file describes as the default for Next.js 16 and later.
- react-mobx Best Practices
This rule file shows how to build scalable React applications with MobX state, with attention to React Compiler compatibility.
- TanStack Query (react-query) Best Practices
This rule file guides Cursor on TanStack Query, formerly React Query, for managing server state in React apps.
- redux Best Practices
The redux rule file sets the standard for Redux code: all new state logic must use Redux Toolkit.
- notion-api Best Practices
The notion-api rule file guides Cursor on building secure, typed and maintainable integrations with the Notion API.
- elasticsearch Best Practices
This rule file guides Cursor on using Elasticsearch well, covering data modeling, query optimization, performance and code structure.
- unreal-engine Best Practices
This rule file gives Cursor coding standards for C++ and Blueprint work in Unreal Engine 5.x projects.
- asp-net Best Practices
The asp-net rule file gives Cursor an opinionated playbook for building ASP.NET Core 9 and later services in modern C#.
- Heroku Best Practices
The Heroku rule file sets out practices for apps deployed to Heroku, built around the Twelve-Factor App method.
- aws-rds Best Practices
The aws-rds rule file gives Cursor firm guidelines for working with AWS RDS databases in a secure, fast and maintainable way.
- springboot Best Practices
This rule file enforces modern practices for Spring Boot 3.x applications on Java 17 or newer.
- Plotly Best Practices
Plotly Best Practices is a Cursor rule file for writing maintainable and reproducible Plotly charts in Python, with AI and ML workflows in mind.
- FastAPI Production Architecture Rules
- Hashgraph Online (HOL) Development Rules
- TanStack Query v5 Guidelines
- Rules (react-tanstack-router-query.)
- Rules (tanstack-query.)
- Rules (nextjs-tanstack-query.)