OverviewOtherOpen

Awesome-cursorrules project rules collection

Awesome Cursor Rules is the README of the PatrickJS awesome-cursorrules repository, a community list of Cursor Project Rules. It is for developers who want ready rule files that make the Cursor editor follow project-specific guidance and coding standards for a framework, file type or workflow, without writing those rules from scratch.

What it does

The README explains that Cursor Project Rules are Markdown-based .mdc files kept in .cursor/rules/ which tell Cursor how to behave for specific projects, file types, frameworks and workflows. It then lists the available rules and their sponsors.

How to use it

Browse the list, pick the rule that matches your stack, and copy its .mdc file into the .cursor/rules/ folder of your project.

Requirements and limits

This page is the index of the collection, not a rule itself. Each listed rule has its own author and scope.

More in Other and the Cursor library.

Full text

Awesome Cursor Rules Awesome

<p align="center"> <a href="https://coderabbit.ai/?utm_source=oss&utm_medium=sponsorship&utm_campaign=awesome-cursorrules" target="_blank"> <picture> <source media="(prefers-color-scheme: dark)" srcset="./LOCKUP_VERTICAL_25D_DARK.png"> <img alt="Awesome Cursor Logo" src="./LOCKUP_VERTICAL_25D_LIGHT.png" width="500"> </picture> </a> </p>

Cursor Project Rules enhance Cursor AI editor behavior with project-specific guidance and reusable coding standards.

Cursor AI is an AI-powered code editor. Cursor Project Rules are Markdown-based .mdc files that live in .cursor/rules/ and tell Cursor how to behave for specific projects, file types, frameworks, and workflows.

<h2>Sponsorships</h2> <p align="center"> <h3><a href="https://coderabbit.ai/?utm_source=oss&utm_medium=sponsorship&utm_campaign=awesome-cursorrules">coderabbit.ai - Cut Code Review Time & Bugs in Half. Instantly.</h3> <a href="https://coderabbit.ai/?utm_source=oss&utm_medium=sponsorship&utm_campaign=awesome-cursorrules"> <img alt="CodeRabbit.ai Sponsorship Logo" src="./cr_logo.png" width=350> </a> <h3><a href="https://getunblocked.com/unblocked-mcp/?utm_source=oss&utm_medium=sponsorship&utm_campaign=awesome-cursorrules">Unblocked MCP- Supercharge Cursor with your team’s knowledge</h3> <a href="https://getunblocked.com/unblocked-mcp/?utm_source=oss&utm_medium=sponsorship&utm_campaign=awesome-cursorrules"> <img alt="Unblocked Sponsorship Logo" src="https://github.com/claire-gong-18/awesome-cursorrules/blob/main/Unblocked-logo-sq-words-over-gradient-1024w.png?raw=true" width=250> </a> <h3><a href="https://go.warp.dev/awesome-cursorrules">Warp - Built for coding with multiple AI agents</h3> <a href="https://go.warp.dev/awesome-cursorrules"> <img alt="Warp Sponsorship Logo" src="https://github.com/user-attachments/assets/8d50d811-fabe-4610-a537-c5a5a9224864" width=350> </a> </p>

Contents

  • [Why Cursor Rules](#why-cursor-rules)
  • [Rules](#rules)
  • [Frontend Frameworks and Libraries](#frontend-frameworks-and-libraries)
  • [Backend and Full-Stack](#backend-and-full-stack)
  • [Mobile Development](#mobile-development)
  • [Games and Graphics](#games-and-graphics)
  • [CSS and Styling](#css-and-styling)
  • [State Management](#state-management)
  • [Database and API](#database-and-api)
  • [Testing](#testing)
  • [Hosting and Deployments](#hosting-and-deployments)
  • [Build Tools and Development](#build-tools-and-development)
  • [Language-Specific](#language-specific)
  • [Security](#security)
  • [Documentation](#documentation)
  • [Directories](#directories)
  • [How to Use](#how-to-use)

Why Cursor Rules

Cursor rules help developers define project-specific instructions for Cursor AI. This repository uses the modern .mdc Project Rules format.

Customized behavior means Cursor can respond to the specific needs of a project instead of relying only on general coding knowledge. Rules can describe local architecture, preferred libraries, common methods, domain constraints, and other context that makes generated code more relevant.

Consistency is the other big win. By defining coding standards and best practices in .mdc files, teams can guide Cursor toward code that matches the project's style, naming, structure, and review expectations.

Project rules also reduce repeated manual editing. Well-scoped rules give Cursor reusable project knowledge up front, so suggestions are more likely to fit the codebase on the first pass and less likely to need the same corrections again.

For teams, shared .cursor/rules/*.mdc files keep AI assistance aligned across contributors. Everyone can work from the same project-specific guidance, whether the rule covers framework usage, security requirements, testing conventions, or workflow details.

By adding selected .mdc files to .cursor/rules/, you can use these rules directly in your project.

Rules

Frontend Frameworks and Libraries

Backend and Full-Stack

Mobile Development

Games and Graphics

CSS and Styling

State Management

  • React (Redux, TypeScript) - React development with Redux and TypeScript integration.
  • React (MobX) - React development with MobX integration.
  • React (React Query) - React development with React Query integration.
  • React (TanStack Router + Query) - React SPAs combining TanStack Router v1 and TanStack Query v5 for zero-loading-spinner routing and type-safe server state.
  • React (Zustand) - React state management with Zustand stores, selectors, middleware, persistence, and testing.
  • TanStack Query v5 - Query options, query key factories, mutations, optimistic updates, infinite queries, Suspense, and prefetching.
  • Vue (Pinia) - Vue 3 state management with Pinia stores, Composition API usage, SSR, persistence, and testing.

Database and API

The text continues at the source. Read the rest.

Source and license

Source: https://github.com/PatrickJS/awesome-cursorrules/blob/main/README.md

Author: PatrickJS, Awesome cursorrules. License: CC0-1.0.

Shown here with formatting for the web. Keep the author and license notice when you reuse it.

Related entries

There are more like this in the members library

The Cursor library holds 509 entries. Members can search all of them by meaning and read every one in full.