code-review
Installation
SKILL.md
Code Review
Use this skill when performing code reviews or pull request reviews.
Base Branch Determination
Before reviewing, you must determine the correct base branch. Use these methods in order of reliability:
Method 1: Check for Associated PR/MR
If the branch has an open pull request or merge request, use the PR's target:
# GitHub
gh pr view --json baseRefName --jq '.baseRefName' 2>/dev/null