Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

roborev-refine

БесплатноБез исполняемых скриптовНе проверен

Use only when the user explicitly invokes /roborev-refine

kenn-ioот kenn-io★ 1 833 звезды на GitHub

Об этом скилле

roborev-refine

Iterative review-fix loop: review the current branch or commit range, fix findings, commit, re-review, and repeat until all reviews pass or the iteration limit is reached.

Unlike /roborev-fix (single-pass fix without re-review), refine closes the loop by re-reviewing after each fix to verify the findings are resolved.

This skill should perform the refine workflow inside the current coding agent CLI. Do not simply shell out to roborev refine.

Usage

/roborev-refine [--since <commit>] [--branch <name>] [--max-iterations <n>] [--stop-on-stall]

Explicit invocation only

Invocation must be explicit: literal personal /roborev-refine, or structured Claude Code skill selection. Requests such as “refine this change” without one of these explicit mechanisms must use native behavior and must not run roborev.

  • --since <commit>: refine commits after this commit (exclusive); required on the default branch
  • --branch <name>: validate that the current branch matches before refining
  • --max-iterations <n>: maximum fix-review cycles (default: 10)
  • --stop-on-stall: stop at either stall advisory, leaving the new review open

This skill intentionally focuses on the current branch flow. It does not expose roborev refine --all-branches or roborev refine --list.

Sandbox access

roborev uses a local daemon. If a command fails with permission denied, the sandbox may be blocking access to its loopback port or Unix socket. Retry the same Bash command with dangerouslyDisableSandbox: true. Do not start or restart the daemon because a sandboxed status probe cannot reach it.

When NOT to invoke this skill

Do NOT invoke this skill when the user is presenting or pasting existing review results, or when they only want a single review without fixing. Use /roborev-review-branch for review-only and /roborev-fix for fix-only.

IMPORTANT

This skill requires you to execute bash commands to validate inputs, launch reviews, and wait for re-review. The task is not complete until the refine loop finishes and you present the result 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-refine [--since <commit>] [--branch <name>] [--max-iterations <n>] [--stop-on-stall]:

1. Validate inputs and refine context

If --branch is provided, verify the current branch matches before doing any work. If it does not, stop and tell the user.

If --since is provided, use the since-scoped review snippets below; they store the raw value safely, verify it resolves to a valid commit and is an ancestor of HEAD, then run the review in the same shell invocation.

If --since is not provided, ensure you are not refining the default branch. This matches roborev refine, which refuses to run on the default branch without --since.

Parse --max-iterations if provided (default: 10). This is the maximum number of fix-review cycles, not the total number of reviews.

2. Run the initial review

Choose the review command that matches the requested scope:

read -r since <<'ROBOREV_REF'
<commit>
ROBOREV_REF
resolved_since=$(git rev-parse --verify --end-of-options "$since^{commit}") || exit 1
git merge-base --is-ancestor "$resolved_since" HEAD || exit 1
roborev review --from-skill --since "$since" --wait

or, if --since was not provided:

roborev review --from-skill --branch --wait

--since is the closest manual equivalent to roborev refine --since. --branch reviews the current branch relative to its merge-base.

Note: --wait exits with code 1 when the verdict is Fail. This is expected. Always capture the command output regardless of exit code and inspect it to determine pass vs fail.

When the review completes, read and parse the output. Extract the job ID from the Enqueued job <id> for ... line or the review header — you will need it for commenting and closing later.

Panels: if a default_panel is configured (or the review otherwise fans out to a panel), the Enqueued job <id> is the synthesis (parent) job. Gate every pass/fail decision on the parent's verdict, and comment on and close that parent — never an individual member job. A re-review re-runs the same panel.

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

If the review passed, inform the user and stop. No fixes needed.

3. Fix-review loop

If the review failed, begin the iterative loop. For each iteration (up to --max-iterations):

3a. Fix the findings

Parse findings from the review output. Collect every finding with its severity, file path, and line number. Then:

  1. **Sort by severit
Полный SKILL.md на GitHub

Установить roborev-refine в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл roborev-refine?

Use only when the user explicitly invokes /roborev-refine

Как установить скилл roborev-refine?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл roborev-refine запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить roborev-refine с