200 XP
CURSOR · CONFIGURE & EXTEND Plus lesson 20 min

Write the project's rules

Write a scoped .mdc rule, test it with a loose request in a fresh chat, and know what a rule can't stop.

New to Cursor? Start with the first lesson in this guide.

What this lesson covers

  1. Stop repeating yourself
  2. Create the rule
  3. Choose when it applies
  4. Test it in a fresh chat
  5. Know what a rule can't do
  6. Commit the rule

You’ll come away with: Write the project's rules once in a .mdc file, scope them to the right files, test them in a fresh chat, and remember they guide Agent without locking anything.