AI code review
Interactive comments
Tag cubic in PR comments to ask questions, trigger reviews, and get instant code insights.
Tag cubic in PR comments to ask questions, trigger reviews, and get instant code insights.
Why use interactive comments
- Ask follow-up questions about code changes without leaving the PR
- Re-trigger AI reviews after addressing feedback
- Get instant clarification on AI suggestions
- Build context through natural conversation
How to tag cubic
Tag cubic in your comment:
@cubic-dev-ai
(recommended)@cubic
(also works)
The bot will react with 👀 to acknowledge your comment.
What you can do
Ask questions
Get instant answers about code, design decisions, or implementation details:
- “@cubic-dev-ai will this color code work well in dark mode?”
- “@cubic-dev-ai can you explain how this function works?”
- “@cubic-dev-ai is there a better way to handle this error?”
Trigger reviews
Tag cubic to trigger a new AI review:
- “@cubic-dev-ai review this PR”
- “@cubic-dev-ai can you review these changes?”
- Or simply tag cubic with any request - it will understand you want a review
Provide feedback
Reply to AI review comments to improve future suggestions:
- “This is a false positive, Next.js handles this automatically”
- “The rule is too strict for our use case”
- “This doesn’t apply to React Server Components”
Tips and best practices
- Context awareness: When replying to AI reviews, cubic understands the original suggestion
- Be specific: More detailed questions get more helpful answers
- Natural language: Write as you would to a teammate