Welcome to the Cursor Rulebook! This repository is dedicated to building a sharable set of rules for Cursor to help you streamline, standardize, and supercharge your project development. ๐
Cursor is an AI-powered code editor that can be enhanced with custom rules to enforce best practices, automate workflows, and keep your codebase clean and consistent. This repo is your go-to place for collecting, organizing, and sharing those rules!
- Centralize: Keep all your Cursor rules in one place for easy access and sharing.
- Standardize: Enforce consistent coding standards and workflows across all your projects.
- Accelerate: Speed up development by automating repetitive tasks and reducing errors.
- Collaborate: Share your rules with teammates or the community to help everyone build better, faster, and smarter.
- Clone this repo to your local machine:
git clone https://github.com/your-username/cursor-rulebook.git
- Add or edit rules in the
.cursor/rules/directory. Each rule should follow the Cursor rule format. - Sync with your projects by copying or linking the
.cursor/rules/directory into your project root. - Enjoy automated guidance from Cursor as you code! โจ
- Writing Effective Rules - Comprehensive guide on creating powerful cursor rules
- Rule Templates - Ready-to-use templates for different rule types
- Rule Showcase - Success stories and real-world implementations
- Installation Guide - Easy installation script with category options
This is a personal collection of cursor rules designed to streamline development workflow. Feel free to use any rules that work for your projects:
- Browse the rule categories to find relevant rules
- Follow the writing guide to create your own rules
- Use the templates for consistency when creating new rules
- Validate your rules with
./scripts/validate-rules.shfor quality assurance