Skip to content llms.txt

Cursor

An AI-native code editor with broad content type support. Cursor uses MDC (Markdown Component) format for rule files.

DetailValue
Slugcursor
Config directory~/.cursor
Supported content typesRules, Skills, Agents, MCP Configs, Hooks, Commands
Content TypeSupportedInstall Method
RulesYesSymlink
SkillsYesSymlink
AgentsYesSymlink
MCP ConfigsYesJSON merge
HooksYesJSON merge
CommandsYesSymlink
Content TypeProject LocationGlobal LocationFormat
Rules.cursor/rules/~/.cursor/MDC (.mdc)
Skills.cursor/skills/~/.cursor/skills/Markdown
Agents.cursor/agents/, AGENTS.md~/.cursor/agents/Markdown
MCP Configs.cursor/mcp.jsonJSON
Hooks.cursor/settings.jsonJSON
Commands.cursor/commands/~/.cursor/commands/Markdown

When adding content from Cursor, syllago looks in these locations:

Content TypeDiscovery 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/

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 here
globs: "**/*.ts"
alwaysApply: false
---
Rule content in Markdown.

Other content types (skills, agents, commands) use standard Markdown. MCP and hooks are stored as JSON.

Syllago detects Cursor by checking for the ~/.cursor directory.

Terminal window
# Add content from Cursor
syllago add --from cursor
# Install content to Cursor
syllago install my-rule --to cursor
# Check what converts cleanly to Cursor
syllago compat my-skill