Skip to main content

Overview

Cursor uses a unique .mdc format: Markdown with YAML frontmatter that supports conditional rules via glob patterns. Drevon’s Cursor adapter is the most complex, generating multiple rule files from your config.

Output Files

The MDC Format

Each .mdc file contains YAML frontmatter with Cursor-specific fields:

Glob-Targeted Instructions

Drevon’s killer feature for Cursor: instructions with globs become separate rule files that only activate when matching files are open.
This generates:
Use glob-targeted instructions to give Cursor context-specific guidance. For example, different rules for frontend vs backend files, or special handling for test files.

Enabling

Agent-Specific Settings

Requirements

  • Cursor editor installed
  • .cursor/rules/ directory (Drevon creates this)