AI Tools
Cursor Rules Generator
Generate .mdc rule files for Cursor's modern .cursor/rules/ system. Modular rules with activation modes, glob patterns, and framework presets.
Filename without extension (e.g. react-patterns → react-patterns.mdc)
Used by Cursor to decide when to apply this rule automatically
3 Activation Mode When should this rule apply?
4 Framework Presets Choose your stack
5 Rule Categories Customize behavior
6 Custom Rules Optional
Preview
my-rules.mdc
Where to place your rule
.cursor/
└── rules/
├── my-rules.mdc
├── another-rule.mdc ← one .mdc per concern
└── ...
Rule precedence (highest first):
Team RulesCursor Dashboard (Team/Enterprise)
.cursor/rules/*.mdcProject — modern format
User RulesCursor Settings → General
.cursorrulesProject — legacy (deprecated)