Cursor Formatter¶
| Property | Value |
|---|---|
| Tier | Custom |
| Main output | .cursor/rules/project.mdc |
| Dot directory | .cursor/ |
| Skills | No |
| Agents | No |
| Commands | Yes (.cursor/commands/<name>.md) |
| Local files | No |
Output Files¶
| File | Path | Purpose |
|---|---|---|
| Main instructions | .cursor/rules/project.mdc | Primary rule file |
| Commands | .cursor/commands/<name>.md | Slash commands |
Supported Features¶
| Feature | Supported |
|---|---|
| Markdown Output | Yes |
| MDC Format | Yes |
| Code Blocks | Yes |
| Mermaid Diagrams | Yes |
| Single File Output | Yes |
| Multiple Rule Files | Yes |
| Workflow Files | No |
| Nested Directory Structure | Yes |
| YAML Frontmatter | Yes |
| Description in Frontmatter | Yes |
| Globs in Frontmatter | Yes |
| Activation Type | Yes |
| Glob Pattern Targeting | Yes |
| Always Apply Rules | Yes |
| Manual Activation | Partial |
| Auto/Model Activation | Partial |
| Character Limit Validation | No |
| Content Section Splitting | Yes |
| Context File Inclusion | Yes |
| @-Mentions | Planned |
| Tool Integration | Partial |
| Path-Specific Rules | Yes |
| Prompt Files | No |
| Slash Commands | Yes |
| Skills | Planned |
| Agent Instructions | Planned |
| Local Memory | No |
| Nested Memory | Planned |
Limitations & Quirks¶
- Uses MDC (Markdown Components) format with YAML frontmatter including
description,globs, andalwaysApply - Supports three output modes:
simple(.cursorrules single file),multifile(.cursor/rules/*.mdc),full(+ commands) - Commands go to
.cursor/commands/*.mdfor slash command support @shortcutswith multi-line content become command files- The
.cursorrulesfile (simple mode) is a legacy format;.cursor/rules/*.mdcis preferred - Supports
@fileand@foldercontext references in rules - Nested directory rules are supported
Example Output¶
project-root/
├── .cursor/
│ ├── rules/
│ │ ├── project.mdc # Main rules (MDC format)
│ │ └── frontend.mdc # Path-specific rules
│ └── commands/
│ └── review.md # Slash command