Cursor uses rules as persistent context for the AI features inside the editor. A rule can describe project architecture, coding standards, forbidden paths, preferred commands, review expectations, or any other repo fact the model should see before it edits.
Modern Cursor projects commonly store project rules as .cursor/rules/*.mdc files. That format keeps instructions close to the repository instead of relying only on a personal editor setting, and it lets teams split rules by topic or file pattern.
Cursor also separates broad AI behavior from chat-local instructions. Rules for AI describe durable behavior the assistant should keep applying, while rules for the current chat are short-lived context for a specific task. AgentLint treats durable project rules as harness material because they can affect every future edit.
The practical split is project versus global. Global Cursor rules are useful for personal preferences that apply everywhere. Project rules should carry repo facts, commands, safety boundaries, and the source-of-truth decisions a teammate should inherit after cloning the repo.