Turbo review-pr
Review a pull request by fetching PR comments, running a comprehensive code review, evaluating findings, and dispatching to implementation. Use when the user asks to \"review PR\", \"review pull request\", \"review this PR\", \"check PR before merging\", or \"full PR review\".
install
source · Clone the upstream repo
git clone https://github.com/tobihagemann/turbo
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/tobihagemann/turbo "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/review-pr" ~/.claude/skills/tobihagemann-turbo-review-pr && rm -rf "$T"
manifest:
skills/review-pr/SKILL.mdsource content
Review PR
Fetch PR context, run a comprehensive code review, evaluate findings, and dispatch accepted findings to implementation.
Task Tracking
At the start, use
TaskCreate to create a task for each step:
- Run
skill/fetch-pr-comments - Detect base branch
- Run
skill/review-code - Run
skill/evaluate-findings - Run
skill/resolve-findings
Step 1: Run /fetch-pr-comments
Skill
/fetch-pr-commentsRun the
/fetch-pr-comments skill to get unresolved review comments.
Step 2: Detect Base Branch
Detect the PR's base branch via
gh pr view --json baseRefName --jq '.baseRefName'.
Step 3: Run /review-code
Skill
/review-codeRun the
/review-code skill. The diff command is git diff <base-branch>...HEAD.
Step 4: Run /evaluate-findings
Skill
/evaluate-findingsRun the
/evaluate-findings skill on the combined results from Step 3. Include any unresolved PR comments from Step 1 as additional findings for evaluation.
Step 5: Run /resolve-findings
Skill
/resolve-findingsIf zero actionable findings survive evaluation, report that the code looks clean and stop.
Otherwise, run the
/resolve-findings skill on the accepted findings from Step 4.
Rules
- If fetching PR comments fails, proceed with code review only.