Cursor Rules
Browse, validate and migrate your Cursor rules
Find rule text by language and framework. Check supported .mdc formatting or migrate legacy .cursorrules instructions with free browser-based tools.
Python
Next.js
View All
Backend Development
More Backend Development CursorRulesDeno Integration
This project provides automation scripts and workflows tailored for the @findhow packages, adapted from the original Deno automation repository. It aims to deliver consistent and efficient automation solutions for the @findhow ecosystem.
Deno
Automation
Workflow
Elixir Engineer Guidelines
Comprehensive guidelines for Elixir engineers, covering best practices, tools, and workflows for building robust and scalable applications.
Elixir
Phoenix
Docker
Elixir (Phoenix, Docker)
Comprehensive guidelines and best practices for developing scalable and maintainable Elixir applications using Phoenix framework and Docker. Includes coding standards, preferred libraries, performance optimization, and testing strategies.
Elixir
Phoenix
Docker
ES Module (Node.js)
Guidelines and best practices for using ES Modules in Node.js, focusing on modularity, performance, and security.
Node.js
ES Modules
JavaScript
Go Backend Scalability
A comprehensive guide to building scalable backend systems using Go, covering best practices, performance optimization, and modern architectural patterns.
Go
Backend Development
Scalability
Go ServeMux REST API
Comprehensive guide for building secure, scalable, and maintainable REST APIs using Go's net/http package and the new ServeMux introduced in Go 1.22. Follow best practices for RESTful API design, error handling, input validation, and concurrency.
Go
REST API
ServeMux
Go (Basic Setup)
A comprehensive guide to setting up a Go project with HTMX, including best practices, folder structure, and additional instructions for efficient development.
Go
HTMX
Basic Setup
Go with Fiber
Best practices and guidelines for integrating HTMX with Go and Fiber, including project structure, coding standards, and performance optimization.
Go
Fiber
HTMX
CSS and Styling
More CSS and Styling CursorRulesTailwind CSS (Next.js Guide)
A detailed guide for developing modern web applications using Tailwind CSS and Next.js, covering best practices, performance optimization, and advanced TypeScript techniques.
Next.js
Tailwind CSS
TypeScript
Tailwind (React, Firebase)
Comprehensive guide and best practices for building high-quality, mobile-first web applications using Tailwind CSS, React, and Firebase. Includes design, performance, accessibility, and Firebase integration tips.
React
Firebase
Tailwind CSS
Tailwind (shadcn/ui Integration)
A comprehensive guide on integrating Tailwind CSS with shadcn/ui in a Next.js project, focusing on best practices, performance optimization, and maintainability.
Tailwind CSS
shadcn/ui
Next.js
JavaScript (Astro, Tailwind CSS)
Best practices and guidelines for building scalable, high-performance web applications using Astro and Tailwind CSS.
Astro
Tailwind CSS
JavaScript
React (Styled Components)
Optimize your React projects using Styled Components with best practices, folder structure, and coding standards.
React
Styled Components
CSS-in-JS
React (Chakra UI)
A comprehensive guide for building React applications using Chakra UI, focusing on best practices, performance optimization, and maintainable code structure.
React
Chakra UI
TypeScript
Tailwind CSS Development Best Practices
These rules focus on using Tailwind CSS effectively. It covers configuration, such as using PurgeCSS and customizing themes. It also includes development approaches like mobile - first design, component - based architecture, and performance optimization. Additionally, it touches on security, testing, and tooling for a comprehensive Tailwind CSS project.
Tailwind CSS
PurgeCSS
Component-based
Database and API
More Database and API CursorRulesGraphQL (Apollo Client)
Best practices and guidelines for using GraphQL with Apollo Client in a React application.
GraphQL
Apollo Client
React
TypeScript (Axios)
Comprehensive guide on integrating and utilizing Axios with TypeScript for efficient API communication in your projects.
TypeScript
Axios
API
Peewee ORM Best Practices and Coding Standards
This document outlines best practices and coding standards for using Peewee ORM in Python development, covering code organization, common patterns, performance, security, testing, pitfalls, and tooling.
database
orm
python
Pony ORM Best Practices
This document details best practices for Python apps with Pony ORM. It covers code organization, design patterns, performance optimization, security, testing, and more. Following these guidelines can enhance code maintainability, readability, performance, and security, while avoiding common pitfalls.
Pony ORM
Python
database
AWS DynamoDB Cursor Rules
These rules cover various aspects of AWS DynamoDB development. It includes schema design (e.g., single - table design), code organization, design patterns, performance optimization (reducing RCUs/WCUs), security (preventing injection attacks), testing strategies (unit, integration, end - to - end), and tooling (using AWS CLI, SDK). They aim to ensure efficient, secure, and maintainable DynamoDB applications.
AWS DynamoDB
Schema Design
Code Organization
SQLAlchemy Best Practices and Coding Standards
This document details best practices for using SQLAlchemy in Python projects. It covers code organization, common patterns, performance, security, testing, pitfalls, and tooling. Following these guidelines helps write maintainable, efficient, and secure code, with considerations for various aspects like architecture, optimization, and deployment.
SQLAlchemy
Python
Database
Amazon S3 Best Practices and Coding Standards
This document offers comprehensive guidelines for Amazon S3 development. It covers security like access control and encryption, code organization, common patterns, performance optimization, testing approaches, and tooling. Following these can ensure secure, performant, maintainable, and cost - effective S3 integrations.
Amazon S3
Best Practices
Coding Standards
Frontend Frameworks
More Frontend Frameworks CursorRulesAngular (Novo Elements)
A comprehensive guide and rules for integrating Novo Elements with Angular using standalone components, ensuring clean, maintainable, and efficient code.
Angular
Novo Elements
Standalone Components
Angular (TypeScript)
Expert Angular programming using TypeScript, Angular 18, and Jest, focusing on clear, readable, and maintainable code.
TypeScript
Angular
Jest
Astro (TypeScript)
Comprehensive guidelines for developing and maintaining an Astro project using TypeScript and TailwindCSS.
TypeScript
Astro
TailwindCSS
Cursor AI (React, TypeScript, shadcn/ui)
An advanced AI programming assistant specializing in React and TypeScript, leveraging shadcn/ui for modern UI development. Ensures clean, maintainable, and high-performance code using the latest technologies and best practices.
React
TypeScript
shadcn/ui
Next.js 15 (React 19, Vercel AI, Tailwind)
Comprehensive guide and best practices for building modern web applications using Next.js 15, React 19, Vercel AI SDK, and Tailwind CSS. Includes TypeScript, Shadcn UI, Radix UI, and performance optimization strategies.
React 19
Next.js 15
Vercel AI
Next.js 14 (Tailwind, SEO)
A comprehensive guide and code generation rules for building modern, SEO-optimized web applications using Next.js 14, Tailwind CSS, and TypeScript. This template includes best practices for server-side rendering, responsive design, and performance optimization.
Next.js
Tailwind CSS
SEO
Next.js (React, Tailwind)
A comprehensive guide and rules for developing modern web applications using Next.js, React, Tailwind CSS, and Shadcn UI. This setup emphasizes TypeScript, functional programming, and performance optimization.
Next.js
React
Tailwind CSS
Next.js (React, TypeScript)
Comprehensive guide for developing with Next.js, React, and TypeScript, focusing on best practices, performance optimization, and modern web development techniques.
React
TypeScript
Next.js
Language-Specific
More Language-Specific CursorRulesJavaScript/TypeScript Code Quality
Comprehensive guidelines for writing clean, maintainable, and high-performance JavaScript/TypeScript code. Follow these best practices to ensure your code is simple, readable, and reusable.
JavaScript
TypeScript
Code Quality
JavaScript (Chrome APIs)
Comprehensive guide to developing Chrome Extensions using JavaScript, HTML, CSS, and Chrome APIs. Learn best practices, performance optimization, security, and more.
Chrome APIs
JavaScript
Chrome Extensions
Optimize (Rell Blockchain Code)
A comprehensive guide to writing clear, readable, and efficient Rell code for blockchain applications on the Chromia platform. Learn best practices, core concepts, and advanced features to optimize your Rell code.
Rell
Blockchain
Chromia
Pandas (scikit-learn Guide)
A detailed guide on using Pandas and Scikit-learn for efficient data analysis, visualization, and machine learning workflows in Python. This guide emphasizes best practices, performance optimization, and reproducibility.
Pandas
Scikit-learn
Data Analysis
Plasticode (Telegram API)
Comprehensive guide for developing Telegram bots using Plasticode and PHP, focusing on best practices, coding standards, and dependency management.
Telegram API
PHP
Plasticode
PyQt6 (EEG Processing)
A comprehensive guide and AI system prompt for developing advanced EEG signal processing applications using PyQt6, focusing on creating user-friendly interfaces, robust backend processing, and efficient workflows.
PyQt6
EEG Processing
Python
Python/TypeScript Guide
Comprehensive guide for Python and TypeScript development, focusing on best practices, modern frameworks, and efficient coding techniques.
Python
TypeScript
Django
Python Best Practices
Comprehensive guidelines for Python development, emphasizing modular design, robust error handling, and AI-friendly coding practices.
Python
Best Practices
AI-Assisted Development
Mobile Development
More Mobile Development CursorRulesReact Native Expo
Comprehensive guidelines and best practices for developing React Native applications using Expo. Includes coding standards, folder structure, and additional instructions for optimal development.
React Native
Expo
Mobile Development
SwiftUI Guidelines
Comprehensive guidelines for developing maintainable and clean SwiftUI applications, focusing on the latest features and best practices as of August and September 2024.
SwiftUI
iOS Development
Clean Code
TypeScript (Expo, Jest, Detox)
Comprehensive guide and rules for developing mobile applications using TypeScript with Expo, Jest, and Detox. Includes coding standards, performance optimization, testing strategies, and more.
Expo
Jest
Detox
Android Native (Jetpack Compose)
Best practices and guidelines for Android Native development using Jetpack Compose, including project architecture, UI guidelines, testing, and performance optimization.
Jetpack Compose
Android
Kotlin
Flutter Expert
Comprehensive .cursorrules for Flutter projects, including best practices, coding guidelines, and performance optimization techniques.
Flutter
Best Practices
Coding Guidelines
UIKit UI Design Principles
1. Use SnapKit for Auto Layout, support Dynamic Type and Safe Area. 2. Implement UI programmatically, avoid Storyboards/XIBs. 3. UI components should not directly access models, follow OOP/MVC/MVVM. 4. Pass events via closures with 'self' as parameter.
UIKit
Swift
iOS
React Native Expo Router TypeScript Development Rules
This rule set includes best practices for React Native Expo development, such as using functional components with hooks, leveraging Expo SDK features, implementing navigation with Expo Router, etc. It also details folder structure, package version compatibility notes, and additional instructions for project management, including using PowerShell for commands and following specific upgrade procedures.
React Native
Expo
Expo Router
Flutter Riverpod Project Development Rules
This set of rules guides the development process of a Flutter project using Riverpod for state management. It includes steps from instruction analysis, task execution, quality control, to final confirmation and result reporting. Also specifies project structure, placement rules, naming conventions, and key principles to follow.
Flutter
Riverpod
Firebase
State Management
More State Management CursorRulesReact (Redux, TypeScript)
A comprehensive guide for developing React applications using Redux for state management and TypeScript for type safety. This includes best practices, folder structure, and coding standards.
React
Redux
TypeScript
React (MobX)
Best practices and guidelines for using React with MobX for scalable and efficient state management.
React
MobX
State Management
React (React Query)
Best practices and guidelines for using React Query in React applications, including folder structure, coding standards, and performance optimization.
React
React Query
TypeScript
Testing
More Testing CursorRulesTypeScript (Expo, Jest, Detox)
Comprehensive guide and rules for TypeScript-based mobile development using Expo, Jest, and Detox. Includes best practices for code style, UI/UX, performance, testing, and more.
TypeScript
Expo
Jest
Cypress Best Practices: A Comprehensive Guide
This guide offers best practices for using Cypress, an end - to - end testing framework for web apps. It covers code organization, patterns, performance, security, testing approaches, common pitfalls, and tooling.
Cypress
testing
web application
Vitest Best Practices and Coding Standards
This document details Vitest best - practices. It covers code organization, common patterns, performance, security, testing approaches, pitfalls, and tooling. It emphasizes organizing tests close to source, using proper naming, following AAA pattern, optimizing performance, preventing security vulnerabilities, and integrating with CI/CD.
Vitest
testing
best practices
Behave Cursor MDC File
This rule focuses on the behave - cursor - mdc - file. It likely pertains to the testing process, perhaps related to how the cursor behaves in MDC files. It might involve verifying cursor movement, interaction with specific elements in these files during testing scenarios to ensure proper functionality and user - experience.
behave
cursor
mdc file
Mockito Best Practices and Coding Standards
This document offers comprehensive guidelines for using Mockito in Java projects. It covers code organization, common patterns, performance, security, testing, and pitfalls. It details how to structure code, use Mockito annotations, optimize performance, prevent security vulnerabilities, and test different scenarios effectively.
testing
java
mocking
unittest Best Practices Guide
This guide offers best practices for Python's `unittest` library. It covers code organization in tests, common patterns and anti - patterns, performance, security, various testing approaches, common pitfalls, and tooling. It helps write effective, maintainable, and performant unit tests to ensure code quality and reliability.
unittest
Python testing
testing best practices
Tools and DevOps
More Tools and DevOps CursorRulesChrome Extension (JavaScript/TypeScript)
Comprehensive guidelines for developing Chrome Extensions using JavaScript and TypeScript, focusing on best practices, security, performance, and maintainability.
JavaScript
TypeScript
Chrome Extension
GitHub Code Quality
Comprehensive rules and best practices for maintaining high code quality on GitHub repositories.
code-quality
github
best-practices
Kubernetes (MkDocs Documentation)
Comprehensive and user-friendly Kubernetes documentation created using MkDocs, focusing on cloud-native technologies, containerization, and orchestration best practices.
Kubernetes
MkDocs
Cloud Native
Linux (NVIDIA CUDA, Python)
A streamlined pipeline for downloading, quantizing, and uploading models to Hugging Face repositories, optimized for Linux servers with NVIDIA CUDA and AMD ROCm GPU support.
NVIDIA CUDA
Python
Model Quantization
Optimize (DRY, SOLID Principles)
Enhance code quality and maintainability by adhering to DRY (Don't Repeat Yourself) and SOLID (Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion) principles. This guide provides best practices for writing clean, efficient, and scalable code.
DRY
SOLID Principles
Code Quality
Python Containerization
Comprehensive guide on containerizing Python applications using Docker, Kubernetes, and best practices from Python's official documentation and PEPs.
Python
Containerization
Docker
Python (GitHub Setup)
Comprehensive guidelines for setting up and developing Python projects on GitHub, including coding standards, testing, documentation, and deployment strategies.
Python
GitHub
Development
Tauri (Svelte, TypeScript Guide)
Comprehensive guide for building secure, efficient, and scalable desktop applications using Tauri with Svelte and TypeScript. Includes best practices, performance optimization, and security considerations.
Tauri
Svelte
TypeScript
Latest Insights & Development Tips
More Blogblog
6/14/2025Mastering Cursor Rules Ultimate Guide to AI-Assisted Development
Transform your coding workflow with Cursor Rules - learn to configure project-aware AI assistants with global, project-wide, and pattern-specific rules.
blog
1/20/2025A Comprehensive Guide to Using .cursorrules for Optimized AI-assisted Programming
Learn how to optimize AI-assisted programming with .cursorrules. Define coding standards, preferred libraries, and file structures to enhance AI-generated code. Improve performance, testing, and documentation while ensuring consistency and efficiency in your projects. Empower your AI assistant with precise, project-specific rules.
blog
12/19/2024Cursor IDE Now Free for Students - Complete Guide to AI-Powered Programming
Cursor IDE is now completely free for students! Learn how to get free access to the AI-powered coding assistant that's revolutionizing programming education. Complete guide with eligibility, features, and setup instructions.
blog
8/14/2024Add New Cursor Rules To CursorRules.org
Learn how to add new cursor rules to CursorRules.org, ensuring that your rules are valid and well-formatted, improving your development experience.
FAQ
Frequently Asked Questions
- A directory of rule text, tutorials, a limited format validator and a legacy instruction converter. Templates should be reviewed for your own project.
- Save a .mdc rule in .cursor/rules/ in your project. The converter shows the path and offers a single-file download.
- The validator and converter process pasted text in browser memory. They do not upload it to a server or AI model.
- No. The tool checks supported format issues. It does not run Cursor, scan your repository or detect conflicts between instructions.
- Yes. The converter preserves your legacy instruction text as a plain AGENTS.md file. Review it before installation; behavior can differ across tools.