Cursor Rules
Curated collection of .cursorrules files for Cursor IDE, boost your AI coding with framework-specific rules for React, Next.js, Python, Node.js, and more
Install: git clone https://github.com/survivorforge/cursor-rules
Works with Claude Code, Cursor · 18 GitHub stars
Install
git clone https://github.com/survivorforge/cursor-rulesInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →Cursor Rules Collection
39+ ready-to-use
.cursorrulesfiles for Cursor IDE — supercharge your AI coding assistant with framework-specific rules.
What are Cursor Rules?
Cursor is an AI-powered code editor. .cursorrules files tell Cursor's AI about your project's conventions, tech stack, and coding patterns — making AI-generated code match your style perfectly.
Drop a .cursorrules file in your project root, and Cursor automatically uses it to generate better, more consistent code.
Available Rules
Frontend
| Framework | Description | Link |
|---|---|---|
| React | Component patterns, hooks best practices, TypeScript integration | rules/react |
| Next.js | App Router, Server Components, Server Actions, metadata | rules/nextjs |
| SvelteKit | File-based routing, load functions, form actions, stores | rules/sveltekit |
| Tailwind CSS | Utility-first patterns, responsive design, component recipes | rules/tailwindcss |
Backend
| Framework | Description | Link |
|---|---|---|
| Node.js/Express | REST API patterns, middleware, layered architecture | rules/nodejs-express |
| Python/FastAPI | Async patterns, Pydantic v2, dependency injection | rules/python-fastapi |
| Python/Django | DRF, ORM best practices, class-based views | rules/python-django |
| Go/Gin | Idiomatic Go, error handling, concurrency patterns | rules/go-gin |
| Rust/Axum | Ownership patterns, async with Tokio, tower middleware | rules/rust-axum |
Full Stack & Cloud
| Stack | Description | Link |
|---|---|---|
| Supabase | Auth, RLS, Edge Functions, real-time, storage | rules/supabase |
| AWS Serverless | Lambda, DynamoDB, SAM, API Gateway | rules/aws-serverless |
| Docker/DevOps | Multi-stage builds, CI/CD, infrastructure as code | rules/docker-devops |
Languages
| Language | Description | Link |
|---|---|---|
| TypeScript | Strict mode, utility types, generics, type narrowing | rules/typescript |
Specialized
| Topic | Description | Link |
|---|---|---|
| Flutter/Dart | Widget architecture, Riverpod, Material Design 3 | rules/flutter-dart |
| LangChain/AI | LCEL, RAG, agents, LangGraph, structured output | rules/langchain-ai |
| Chrome Extensions | Manifest V3, service workers, content scripts | rules/chrome-extension |
AI Agent Tooling
| Topic | Description | Link |
|---|---|---|
| MCP Server (Python) | Model Context Protocol servers with FastMCP — tools, transport, auth, sanitization, real production lessons | rules/mcp-server |
How to Use
- Browse the
rules/directory and find the rule for your tech stack - Copy the
.cursorrulesfile to your project root directory - Open your project in Cursor IDE
- Cursor automatically detects and uses the rules file
# Example: Add React rules to your project
curl -o .cursorrules https://raw.githubusercontent.com/survivorforge/cursor-rules/main/rules/react/.cursorrules
Similar plugs
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
Bash is all you need - A nano claude code, like 「agent harness」, built from 0 to 1
Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro…
Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini…