Project Rules: Documented RULE.md folder format not working, only undocumented .mdc format works

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Project Rules using the documented folder-based RULE.md format are not recognised by Cursor. The documentation at https://cursor.com/docs/context/rules shows rules should be created as folders containing a RULE.md file (e.g., .cursor/rules/my-rule/RULE.md), but this format does not work. Rules only appear in Settings when using flat .mdc files directly in .cursor/rules/ (e.g., .cursor/rules/my-rule.mdc).

Steps to Reproduce

  1. Create .cursor/rules/test-rule/RULE.md with frontmatter (description, globs, alwaysApply)
  2. Open Cursor Settings → Rules → Project Rules
  3. Observe: No rules appear
  4. Convert to .cursor/rules/test-rule.mdc (flat file, same content)
  5. Observe: Rule now appears in Project Rules

Expected Behavior

Rules created using the documented folder-based format (.cursor/rules//RULE.md) should appear in Settings → Rules → Project Rules, matching the documentation at Rules | Cursor Docs

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.14
VSCode Version: 1.105.1
Commit: 1685afce45886aa5579025ac7e077fc3d4369c50
Date: 2025-12-11T01:12:35.790Z (8 hrs ago)
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.1.0

For AI issues: which model did you use?

N/A

For AI issues: add Request ID with privacy disabled

N/A

Additional Information

  • Verified .cursor/rules/ is not in .gitignore or .cursorignore
  • Verified .cursor/ is not excluded in .vscode/settings.json files.exclude
  • Files are tracked by Git
  • The .mdc format works but is not documented; the documented RULE.md format does not work
  • This caused significant debugging time before discovering the undocumented .mdc requirement

Does this stop you from using Cursor

No - Cursor works, but with this issue

1 Like

Hey, thanks for the report.

Right now, per the docs, Project Rules should be folders with a RULE.md file (see Rules | Cursor Docs). .mdc is considered legacy but still works, so it’s a good temporary workaround.

Let’s collect details for the bug:

  • Please show:
    • the exact path and tree: .cursor/rules/<rule>/RULE.md
    • the RULE.md frontmatter (description, globs, alwaysApply)
    • a screenshot of Settings > Rules > Project Rules
    • whether the rules were created via Settings > Rules > + Add Rule or manually
    • a minimal repro (an archive or a test repo)
  • Please try:
    • creating a rule via Settings > Rules > + Add Rule and check if it appears
    • restarting or using Reload Window

Please let us know if the + Add Rule option helped.

I can confirm. The new RULES.md format is not detected by Cursor 2.2.20 on macOS. The “Add Rule” button in the settings Cursor Settings UI still creates .mdc files.

I also confirm this. The documented format is not working!

Hi,

I can now confirm, after a recent update, the following:

Project A

  • Project Rules:
    • Only AGENT.MD files are listed
    • One MDC file is listed
    • Add Rule created a MDC file (not a folder + RULE.MD)

Project B

  • Project Rules:
    • List of the rules folders
    • Click on a rule to open RULE.MD file
    • Add rules creates a folder named after the rule and a RULE.MD file

Confirmed on Mac.

Where does the bug appear (feature/product)?

Cursor IDE

I’m running it on Window 11 and opening a project in WSL2 running Ubuntu.

Describe the Bug

I have cursor rules in the seemingly correct location and the rules are not loaded or show in the settings.

Steps to Reproduce

Create rules, check the rules section in the settings

Expected Behavior

The rules to appear there

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.20 (user setup)
VSCode Version: 1.105.1
Commit: b3573281c4775bfc6bba466bf6563d3d498d1070
Date: 2025-12-12T06:29:26.017Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26100

Does this stop you from using Cursor

No - Cursor works, but with this issue

Also hitting this issue. Rules that are created under .cursor/rules/<rule>/RULE.md are not applied and new rules are created at .cursor/rules/<new_rule>.mdc when using the + Add Rule option

Version: 2.2.43 (Universal)
VSCode Version: 1.105.1
Commit: 32cfbe848b35d9eb320980195985450f244b3030
Date: 2025-12-19T06:06:44.644Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.2.0

Confirmed. The issue still is persistant:

Version: 2.2.43
VSCode Version: 1.105.1
Commit: 32cfbe848b35d9eb320980195985450f244b3030
Date: 2025-12-19T06:06:44.644Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.2.0