Coding & Development⌨️cursor🌐universal

Best CursorRules

best-cursorrules

Quick Start

Install this Skill

npx skills add TheEthanYu/best-cursorrules
# Best CursorRules

A curated collection of Cursor AI editor rules to help developers leverage AI-assisted coding more effectively.

## What is .cursorrules?

`.cursorrules` helps you define project-specific instructions for Cursor AI. 

- **Customize AI Behavior** - Tailor AI responses to your project needs
- **Maintain Consistency** - Ensure code follows your style guides
- **Boost Productivity** - Get more accurate and context-aware suggestions

## 🌟 Enhanced AI Development with PromptKit

Generate comprehensive project documentation with [PromptKit](https://www.promptkit.tools):
- Requirements, architecture, and tech stack docs
- Better AI understanding of your project
- More accurate code suggestions

## Rule Collections

### React Ecosystem
- [Next.js + TypeScript](rules/react-ecosystem/next-ts/.cursorrules)
- [Next.js + Tailwind](rules/react-ecosystem/next-tailwind/.cursorrules)
- [Next.js + Supabase](rules/react-ecosystem/next-supabase/.cursorrules)
- [React + TypeScript](rules/react-ecosystem/react-ts/.cursorrules)
- [React Components](rules/react-ecosystem/react-components/.cursorrules)
- [React + Firebase](rules/react-ecosystem/react-firebase/.cursorrules)
- [React + NextUI + Supabase](rules/react-ecosystem/react-nextui-supabase/.cursorrules)
- [React + Vite + Node](rules/react-ecosystem/react-vite-node/.cursorrules)
- [Redux + TypeScript](rules/react-ecosystem/redux-ts/.cursorrules)
- [React Query Guide](rules/react-ecosystem/react-query-guide/.cursorrules)
- [MobX + React](rules/react-ecosystem/mobx-react/.cursorrules)

### Modern Frontend
- [Vue 3 Composition](rules/modern-frontend/vue3-composition/.cursorrules)
- [SvelteKit + TypeScript](rules/modern-frontend/sveltekit-ts/.cursorrules)
- [SvelteKit API](rules/modern-frontend/sveltekit-api/.cursorrules)
- [Svelte 5 Migration](rules/modern-frontend/svelte5-migration/.cursorrules)
- [Solid + Tailwind](rules/modern-frontend/solid-tailwind/.cursorrules)
- [Apollo Client](rules/modern-frontend/apollo-client/.cursorrules)

### Backend Frameworks
- [FastAPI Scale](rules/backend-frameworks/fastapi-scale/.cursorrules)
- [FastAPI Best Practices](rules/backend-frameworks/fastapi-best-practices/.cursorrules)
- [Django Best Practices](rules/backend-frameworks/django-best-practices/.cursorrules)
- [Flask JSON](rules/backend-frameworks/flask-json/.cursorrules)
- [Go Scale](rules/backend-frameworks/go-scale/.cursorrules)
- [Node + TypeScript](rules/backend-frameworks/node-ts/.cursorrules)
- [Laravel PHP 8.3](rules/backend-frameworks/laravel-php83/.cursorrules)
- [Laravel TALL Stack](rules/backend-frameworks/laravel-tall-stack/.cursorrules)
- [Phoenix Docker](rules/backend-frameworks/phoenix-docker/.cursorrules)
- [Elixir Guide](rules/backend-frameworks/elixir-guide/.cursorrules)

### Full-Stack Solutions
- [Fullstack Next.js](rules/fullstack-solutions/fullstack-next/.cursorrules)
- [HTMX + Django](rules/fullstack-solutions/htmx-django/.cursorrules)
- [HTMX + Flask](rules/fullstack-solutions/htmx-flask/.cursorrules)
- [HTMX + Fiber](rules/fullstack-solutions/htmx-fiber/.cursorrules)
- [HTMX Basics](rules/fullstack-solutions/htmx-basics/.cursorrules)
- [Python Projects](rules/fullstack-solutions/py-projects/.cursorrules)
- [Python + TypeScript Guide](rules/fullstack-solutions/py-ts-guide/.cursorrules)
- [Python Docker](rules/fullstack-solutions/py-docker/.cursorrules)

### AI and Tooling
- [LLM Stack](rules/ai-and-tooling/llm-stack/.cursorrules)
- [Python LLM/ML](rules/ai-and-tooling/py-llm-ml/.cursorrules)
- [Unity AI](rules/ai-and-tooling/unity-ai/.cursorrules)
- [GitHub Guide](rules/ai-and-tooling/github-guide/.cursorrules)
- [Kubernetes Docs](rules/ai-and-tooling/kubernetes-docs/.cursorrules)
- [Expo Testing](rules/ai-and-tooling/expo-testing/.cursorrules)

## Getting Started

1. **Choose Your Rules**:
   - Browse the table above
   - Click on "View Rules" for your tech stack
   - Copy the `.cursorrules` content

2. **Apply Rules**:
   - Create a `.cursorrules` file in your project root
   - Paste the copied content
   - Cursor will automatically apply these rules

3. **Enhance with PromptKit**:
   - Visit [PromptKit](https://www.promptkit.tools) to generate comprehensive project documentation
   - Use generated docs to further improve AI understanding
   - Get more accurate and context-aware code suggestions

## Best Practices

1. **Keep Rules Focused**:
   - Define clear scope and expertise
   - Specify coding standards
   - Include project-specific requirements

2. **Regular Updates**:
   - Review and update rules periodically
   - Align with project evolution
   - Keep up with technology changes

3. **Documentation**:
   - Use [PromptKit](https://www.promptkit.tools) to generate comprehensive documentation
   - Include examples and explanations
   - Reference official guidelines

## Contributing

We welcome all forms of contributions! To share your rule files:

1. Fork this repository
2. Add your rules following the existing structure
3. Update the tab

... (truncated)
Repository
3stars
0forks
View on GitHub
Details
DiscoveredJan 19, 2026
Last UpdatedFeb 25, 2025
Quality Score
10/100