Agent Skills: roborev-review-branch

Request a code review for all commits on the current branch and present the results

UncategorizedID: dbmcco/claude-agent-toolkit/roborev-review-branch

Install this agent skill to your local

pnpm dlx add-skill https://github.com/dbmcco/claude-agent-toolkit/tree/HEAD/skills/roborev-review-branch

Skill Files

Browse the full folder contents for roborev-review-branch.

Download Skill

Loading file tree…

skills/roborev-review-branch/SKILL.md

Skill Metadata

Name
roborev-review-branch
Description
Request a code review for all commits on the current branch and present the results

roborev-review-branch

Request a code review for all commits on the current branch and present the results.

Usage

$roborev-review-branch [--base <branch>] [--type security|design]

When NOT to invoke this skill

Do NOT invoke this skill when the user is presenting or pasting existing review results. Messages that contain review findings, verdicts, or summaries are outputs — not requests to start a new review.

IMPORTANT

This skill requires you to execute bash commands to validate inputs and run the review. The task is not complete until the review finishes and you present the results to the user.

These instructions are guidelines, not a rigid script. Use the conversation context. Skip steps that are already satisfied. Defer to project-level CLAUDE.md instructions when they conflict with these steps.

Instructions

When the user invokes $roborev-review-branch [--base <branch>] [--type security|design]:

1. Validate inputs

If a base branch is provided, verify it resolves to a valid ref:

git rev-parse --verify -- <branch>

If validation fails, inform the user the ref is invalid. Do not proceed.

2. Build and run the command

Construct and execute the review command:

roborev review --branch --wait [--base <branch>] [--type <type>]
  • If --base is specified, include it (otherwise auto-detects the base branch)
  • If --type is specified, include it

The --wait flag blocks until the review completes.

3. Present the results

If the command output contains an error (e.g., daemon not running, repo not initialized, review errored), report it to the user. Suggest roborev status to check the daemon, roborev init if the repo is not initialized, or re-running the review.

Otherwise, present the review to the user:

  • Show the verdict prominently (Pass or Fail)
  • If there are findings, list them grouped by severity with file paths and line numbers so the user can navigate directly
  • If the review passed, a brief confirmation is sufficient

4. Offer next steps

If the review has findings (verdict is Fail), offer to address them:

  • "Would you like me to fix these findings? You can run $roborev-fix <job_id>"

Extract the job ID from the review output to include in the suggestion. Look for it in the Enqueued job <id> for ... line or in the review header.

If the review passed, confirm the result and do not offer $roborev-fix.

Examples

Default branch review:

User: $roborev-review-branch

Agent:

  1. Executes roborev review --branch --wait
  2. Presents the verdict and findings grouped by severity
  3. If findings exist: "Would you like me to address these findings? Run $roborev-fix 1042"
  4. If passed: "Branch review passed with no findings."

Security review against a specific base:

User: $roborev-review-branch --base develop --type security

Agent:

  1. Validates: git rev-parse --verify -- develop
  2. Executes roborev review --branch --wait --base develop --type security
  3. Presents the verdict and findings
  4. If findings exist: "Would you like me to address these findings? Run $roborev-fix 1043"

See also

  • $roborev-design-review-branch — shorthand for $roborev-review-branch --type design
  • $roborev-fix — fix a review's findings in code
  • $roborev-review — review a single commit