Cursor
An AI-native code editor with broad content type support. Cursor uses MDC (Markdown Component) format for rule files.
Provider Details
Section titled “Provider Details”| Detail | Value |
|---|---|
| Slug | cursor |
| Config directory | ~/.cursor |
| Supported content types | Rules, Skills, Agents, MCP Configs, Hooks, Commands |
Supported Content Types
Section titled “Supported Content Types”| Content Type | Supported | Install Method |
|---|---|---|
| Rules | Yes | Symlink |
| Skills | Yes | Symlink |
| Agents | Yes | Symlink |
| MCP Configs | Yes | JSON merge |
| Hooks | Yes | JSON merge |
| Commands | Yes | Symlink |
File Format and Location
Section titled “File Format and Location”| Content Type | Project Location | Global Location | Format |
|---|---|---|---|
| Rules | .cursor/rules/ | ~/.cursor/ | MDC (.mdc) |
| Skills | .cursor/skills/ | ~/.cursor/skills/ | Markdown |
| Agents | .cursor/agents/, AGENTS.md | ~/.cursor/agents/ | Markdown |
| MCP Configs | .cursor/mcp.json | — | JSON |
| Hooks | .cursor/settings.json | — | JSON |
| Commands | .cursor/commands/ | ~/.cursor/commands/ | Markdown |
Discovery Paths
Section titled “Discovery Paths”When adding content from Cursor, syllago looks in these locations:
| Content Type | Discovery Paths |
|---|---|
| Rules | .cursor/rules/, .cursorrules |
| Skills | .cursor/skills/ |
| Agents | .cursor/agents/, AGENTS.md |
| MCP Configs | .cursor/mcp.json |
| Hooks | .cursor/settings.json |
| Commands | .cursor/commands/ |
Format Notes
Section titled “Format Notes”Cursor uses MDC (Markdown Component) format for rule files. MDC has a metadata header delimited by --- containing fields like description, globs, and alwaysApply. Syllago converts between standard Markdown and MDC automatically.
Example MDC structure:
---description: Rule description hereglobs: "**/*.ts"alwaysApply: false---
Rule content in Markdown.Other content types (skills, agents, commands) use standard Markdown. MCP and hooks are stored as JSON.
Detection
Section titled “Detection”Syllago detects Cursor by checking for the ~/.cursor directory.
Working with Cursor
Section titled “Working with Cursor”# Add content from Cursorsyllago add --from cursor
# Install content to Cursorsyllago install my-rule --to cursor
# Check what converts cleanly to Cursorsyllago compat my-skill