Frequently Asked Questions
Everything you need to know about Cursor's modern .mdc rules system.
Why did Cursor replace .cursorrules with .mdc files?
A single .cursorrules file forces the AI to load entire styling, database, and backend rules into every prompt—wasting context tokens and confusing the model. The new .cursor/rules/*.mdc format uses glob patterns (like app/**) to load instructions only when relevant files are being edited.
What is the YAML frontmatter in .mdc files?
Each .mdc file begins with a header defining its scope: description explains when to apply the rule, globs defines matching file patterns, and alwaysApply specifies if it should run unconditionally across all files.
How does this differ from Cursor's built-in /Generate command?
Cursor's internal command requires an existing, mature codebase to analyze. When you are starting a fresh project from scratch (cold start), our generator provides battle-tested production blueprints and pre-configured architectural guardrails ready before you write your first line of code.
Can I use these rules with Claude Code or Windsurf?
Yes! Simply switch the export tab in the top right to **Claude Code** (generates CLAUDE.md) or **Windsurf** (generates .windsurfrules). The rules logic stays aligned across all your AI development workflows.