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
- Angular (Novo Elements) - Angular development with Novo Elements UI library.
- Angular (TypeScript) - Angular development with TypeScript integration.
- Astro (TypeScript) - Astro development with TypeScript integration.
- Beefree SDK (TypeScript, JavaScript, CSS, HTML, React, Angular, Vue) - Embedding Beefree SDK's no-code content editors (for emails, pages, and popups) into a web application.
- Cursor AI (React, TypeScript, shadcn/ui) - Cursor AI development with React, TypeScript, and shadcn/ui integration.
- Next.js 15 (React 19, Vercel AI, Tailwind) - Next.js development with React 19, Vercel AI, and Tailwind CSS integration.
- Next.js 15 (Supabase, TypeScript, Security) - 27 architecture rules preventing AI hallucinations: insecure auth (getSession vs getUser), synchronous params, deprecated imports, missing RLS, and Stripe key exposure. Built for Cursor Agent and Claude Code.
- Next.js 14 (Tailwind, SEO) - Next.js development with Tailwind CSS and SEO optimization.
- Next.js (React, Tailwind) - Next.js development with React and Tailwind CSS integration.
- Next.js (React, TypeScript) - Next.js development with React and TypeScript integration.
- Next.js (SEO Development) - Next.js development with SEO optimization.
- Next.js (Supabase Todo App) - Next.js development with Supabase integration for a Todo app.
- Next.js (TanStack Query v5) - Next.js App Router with TanStack Query v5, covering the HydrationBoundary pattern, Server Actions as mutations, and optimistic updates.
- Next.js (Type LLM) - Next.js development with Type LLM integration.
- Next.js (Tailwind, TypeScript) - Next.js development with Tailwind CSS and TypeScript integration.
- Next.js (TypeScript App) - Next.js development with TypeScript integration.
- Next.js (TypeScript) - Next.js development with TypeScript integration.
- Next.js (TypeScript, Tailwind) - Next.js development with TypeScript and Tailwind CSS integration.
- Next.js (Vercel, Supabase) - Next.js development with Vercel and Supabase integration.
- Next.js (Vercel, TypeScript) - Next.js development with Vercel and TypeScript integration.
- Next.js (App Router) - Next.js development with App Router integration.
- Next.js (Material UI, Tailwind CSS) - Next.js development with Material UI and Tailwind CSS integration.
- Qwik (Basic Setup with TypeScript and Vite) - Qwik development with TypeScript and Vite integration.
- Qwik (with Tailwind CSS) - Qwik development with Tailwind CSS integration.
- React Components Creation - React component creation and development.
- React (FormEngine AI Form Builder) - Generating React forms from screenshots, PDFs, HTML, or text descriptions with validated FormEngine JSON schema. Renders through RSuite, Material UI, or Mantine.
- React (Next.js UI Development) - React development with Next.js UI integration.
- React Router v7 - Framework mode, data routers, loaders, actions, route modules, and progressive enhancement.
- React (TypeScript, Next.js, Node.js) - React development with TypeScript, Next.js, and Node.js integration.
- React (TypeScript, Symfony) - React development with TypeScript and Symfony integration.
- Semiotic (React, D3, Data Visualization) - Semiotic data visualization library with 30+ chart types, MCP server, and AI-assisted chart generation.
- Shopify Theme (Liquid, JavaScript, CSS) - Shopify theme development with Liquid templates, section schemas, frontend assets, performance, and accessibility.
- Solid.js (Basic Setup) - Solid.js development with basic setup.
- Solid.js (TypeScript) - Solid.js development with TypeScript integration.
- Solid.js (Tailwind CSS) - Solid.js development with Tailwind CSS integration.
- Svelte 5 vs Svelte 4 - Comparing Svelte 5 and Svelte 4 development.
- SvelteKit (RESTful API, Tailwind CSS) - SvelteKit development with RESTful API and Tailwind CSS integration.
- SvelteKit (Tailwind CSS, TypeScript) - SvelteKit development with Tailwind CSS and TypeScript integration.
- SvelteKit (TypeScript Guide) - SvelteKit development with TypeScript integration.
- TanStack Router (React) - TanStack Router v1 with file-based routing, typed params, search validation, loaders, auth guards, and route preloading.
- Vue 3 (Nuxt 3 Development) - Vue 3 development with Nuxt 3 integration.
- Vue 3 (Nuxt 3, TypeScript) - Vue 3 development with TypeScript integration.
- Vue 3 (Composition API) - Vue 3 development with Composition API integration.
- Vue/Nuxt Full AI Stack - Complete AI coding setup for Vue 3 & Nuxt 3 with Cursor Project Rules, CLAUDE.md, Copilot instructions, and generation skills.
Backend and Full-Stack
- Cloudflare Workers (Hono, Angular) - Full-stack SaaS applications on Cloudflare Workers with Hono APIs, Angular frontends, typed RPC, D1/Neon, and production observability.
- Convex Best Practices - Convex development with best practices.
- Deno Integration - Deno development with integration techniques.
- Drupal 11 - Modern CMS development.
- Elixir Engineer Guidelines - Elixir development with engineer guidelines.
- Elixir (Phoenix, Docker) - Elixir development with Phoenix and Docker integration.
- ES Module (Node.js) - ES Module development with Node.js guidelines.
- Go Backend Scalability - Go development with backend scalability.
- Go ServeMux REST API - Go development with ServeMux REST API integration.
- Go (Basic Setup) - Go development with basic setup.
- Go with Fiber - Go development with Fiber integration.
- Go Temporal DSL - Go development with Temporal DSL integration.
- Google ADK - Google Agent Development Kit agents, tools, sessions, memory, artifacts, evaluation, and deployment.
- HOL (Hedera TypeScript SDK) - Hashgraph Online development with TypeScript, building AI agents on Hedera with RegistryBrokerClient.
- HTMX (Basic Setup) - HTMX development with basic setup.
- HTMX (Flask) - HTMX development with Flask integration.
- HTMX (Django) - HTMX development with Django integration.
- Java (Spring Boot, JPA) - Java development with Spring Boot and JPA integration.
- Knative (Istio, Typesense, GPU) - Knative development with Istio, Typesense, and GPU integration.
- Kotlin Ktor Development - Kotlin development with Ktor integration.
- Laravel (PHP 8.3) - Laravel development with PHP 8.3 integration.
- Laravel (TALL Stack) - Laravel development with TALL Stack best practices.
- Manifest - YAML-based configuration and metadata files.
- Momen.app (Backend-as-a-Service) - Building custom frontends with Momen.app as headless BaaS with GraphQL API, actionflows, AI agents, and Stripe integration.
- Node.js (MongoDB) - Node.js development with MongoDB integration.
- Node.js (MongoDB, JWT, Express, React) - Node.js development with MongoDB, JWT, Express, and React integration.
- Rails 8 (Basic Setup) - Rails development with basic setup.
- Python (FastAPI) - Python FastAPI backend development and best practices.
- Python 3.12 (FastAPI Best Practices) - Python FastAPI development with best practices.
- Python (Django Best Practices) - Python Django development with best practices.
- Python (FastAPI Best Practices) - Python FastAPI development with best practices.
- Python (FastAPI Scalable API) - Python FastAPI development with scalable API integration.
- Python (FastAPI Production Architecture) - FastAPI services with router/service/repository boundaries, typed provider adapters, bulkhead isolation, idempotency, and domain exceptions.
- Python (Flask JSON Guide) - Python Flask development with JSON guide.
- Python LLM & ML Workflow - Python LLM & ML development with workflow integration.
- Salesforce (Apex) - Salesforce development with Apex integration.
- TanStack Start - Full-stack React framework including server functions, API routes, streaming with defer(), SSR, and multi-platform deployment.
- TypeScript (NestJS Anti-Hallucination) - Rules that block deprecated, phantom, or incorrect NestJS imports, decorators, providers, modules, and testing patterns.
- TypeScript (NestJS Best Practices) - TypeScript development with NestJS best practices.
- TYPO3 CMS Extension - TYPO3 CMS development with extension integration.
- WordPress (PHP, Guzzle, Gutenberg) - WordPress development with PHP, Guzzle, and Gutenberg integration.
- WordPress (macOS) - WordPress development on macOS.
- WordPress Full AI Stack - Complete AI coding setup for WordPress — themes, plugins, Gutenberg, WooCommerce, ACF, REST API with Cursor Project Rules, CLAUDE.md, Copilot instructions, and 5 generation skills.
Mobile Development
- Android Native (Jetpack Compose) - Android development with Jetpack Compose integration.
- Cursor Rules Pack v2 - 7 sample production-tested rules (dependency discipline, error handling, state management, webhook security, and more). See the pack README for full-pack details.
- Flutter Expert - Flutter development with expert integration.
- HarmonyOS ArkTS - Components, state, resources, lifecycle, layout, and accessibility.
- NativeScript - Cross-platform mobile app development.
- React Native Expo - Expo-based mobile app development.
- SwiftUI Guidelines - SwiftUI development guidelines.
- TypeScript (Expo, Jest, Detox) - TypeScript development with Expo, Jest, and Detox integration.
- UIKit Guidelines - UIKit development guidelines.
Games and Graphics
- ASCII Simulation Game - Text-based simulation game development.
- Blender Python Add-ons - Operators, panels, properties, registration, and API-safe scripting.
- DragonRuby Best Practices - DragonRuby development with best practices integration.
- GameMaker GML - GameMaker Language projects, objects, events, rooms, data structures, and performance-minded gameplay code.
- Graphical Apps Development - Interactive visual application development.
- Unity (C#) - Unity development with C# integration.
CSS and Styling
- Landing Page Image Quality - Avoiding placeholder or broken image URLs, using stable visual assets, and checking alt text, dimensions, licensing, and responsive behavior.
- Tailwind CSS (Next.js Guide) - Tailwind CSS development with Next.js integration.
- Tailwind (React, Firebase) - Tailwind development with React and Firebase integration.
- Tailwind (shadcn/ui Integration) - Tailwind development with shadcn/ui integration.
- HTML (Tailwind CSS, JavaScript) - HTML development with Tailwind CSS and JavaScript integration.
- JavaScript (Astro, Tailwind CSS) - JavaScript development with Astro and Tailwind CSS integration.
- React (Styled Components) - React development with Styled Components integration.
- React (Chakra UI) - React development with Chakra UI integration.
- RTL / Right-to-Left (i18n, Tailwind, React Native) - RTL development with logical CSS properties, Tailwind logical classes, bidirectional text, and automated auditing via rtlify-ai.
- Toss-Style Design System - Disciplined product UI with restrained color, grayscale hierarchy, typography, cards, metrics, dark mode, and accessibility.
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.