# Awesome Cursor Rules — AI Coding Standards for 30+ Stacks > Curated .cursorrules files for 30+ tech stacks. Drop into your project root so Cursor AI follows your coding standards automatically. ## Install Paste the prompt below into your AI tool: ## Quick Use 1. Browse the [rules directory](https://github.com/PatrickJS/awesome-cursorrules/tree/main/rules) and find your tech stack 2. Copy the `.cursorrules` file content 3. Save it as `.cursorrules` in your project root directory 4. Cursor AI will automatically follow these rules when generating code **Alternative:** Install the [vscode-cursor-rules](https://marketplace.visualstudio.com/items?itemName=BeilunYang.cursor-rules) extension → Cmd+Shift+P → "Cursor Rules: Add .cursorrules" → select your stack. --- ## Intro A community-curated collection of `.cursorrules` configuration files for 30+ tech stacks, with 38,000+ GitHub stars. Each rule file tells Cursor AI how to write code that matches your project's conventions — naming styles, framework patterns, testing approaches, and more. Instead of repeating yourself every chat, drop one file in your project root and Cursor gets it. **Works with**: Cursor, GitHub Copilot --- ## Rules Directory ### Frontend Frameworks - **Next.js** — App Router, TypeScript, Tailwind, Vercel AI, Supabase, Material UI, SEO variants - **React** — TypeScript, Redux, MobX, React Query, Styled Components, Chakra UI, shadcn/ui - **Vue 3** — Nuxt 3, Composition API, TypeScript - **Svelte** — SvelteKit, Tailwind CSS, TypeScript, RESTful API - **Angular** — TypeScript, Novo Elements - **Astro** — TypeScript, Tailwind CSS - **Solid.js** — Basic, TypeScript, Tailwind CSS - **Qwik** — Basic, Tailwind CSS ### Backend & Full-Stack - **Python** — FastAPI, Django, Flask, LLM/ML workflows, containerization - **Go** — Basic, Fiber, ServeMux REST API, Temporal DSL, scalability patterns - **Node.js** — MongoDB, Express, JWT, ES Module - **Java** — Spring Boot, JPA - **Ruby** — Rails 8 - **PHP** — Laravel 8.3, TALL Stack, WordPress - **Elixir** — Phoenix, Docker - **Kotlin** — Ktor - **Rust, C++** — Language-specific guidelines ### Mobile - **React Native** — Expo, Jest, Detox - **Swift** — SwiftUI guidelines - **Android** — Jetpack Compose - **Flutter** — Expert patterns - **NativeScript** ### Testing - **Cypress** — E2E, API, Integration, Accessibility, Defect Tracking - **Playwright** — E2E, API, Integration, Accessibility, Defect Tracking - **Jest** — Unit testing - **Vitest** — Unit testing ### DevOps & Tooling - Chrome Extension development - Git commit message conventions - GitHub code quality rules - Kubernetes documentation - Netlify deployment - Docker & NVIDIA CUDA - Tauri (Svelte + TypeScript) ### CSS & Styling - Tailwind CSS (multiple framework combos) - shadcn/ui integration patterns ### Other - Unity (C#), Solidity (Foundry/Hardhat), WebAssembly, DragonRuby - ASCII simulation games, graphical apps, meta-prompts ## How .cursorrules Work `.cursorrules` files are placed in your project root. When Cursor AI generates code, it reads these rules first and follows them. Benefits: - **Consistency** — Generated code matches your existing style - **Context** — AI understands your architecture, libraries, and patterns - **Team alignment** — Share the file so all team members get the same AI behavior - **Less editing** — Better first-pass output means fewer manual corrections ## Contributing 1. Fork the repo 2. Create a folder in `rules/` with pattern: `technology-focus-cursorrules-prompt-file` 3. Add your `.cursorrules` file (and optional README.md) 4. Submit a pull request --- ### FAQ **Q: What is Awesome Cursor Rules?** A: Curated .cursorrules files for 30+ tech stacks. Drop into your project root so Cursor AI follows your coding standards automatically. **Q: How do I install Awesome Cursor Rules?** A: Check the Quick Use section above for step-by-step installation instructions. Most assets can be set up in under 2 minutes. ## Source & Thanks > Created by [PatrickJS](https://github.com/PatrickJS). Licensed under CC0 (Public Domain). > [awesome-cursorrules](https://github.com/PatrickJS/awesome-cursorrules) — ⭐ 38,700+ Thanks to PatrickJS and 200+ contributors for building the largest open-source .cursorrules collection. Star the original repo to get updates as new rules are added weekly. --- Source: https://tokrepo.com/en/workflows/ca000374-f5d8-4d75-a30c-460fda0b6b0e Author: TokRepo Curated