Skip to content

Cursor Rules

My personal cursor rules. Requirements Engineering. Auto Commits. Auto everything.

Install: git clone https://github.com/a-ratz/cursor-rules

Works with Cursor · 42 GitHub stars

Install

$git clone https://github.com/a-ratz/cursor-rules

Install command taken from the project's README or registry entry. Always review code before running it.

Cursor Rules Rule 🚀

⚠️ Important: If you're using Cursor without rules, you're doing it wrong!

⚠️ Important Part 2: Every major update seems to slightly change how the rules work and how they need to be applied. I'm currently working on a more generalizable solution to the problem and also exploring ways to port all ideas to GitHub Copilot and Windsurf.


This repository contains a collection of custom rules for the Cursor AI coding assistant that significantly enhance its capabilities. These rules provide structure, automation, and consistency to your AI-assisted coding workflow.

The Future of Development is Here 🌟

AI is transforming software development, and Cursor represents a significant leap forward in this evolution. This repository showcases a fundamental paradigm shift in how we build software:

From: Developers manually writing every line of code
To: Developers creating rules and specifications that guide AI assistants to generate implementation

This approach fundamentally changes the developer's role from manual coding to:

  1. Defining clear specifications for what should be built
  2. Establishing technical rules for how code should be written
  3. Supervising the AI as it implements solutions
  4. Reviewing and refining the output

Cursor, with properly configured rules, is the first practical implementation of this new development model. The rules in this repository aren't just for code formatting or style, they establish a complete development workflow that manages everything from specifications to tasks, knowledge capture, and code commits.

By adopting this rules-based approach, developers can dramatically accelerate productivity while still maintaining control.

And the best part?

You can already begin this journey with Cursor today!

What are Cursor Rules? 🤔

Cursor rules (in .mdc format) are instructions that guide how the AI assistant behaves, processes information, and generates code. They act as a "stdlib" or framework for the AI, ensuring that it follows best practices, coding standards, and project-specific requirements.

Rules allow you to:

  • Automate repetitive tasks 🔄
  • Enforce coding standards 📏
  • Implement workflows that boost productivity 🚀
  • Create specifications that drive implementation 📜
  • Maintain consistency across your codebase 🔍

Rules in this Repository 📚

On-Load Rule

on-load-rule.mdc: Establishes critical development principles that must be followed for all development activities.

  • Enforces "specifications first" principle - no implementation without specs
  • Ensures proper task tracking for all development activities
  • Mandates quality assurance with tests for all implementations
  • Requires knowledge capture of important learnings
  • Acts as the foundation for all other rules in the system

Specification Management Rule

specification-management-rule.mdc: Comprehensive system for creating, validating, and tracking requirements.

  • Automatically creates specifications when implementation is requested
  • Provides structured format for requirements with clear acceptance criteria
  • Includes validation mechanisms to ensure specification quality
  • Tracks specification completion status throughout development
  • Maintains a complete index of all project specifications

Similar plugs

Orca is the ADE for working with a fleet of parallel agents. Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

PluginDev tools+6,803 this week

Multi-harness agentic plugin marketplace for Claude Code, Codex, Cursor, OpenCode, GitHub Copilot, Google Antigravity, and Pi

Open source Ghostty-based macOS terminal with vertical tabs and notifications for AI coding agents. Built for multitasking, organization, and programmability.

PluginDev tools+87 this week

The Developer Tool for Visual Engineers • An Open-Source AI-First Design tool • Visually build, style, and edit your code with AI • World's best, top-most agent recommended #1…

A powerful GUI app and Toolkit for Claude Code - Create custom agents, manage interactive Claude Code sessions, run secure background agents, and more.

Explore related