PatrickJS/awesome-cursorrules
Fork: 228 Star: 3908 (更新于 2024-12-21 00:04:35)
license: CC0-1.0
📄 A curated list of awesome .cursorrules files
Awesome CursorRules
A curated list of awesome .cursorrules files for enhancing your Cursor AI experience.
Cursor AI is an AI-powered code editor. .cursorrules
files define custom rules for Cursor AI to follow when generating code, allowing you to tailor its behavior to your specific needs and preferences.
Why .cursorrules?
.cursorrules
is a powerful feature in Cursor AI that allows developers to define project-specific instructions for the AI. Here's why you might want to use it:
-
Customized AI Behavior:
.cursorrules
files help tailor the AI's responses to your project's specific needs, ensuring more relevant and accurate code suggestions. -
Consistency: By defining coding standards and best practices in your
.cursorrules
file, you can ensure that the AI generates code that aligns with your project's style guidelines. -
Context Awareness: You can provide the AI with important context about your project, such as commonly used methods, architectural decisions, or specific libraries, leading to more informed code generation.
-
Improved Productivity: With well-defined rules, the AI can generate code that requires less manual editing, speeding up your development process.
-
Team Alignment: For team projects, a shared
.cursorrules
file ensures that all team members receive consistent AI assistance, promoting cohesion in coding practices. -
Project-Specific Knowledge: You can include information about your project's structure, dependencies, or unique requirements, helping the AI to provide more accurate and relevant suggestions.
By creating a .cursorrules
file in your project's root directory, you can leverage these benefits and enhance your coding experience with Cursor AI.
Contents
Rules
Frontend Frameworks and Libraries
- Angular (Novo Elements)
- Angular (TypeScript)
- Astro (TypeScript)
- Cursor AI (React, TypeScript, shadcn/ui)
- Next.js 15 (React 19, Vercel AI, Tailwind)
- Next.js 14 (Tailwind, SEO)
- Next.js (React, Tailwind)
- Next.js (React, TypeScript)
- Next.js (SEO Development)
- Next.js (Supabase Todo App)
- Next.js (Tailwind, TypeScript)
- Next.js (TypeScript App)
- Next.js (TypeScript)
- Next.js (TypeScript, Tailwind)
- Next.js (Vercel, Supabase)
- Next.js (Vercel, TypeScript)
- Next.js (App Router)
- Next.js (Material UI, Tailwind CSS)
- Qwik (Basic Setup with TypeScript and Vite)
- Qwik (with Tailwind CSS)
- React Components Creation
- React (Next.js UI Development)
- React (TypeScript, Next.js, Node.js)
- React (TypeScript, Symfony)
- Solid.js (Basic Setup)
- Solid.js (TypeScript)
- Solid.js (Tailwind CSS)
- Svelte 5 vs Svelte 4
- SvelteKit (RESTful API, Tailwind CSS)
- SvelteKit (Tailwind CSS, TypeScript)
- SvelteKit (TypeScript Guide)
- Vue 3 (Nuxt 3 Development)
- Vue 3 (Nuxt 3, TypeScript)
- Vue 3 (Composition API)
Backend and Full-Stack
- Deno Integration
- Elixir Engineer Guidelines
- Elixir (Phoenix, Docker)
- ES Module (Node.js)
- Go Backend Scalability
- Go ServeMux REST API
- Go (Basic Setup)
- Go with Fiber
- HTMX (Basic Setup)
- HTMX (Flask)
- HTMX (Django)
- Java (Springboot, JPA)
- Knative (Istio, Typesense, GPU)
- Laravel (PHP 8.3)
- Laravel (TALL Stack)
- Node.js (MongoDB)
- Node.js (MongoDB, JWT, Express, React)
- Python (FastAPI)
- Python (FastAPI)
- Python 3.12 (FastAPI Best Practices)
- Python (Django Best Practices)
- Python (FastAPI Best Practices)
- Python (FastAPI Scalable API)
- Python (Flask JSON Guide)
- TypeScript (NestJS Best Practices)
- WordPress (PHP, Guzzle, Gutenberg)
- WordPress (macOS)
Mobile Development
CSS and Styling
- Tailwind CSS (Next.js Guide)
- Tailwind (React, Firebase)
- Tailwind (shadcn/ui Integration)
- HTML (Tailwind CSS, JavaScript)
- JavaScript (Astro, Tailwind CSS)
- React (Styled Components)
- React (Chakra UI)
State Management
Database and API
Testing
Build Tools and Development
- Chrome Extension (JavaScript/TypeScript)
- GitHub Code Quality
- GitHub Instructions
- Kubernetes (MkDocs Documentation)
- Linux (NVIDIA CUDA, Python)
- Optimize (DRY, SOLID Principles)
- Python Containerization
- Python (GitHub Setup)
- Tauri (Svelte, TypeScript Guide)
- TypeScript Code Convention
Language-Specific
- JavaScript/TypeScript Code Quality
- JavaScript (Chrome APIs)
- Optimize (Rell Blockchain Code)
- Pandas (scikit-learn Guide)
- Plasticode (Telegram API)
- PyQt6 (EEG Processing)
- Python/TypeScript Guide
- Python Best Practices
- Python Developer
- Python Projects Guide
- PyTorch (scikit-learn)
- Solidity (Hardhat)
- Solidity (React Blockchain Apps)
- TypeScript (LLM Tech Stack)
- TypeScript (Node.js, Next.js, AI)
- TypeScript (Node.js, Next.js, React, UI, CSS)
- TypeScript (Node.js, React, Vite)
- TypeScript (React, Next.js, Cloudflare)
- TypeScript (React, NextUI, Supabase)
- TypeScript (shadcn/ui, Next.js)
- TypeScript (Vite, Tailwind)
- TypeScript (Vue.js)
- TypeScript (Zod, Tailwind, Next.js)
- WebAssembly (Z80 Cellular Automata)
- TypeScript (Next.js)
- TypeScript (Next.js, React)
- TypeScript (Next.js, React, Tailwind, Supabase)
- TypeScript (Next.js, Supabase)
- TypeScript (Node.js, Next.js App)
- TypeScript (React)
- TypeScript (Clasp App Script)
Other
- ASCII Simulation Game
- Code Guidelines
- DragonRuby Best Practices
- Graphical Apps Development
- Meta-Prompt
- Next.js (Type LLM)
- Unity (C#)
- Web App Optimization
Directories
How to Use
Method One
- Install Cursor AI if you haven't already.
- Browse the rules above to find a
.cursorrules
file that suits your needs. - Copy the chosen
.cursorrules
file to your project's root directory. - Customize the rules as needed for your specific project requirements.
Method Two
- Install Cursor AI if you haven't already.
- Install vscode-cursor-rules extension.
- Open the command palette (Cmd+Shift+P or Ctrl+Shift+P) and type
Cursor Rules: Add .cursorrules
. - Select and download the
.cursorrules
file that suits your needs. - Customize the rules as needed for your specific project requirements.
Contributing
Contributions are welcome! If you have a great .cursorrules
file to share:
- Fork this repository.
- Create a new folder in the
rules
directory. The folder name should follow this pattern:technology-focus-cursorrules-prompt-file
For example:react-typescript-cursorrules-prompt-file
- Add your
.cursorrules
file to the new folder. - Optionally, include a README.md in the folder to provide credit and a brief description.
- Update the main README.md file, adding your contribution to the appropriate category.
- Ensure your contribution follows the guidelines in the
.cursorrules
file at the root of this repository. - Submit a pull request.
Please ensure your contribution is original or properly credited if based on existing work. Refer to the .cursorrules
file in the root of this repository for detailed guidelines on formatting, naming conventions, and best practices for contributions.
License
最近版本更新:(数据更新于 2024-12-21 00:04:43)
主题(topics):
awesome, awesome-list, cursor, cursor-ai-editor, cursorrules
PatrickJS/awesome-cursorrules同语言 最近更新仓库
2024-12-21 06:39:36 Loyalsoldier/clash-rules
2024-12-20 06:37:09 Qubic-Solutions/rqiner-builds
2024-12-15 19:50:40 JeoJay127/RapidEFI-Tool
2024-12-13 18:13:17 Xposed-Modules-Repo/fansirsqi.xposed.sesame
2024-12-13 16:12:49 BlackTeaPie/Course-of-Temptation-Chinese-Localization
2024-12-11 23:05:00 Dr-TSNG/ZygiskNext