This repository contains workflows and patterns for using Cursor AI editor. Throughout the documentation, you may see references to cursor-agent commands in examples.
Cursor is a desktop editor application, not a CLI tool. The examples showing cursor-agent commands should be interpreted as:
Instead of:
cursor-agent "refactor this code"Use Cursor Editor:
- Open Chat (Cmd/Ctrl + L) or Composer (Cmd/Ctrl + I)
- Type: "refactor this code"
- Review and accept changes
Always refer to: Cursor Documentation for:
- Actual features and capabilities
- Real keyboard shortcuts
- Current functionality
- Installation instructions
- Chat (Cmd/Ctrl + L) - Ask questions, get help
- Composer (Cmd/Ctrl + I) - Multi-file edits
- Inline Edit (Cmd/Ctrl + K) - Quick code edits
- @ Mentions - Reference files, functions
- .cursorrules - Project-specific AI configuration
- MCP - Model Context Protocol integration
The workflow examples in this repository show concepts and patterns, not literal CLI commands. They demonstrate:
- How to structure prompts
- Workflow patterns
- Best practices
- Learning methodologies
When implementing these workflows, use Cursor's actual editor features (Chat, Composer, Inline Edit) as documented at https://cursor.com/docs/