Agent Skillskenn-io/roborev › roborev-design-review

roborev-design-review

GitHub

用于显式触发代码设计审查。支持指定提交哈希或默认分支,执行roborev命令并等待完成。结果包含通过/失败判定及按严重性分组的详细发现,支持多评审员面板聚合结果展示。

internal/skills/droid/roborev-design-review/SKILL.md kenn-io/roborev

触发场景

用户明确输入 /roborev-design-review 命令 用户通过结构化工厂技能选择调用

安装

npx skills add kenn-io/roborev --skill roborev-design-review -g -y
更多选项

非标准路径

npx skills add https://github.com/kenn-io/roborev/tree/main/internal/skills/droid/roborev-design-review -g -y

不安装直接使用

npx skills use kenn-io/roborev@roborev-design-review

指定 Agent (Claude Code)

npx skills add kenn-io/roborev --skill roborev-design-review -a claude-code -g -y

安装 repo 全部 skill

npx skills add kenn-io/roborev --all -g -y

预览 repo 内 skill

npx skills add kenn-io/roborev --list

SKILL.md

Frontmatter
{
    "name": "roborev-design-review",
    "description": "Use only when the user explicitly invokes \/roborev-design-review"
}

roborev-design-review

Request a design review for a commit and present the results.

Usage

/roborev-design-review [commit] [--panel <name>|none]

Explicit invocation only

Invocation must be explicit: literal personal /roborev-design-review, or structured Factory skill selection. Requests such as “review this commit's design” without one of these explicit mechanisms must use native behavior and must not run roborev.

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 the commit 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 AGENTS.md instructions when they conflict with these steps.

Instructions

When the user invokes /roborev-design-review [commit] [--panel <name>|none]:

1. Validate inputs

If a commit ref is provided, use the commit-provided command snippet below; it stores and validates the ref before invoking roborev review.

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:

If no commit is specified, run:

roborev review --wait --type design [--panel <name>|none]

If a commit is specified, run:

read -r commit <<'ROBOREV_REF'
<commit>
ROBOREV_REF
git rev-parse --verify -- "$commit^{commit}" || exit 1
roborev review "$commit" --wait --type design [--panel <name>|none]
  • If --panel <name> is specified, include it (fans out to the named config panel); --panel none forces a single-agent review

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

Panels (multi-reviewer reviews)

If you pass --panel <name>, or a default_panel is configured for explicit reviews, the review fans out to a panel of reviewers. In that case the Enqueued job <id> is the synthesis (parent) job that aggregates them, and its verdict and findings are the synthesized result across the whole panel. Present that synthesized verdict/findings, and offer fix on that parent id — never an individual reviewer. roborev show prints a one-line reviewers summary (e.g. 3 reviewers: bug P, security F) for a synthesis job. --panel none forces a single-agent review, and automatic post-commit hook reviews stay single-agent regardless of default_panel.

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. For a panel review this id is the synthesis parent.

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

Examples

Default design review of HEAD:

User: /roborev-design-review

Agent:

  1. Executes roborev review --wait --type design
  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: "Design review passed with no findings."

Design review of a specific commit:

User: /roborev-design-review abc123

Agent:

  1. Validates: git rev-parse --verify -- "abc123^{commit}"
  2. Executes roborev review abc123 --wait --type design
  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-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 code

版本历史

  • dec53d0 当前 2026-07-24 12:15

同 Skill 集合

internal/skills/claude/roborev-design-review-branch/SKILL.md
internal/skills/claude/roborev-design-review/SKILL.md
internal/skills/claude/roborev-fix/SKILL.md
internal/skills/claude/roborev-lookahead-review-branch/SKILL.md
internal/skills/claude/roborev-lookahead-review/SKILL.md
internal/skills/claude/roborev-refine/SKILL.md
internal/skills/claude/roborev-respond/SKILL.md
internal/skills/claude/roborev-review-branch/SKILL.md
internal/skills/claude/roborev-review/SKILL.md
internal/skills/codex/roborev-design-review-branch/SKILL.md
internal/skills/codex/roborev-design-review/SKILL.md
internal/skills/codex/roborev-fix/SKILL.md
internal/skills/codex/roborev-lookahead-review-branch/SKILL.md
internal/skills/codex/roborev-lookahead-review/SKILL.md
internal/skills/codex/roborev-refine/SKILL.md
internal/skills/codex/roborev-respond/SKILL.md
internal/skills/codex/roborev-review-branch/SKILL.md
internal/skills/codex/roborev-review/SKILL.md
internal/skills/droid/roborev-design-review-branch/SKILL.md
internal/skills/droid/roborev-fix/SKILL.md
internal/skills/droid/roborev-lookahead-review-branch/SKILL.md
internal/skills/droid/roborev-lookahead-review/SKILL.md
internal/skills/droid/roborev-refine/SKILL.md
internal/skills/droid/roborev-respond/SKILL.md
internal/skills/droid/roborev-review-branch/SKILL.md
internal/skills/droid/roborev-review/SKILL.md

元信息

文件数
0
版本
dec53d0
Hash
84e90482
收录时间
2026-07-24 12:15

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-08 23:59
浙ICP备14020137号-1 $访客地图$