mit einem Klick
roborev-design-review
// Request a design review for a commit and present the results
// Request a design review for a commit and present the results
| name | roborev-design-review |
| description | Request a design review for a commit and present the results |
Request a design review for a commit and present the results.
/roborev-design-review [commit]
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.
This skill requires you to execute bash commands to validate the commit and launch the review. The task is not complete until the background 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.
When the user invokes /roborev-design-review [commit]:
If a commit ref is provided, verify it resolves to a valid commit:
git rev-parse --verify -- <commit>^{commit}
If validation fails, inform the user the ref is invalid. Do not proceed.
Construct the review command:
roborev review [commit] --wait --type design
Launch a background task that runs the command. This lets the user continue working while the review runs.
Use the Task tool with run_in_background: true and subagent_type: "Bash":
roborev review [commit] --wait --type design
Tell the user that the design review has been submitted and they can continue working. You will present the results when the review completes.
When the background task completes, read the output.
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:
If the review has findings (verdict is Fail), offer to address them:
/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.
Default design review of HEAD:
User: /roborev-design-review
Agent:
roborev review --wait --type design/roborev-fix 1042"Design review of a specific commit:
User: /roborev-design-review abc123
Agent:
abc123 resolves to a valid commitroborev review abc123 --wait --type design/roborev-fix 1043"/roborev-review --type design — equivalent, with additional --type flexibility/roborev-design-review-branch — design review all commits on the current branch/roborev-fix — fix a review's findings in codeUse when the user asks to fix open reviews, invokes /roborev-fix, or provides job IDs; do not use when the user only pastes review findings with no request to discover or close reviews
Use when the user asks to fix open reviews, invokes $roborev-fix, or provides job IDs; do not use when the user only pastes review findings with no request to discover or close reviews
Iterative review-fix loop for the current branch — reviews via daemon, fixes inline, re-reviews until passing or max iterations reached
Iterative review-fix loop for the current branch — reviews via daemon, fixes inline, re-reviews until passing or max iterations reached
Request a design review for all commits on the current branch and present the results
Add a comment to a roborev code review and close it