Command Palette

Search for a command to run...

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

revise

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

Run the full multi-stage review pipeline on the current branch — /review (multi-perspective subagents) → codex exec review → PR — fixing findings at each…

atusyот atusy★ 26 звёзд на GitHub

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

Revise: staged review pipeline until convergence

Goal: converge each review stage BEFORE advancing. The local stages are where problems must die — the PR-bot stage should find nothing new. references/pr-blind-spots.md catalogs, from ~1,650 fixed PR-stage findings, exactly what local review historically missed; stage 1 must cover its passes so convergence happens locally.

Pipeline

  1. Record the start ref (git rev-parse HEAD) and open a ledger file in the session scratchpad. Do not rewrite history afterwards — thread replies cite commit hashes, and the final summary reads <start-ref>..HEAD.
  2. /review (subagent-orchestrated multi-perspective review + fact-check). Repeat until no actionable findings.
  3. codex exec review. Repeat (codex exec resume on the SAME session) until it answers "no comments to provide" — then request one FRESH review in a NEW session (no thread carryover) and converge that too.
  4. Create the PR (or push to the existing one).
  5. Bot PR review. Fix/refute, re-request until a round produces zero new actionable comments. Triage bot comments against the false-positive catalog in references/pr-blind-spots.md — ~16% of bot findings are recurring noise classes with known evidence-based rebuttals.
    • do iff the repository is public under https://github.com/atusy
    • Candidates
      • GitHub Copilot by running gh pr edit --add-reviewer @copilot
      • CodeRabbit by mentioning @coderabbitai review
      • Greptile by mentioning @greptileai
      • Qodo by commenting /agentic_review
      • Codex by mentioning @codex review (do this regardless of codex exec review stage)

Universal rules (every stage)

  • One commit per finding, each passing the project's quality gate; use the git-commit skill for the mechanics. A review round is NOT a commit unit: nine findings answered in one round are nine commits, even when they all touch the same file — stage by hunk. Only genuinely overlapping fixes (two findings on the same sentence or expression) collapse into one commit, whose body then explains both.
  • Keep the review process out of the history. The subject describes the change; the reviewer that found it is not part of the change. Banned in subject and body: reviewer names, round numbers, finding IDs, finding counts, "address", "review feedback". The body explains what was wrong and why the new state is right — that is the durable WHY; a finding ID has no referent six months later. Traceability runs finding → commit hash and lives in the thread reply and the ledger, never the reverse.
    • Bad: docs(adr): address codex fresh round 2 (9 findings)
    • Good: nine commits, e.g. docs(adr): correct retry-budget claim in ADR-0007, body: the ADR promised a bounded retry budget the implementation never enforced.
  • Append to the ledger as each item closes, not at the end: findings refuted (with the evidence used), anything kept over a reviewer's objection, and rounds per stage. Git already records what was fixed (git log <start-ref>..HEAD); the ledger holds only what git cannot recover.
  • When a finding is fixed, sweep for siblings: the same bug class usually exists at the other call sites / the twin handler / the delta path when the full path was flagged.
  • Prefer the perf-optimal fix over the correctness-minimal one when the finding touches performance.
  • Refute false positives with evidence, once — "this compiles: CI green + clippy -D warnings + test X exercises this exact line" beats arguing theory. Then resolve/minimize the thread; do not rework correct code to appease a bot. If you keep something a reviewer wants removed (a backstop, a guard), say why in a code comment so the next round doesn't re-flag it.
  • Report outcomes faithfully in thread replies: name the commit hash.

Stage 1 — /review (kill everything here)

Invoke the review skill (orchestrator subagent + ~10 parallel single-perspective reviewers + a fact-check pass that reads the actual code before reporting). Give the orchestrator the branch, base, changed files, and per-file perspective assignments.

Read references/pr-blind-spots.md first and assign its high-yield passes as DEDICATED single-perspective reviewers, each sweeping the ENTIRE diff for one class (doc/comment truth, hot-path perf, concurrency interleavings, error-path audit, test quality, untrusted input — plus whichever remaining passes the diff touches). Historically these classes account for ~75% of what escaped to the PR stage; holistic reviewers sample, dedicated sweeps don't.

Beyond those and the change-specific perspectives (concurrency, cancellation, caching, protocol conformance…), ALWAYS include one reviewer running the review checklist below:

Review checklist

  • Doc/comment drift: a
Полный SKILL.md на GitHub

Установить revise в Claude Code и Claude Desktop

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

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

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

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

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

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

Вложенные файлы

references/pr-blind-spots.md

FAQ

Что делает скилл revise?

Run the full multi-stage review pipeline on the current branch — /review (multi-perspective subagents) → codex exec review → PR — fixing findings at each stage until convergence. Use when the user asks to "revise", run the review pipeline, or prepare a branch/PR for merge review.

Как установить скилл revise?

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

Скилл revise запускает скрипты?

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

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

Сравнить revise с