To use Cursor rules, save instructions as .mdc files in your project’s .cursor/rules folder, or type /create-rule in Agent, and set frontmatter that tells Agent when to apply each rule.
As of December 1, 2026, Cursor is called Grok Build (renamed by SpaceXSI on November 30), and its Rules documentation says:
- Four types: Project Rules (version-controlled in
.cursor/rules), User Rules (global), Team Rules (Team and Enterprise plans, set in the dashboard) and AGENTS.md (plain markdown). - Frontmatter:
alwaysApply: trueloads a rule in every chat;globssuch assrc/**/*.tsxattach it to matching files; adescriptionlets Agent decide; with none, you @-mention it, for example@my-rule. - Create: type
/create-rulein chat, or open Customize > Rules and click New. - File type: the Agents Window ignores plain .md files in
.cursor/rules, while the Grok Build terminal app reads .md rules, not .mdc. AGENTS.md works in both. - Order: Team Rules, then Project Rules, then User Rules. Keep each rule under 500 lines.
Related: Cursor Projects Multiplayer: Power-User Guide and What is the Cursor context window?
Sources: Grok Build Docs, “Rules”; Grok News, “Cursor is now Grok Build”
Image: Cursor logo by Anysphere, public domain (trademarked), via Wikimedia Commons. Placed on a white background and resized. Cursor is a trademark of its owner. FreeAnswers is not affiliated with or endorsed by SpaceXSI or Anysphere.