Cursor AI Commands
Cursor AI Commands
Cursor provides AI-powered commands that automate common workflow tasks. These commands understand our conventions and help you follow them correctly.
📚 Learn more: See the official Cursor documentation on commands for details on how the
/command system works.
Available Commands
Create Pull Request (/unio-create-pr)
Guides you through creating a properly structured draft PR following our workflow. It:
- Creates your branch with correct naming
- Makes an empty initial commit
- Pushes to GitHub and creates a draft PR
- Links Superthread cards automatically
- Fills out the PR template
Use this when starting new work to ensure everything is set up correctly from the beginning.
Suggest Commit Message (/unio-commit-message)
Analyzes your changes and suggests a properly formatted Conventional Commit message. It:
- Determines the correct type (feat, fix, docs, etc.)
- Writes a clear, concise summary
- Adds body text when context is needed
- Follows imperative mood and formatting rules
Use this when you're unsure how to phrase a commit message or want to ensure it follows our conventions.
Code Review (/unio-code-review)
Conducts a structured code review following our standards. It:
- Analyzes code for security, performance, and quality
- Checks against feature specs and plans
- Verifies test patterns and coverage
- Provides educational feedback
- Creates a structured review document
- Optionally posts to GitHub
Use this for self-review before marking your PR ready, or when reviewing someone else's code.
How to Use Commands
In Cursor Chat:
Type / followed by the command name (e.g., /unio-create-pr) and press Enter. The AI will guide you through the process interactively.
With Context: You can attach files or reference specific changes when invoking commands. For example:
/unio-commit-message- The AI will check your staged changes/unio-code-review- The AI will analyze your current branch
Command Files:
The command definitions live in root/.cursor/commands/:
unio-create-pr.md- Pull request creation workflowunio-commit-message.md- Commit message suggestionsunio-code-review.md- Code review process
These markdown files contain the detailed instructions that guide the AI's behavior. You can customize them or create new commands by adding files to this directory. See the Cursor commands documentation for more information on creating custom commands.