Commands
Commands are shortcuts for common workflows in OpenCode. They provide consistent, structured ways to execute tasks.
lightbulb All commands now use the / prefix (e.g., /create)
How to Use Commands
In OpenCode
Type commands directly in your prompt:
/create Add user authentication
/plan authentication system
/implement
/finish
CLI
List all commands:
aikit commands list
Command Categories
Core Workflow
Main workflow commands for task tracking and completion:
- /create - Create new task
- /plan - Create implementation plan
- /implement - Implement with TDD
- /finish - Complete with quality gates
- /handoff - Create session handoff
- /resume - Resume from handoff
Quick Actions
Fast actions for common tasks:
- /fix - Quick fixes
- /fix-types - Fix TypeScript errors
- /fix-ci - Fix CI failures
- /commit - Create conventional commits
- /pr - Create pull request
- /refactor - Refactor code
- /test - Run tests
- /lint - Run linter
Research & Design
Research and design tasks:
- /research - Deep research
- /analyze-project - Analyze project
- /review-codebase - Review codebase
- /design - Design features
- /brainstorm - Brainstorm ideas
- /analyze-figma - Analyze Figma designs
Git
Git operations:
Common Workflows
Feature Development
/create Add user authentication
/plan authentication system
/implement
/finish
/commit
/pr
Bug Fixing
/fix Authentication fails on invalid credentials
# or
/systematic-debugging
> Debug authentication issue
Code Review
/review-codebase
# or
/code-review
> Review this PR
Multi-Session
# Session 1
/create Complex feature
/plan feature
/implement
/handoff
# Session 2
/resume
/implement
/finish
Help
Get help for any command:
/help
/help /plan
/help /implement
Next Steps
- Core Workflow - Core workflow commands
- Skills - Learn about skills (using
/prefix) - Agents - Learn about agents