Skills are included when you set up cubic in your coding agent. See Coding agent integration for setup instructions.
Available skills
| Skill | Activates when | What it does |
|---|---|---|
| Review and fix issues | Working on a PR branch, saying “check cubic comments” or “fix issues” | Fetches all cubic review issues for your PR, investigates each one, and reports which are worth fixing before taking action. |
| Run review | Saying “review my code” or doing a pre-commit check | Runs a local cubic AI code review via the CLI and groups issues by priority. Requires the cubic CLI. |
| Codebase context | Asking “how does X work?” or questions about architecture | Queries the cubic AI Wiki to provide architectural context about your codebase. |
| Review patterns | Writing or reviewing code | Pulls team-specific review learnings to apply your team’s coding conventions and preferences. |
| Cubic loop | Saying “loop until clean” or “keep reviewing” | Iteratively runs cubic reviews, fixes issues, and re-reviews until clean or a max iteration count is reached. |
Recommended workflow
Follow this workflow to integrate cubic into your development cycle.Review locally (optional)
Ask your agent to “review my code” before pushing. The run-review skill catches obvious issues early, saving time on the full cloud review. This step requires the cubic CLI.
cubic reviews on GitHub
cubic runs its full cloud review on your PR. This pass performs deeper analysis than the local CLI pass. Wait for it to finish.
Fix review issues
Ask your agent to “check cubic comments” or “fix cubic issues”. The review-and-fix-issues skill fetches all comments from your PR, validates each one, and walks you through which issues to fix. It auto-fixes clear bugs and asks for guidance on any product decisions.
Triggering skills
Skills activate from natural language. Examples:- “Review my code” triggers run-review
- “Check cubic comments on this PR” triggers review-and-fix-issues
- “How does the authentication system work?” triggers codebase-context
- “What does this team care about in reviews?” triggers review-patterns
- “Loop until clean” or “keep reviewing until done” triggers cubic-loop
Slash commands
If you prefer explicit commands, you can use the following:| Command | Description |
|---|---|
/cubic-run-review [flags] | Run a local cubic AI code review on uncommitted changes or branch diff |
/cubic-comments [pr-number] | Show cubic’s review comments on the current PR (auto-detects branch) |
/cubic-wiki [page-name] | Browse AI-generated codebase documentation |
/cubic-scan [scan-id] | View codebase security scan results and issues |
/cubic-learnings [learning-id] | Show team code review patterns and preferences |