PR Review Comments
This skill surfaces AI code review comments and violations from cubic when working on pull requests.
When to Activate
- •User says "check cubic comments", "cubic violations", "cubic feedback", or "cubic code review"
- •User mentions fixing review comments or addressing feedback
- •User is on a feature branch with an open PR
- •User is editing a file that was flagged in a review
- •User asks what cubic found or what needs to be fixed
How to Use
- •Detect the current repository from git remote:
git remote get-url origin - •Detect the current branch:
git branch --show-current - •Find the PR number:
gh pr view --json number --jq .number - •Call
get_pr_violationswith repo, pullNumber, and owner to get all published violations with full content - •Filter violations to prioritize:
- •Files the user is currently editing
- •Unaddressed violations (aiAddressed = false)
- •Higher severity violations first
Presentation
- •Show violations inline when relevant to the current file
- •Group by file when showing an overview
- •Highlight which violations are still open vs already addressed
- •If all violations are addressed, congratulate the user