Skip to content

RanaAhmar/cursor-rules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ Cursor Rules Collection

Maintained Yes Editor Cursor

A curated collection of highly effective `.cursorrules` templates tailored for different technology stacks and team workflows.

✨ Overview

The Cursor IDE uses a .cursorrules file to instruct the built-in AI (like Claude 3.5 Sonnet or GPT-4o) on how to understand your codebase, format code, and adhere to project-specific architectural guidelines.

This repository provides copy-paste ready .cursorrules files designed to dramatically improve the quality and consistency of AI generation across your projects.

πŸ—‚οΈ Available Templates

  • React / Next.js: Rules for Server Components, hooks, Tailwind CSS, and strict typing.
  • Python / FastAPI: Guidelines for Pydantic v2, dependency injection, and PEP 8 formatting.
  • Go / Microservices: Emphasizes idiomatic Go, minimal dependencies, and robust error handling.
  • Node.js / Express: Focuses on async/await, centralized error handling, and modular routing.
  • System Design / Architecture: Rules forcing the AI to outline architecture before writing implementation code.

πŸš€ How to Use

  1. Check the rules/ directory for the stack that matches your project.
  2. Copy the content of the relevant file.
  3. Create a .cursorrules file in the root directory of your project.
  4. Paste the content and modify any project-specific details.
  5. Reload your Cursor window.

🀝 Contributing

Have a battle-tested rule that improves AI output? We want it! Read our CONTRIBUTING.md for details on how to submit a Pull Request.


🏒 About Stackaura

This repository is maintained by Stackaura. We specialize in providing top-tier digital solutions, focusing on cutting-edge web development, premium branding, and scalable software architecture designed to elevate your business. We leverage AI-driven workflows to deliver high-quality code faster.

Ready to build something amazing?

Visit us at Stackaura.com to learn more about our services and how we can help scale your next project.

About

A curated collection of highly effective .cursorrules templates for AI code generation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors