Skip to content

Cursor AI: the code editor's agent, Tab completion and rules

Better Design

Direct answer

Cursor is a code editor with a built-in AI agent that edits files and runs commands, plus Tab, an autocomplete that predicts your next edit. This guide explains Agent, Plan Mode, Tab and rules, from Cursor's own documentation.

A hand-drawn browser window with Cursor written in it and a short list of what it does.

What Cursor is

Each fact comes from the sources listed at the end of this page, read on November 12, 2026.

  • Cursor is a code editor with a built-in AI agent and AI autocomplete.
  • Agent is Cursor's assistant that completes coding tasks on its own, runs terminal commands and edits code.
  • You open Agent in the side pane with Cmd+I.
  • Agent is built from three parts: instructions, tools and the model you pick for the task.
  • Agent's tools search files, search the web, read and edit files, run shell commands and control a browser.
  • Agent saves checkpoints before big changes, so you can restore files to an earlier state.
  • Plan Mode, toggled with Shift+Tab, researches the codebase, asks questions and writes a plan before it codes.
  • Tab is Cursor's autocomplete, which suggests code from your recent edits, nearby code and linter errors.
  • Tab can edit several lines, add missing imports, and jump to your next edit, even in another file.
  • Rules give Agent standing instructions; project rules live in .cursor/rules as .mdc files under version control.
  • Cursor runs on macOS 12 and later, Windows 10 and later, and Linux through apt, dnf or an AppImage.

Cursor rule types and how they apply

Project rules
Where it lives

.cursor/rules as .mdc files

Scope

One codebase, version-controlled

User rules
Where it lives

Your Cursor environment

Scope

Every project you open, used by Agent

Team rules
Where it lives

The team dashboard

Scope

A team, on Team and Enterprise plans

AGENTS.md
Where it lives

A Markdown file in the project

Scope

One project, as a simple alternative to .cursor/rules

Apply Manually rule
Where it lives

A project rule set to manual

Scope

Only when you @-mention it in chat

Get started with Cursor

  • Download Cursor from cursor.com/download for your operating system.
  • Install it: drag it to Applications on a Mac, run the installer on Windows, or use apt or dnf on Linux.
  • Open Cursor and sign in with your Cursor account.
  • Open a project folder with File > Open Folder.
  • Press Cmd+I to open Agent and ask it to explain the codebase or make a small change.

Cursor in four steps

The four steps, in the order you take them.

A hand-drawn four-step path for Cursor: Open a folder, Ask Agent, Review the diff, Run your checks.
  1. Step 1: Open a folder
  2. Step 2: Ask Agent
  3. Step 3: Review the diff
  4. Step 4: Run your checks

Caveats Cursor states

  • A plain .md file in .cursor/rules is ignored; project rules must use the .mdc extension.
  • Checkpoints are stored locally and separate from Git, so use Git for permanent history.
  • Restoring a checkpoint reverts files but keeps the chat messages.
  • On Linux, Cursor prefers the apt and yum packages over the AppImage, because they add automatic updates and CLI tools.

Steal this workflow

Run this guide in your own assistant. The prompt carries the guide link and the workflow summary, so the assistant can adapt it to your project.

Read the guide "Cursor AI: the code editor's agent, Tab completion and rules" at https://better-design.com/blog/cursor-ai and help me apply it to my project.

Cursor is a code editor with a built-in AI agent that edits files and runs commands, plus Tab, an autocomplete that predicts your next edit. This guide explains Agent, Plan Mode, Tab and rules, from Cursor's own documentation.

Start by asking what I am building and which tools I use. Then walk me through the workflow step by step, adapted to my answers.

Claude and ChatGPT open with the prompt filled in. Gemini copies the prompt to your clipboard first, so paste it when the app opens.

Questions

What is Cursor AI?

Cursor is a code editor with an AI agent that edits code and runs commands, plus Tab autocomplete.

How do I accept a Tab suggestion?

Press Tab to accept it, press Escape to reject it, or press Cmd+Right Arrow on a Mac to accept one word at a time.

Where do Cursor rules go?

Project rules go in .cursor/rules as .mdc files. You can also use an AGENTS.md file, user rules or team rules.

Where these Cursor facts come from

Each fact comes from the pages listed here, read on November 12, 2026. Products change, so check those pages for the current version.

Build the interface in your own code instead

A coding agent such as Claude Code, Cursor or Codex can build your interface in your own code. Better Design gives that agent a design system, interface principles and review rules, so the result looks designed.