Command Palette

Search for a command to run...

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

rereview

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

Re-review with fresh eyes. Zero regressions. Go slow and analyze everything. Use for a paranoid final review before merging.

drnот drn★ 23 звезды на GitHub

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

Fresh-Eyes Re-Review

Re-review all branch changes from scratch with independent competing reviewers. Designed for when you need absolute confidence before merging -- no regressions, no blind spots.

Arguments

  • $ARGUMENTS - Optional: branch or commit range to review (defaults to current branch vs main/master)

Context

  • Current branch: !git branch --show-current
  • Base ref: !git branch -r 2>/dev/null | grep -oE 'origin/(main|master)' | head -1
  • Git status: !git status --short
  • Project type: !command ls go.mod Gemfile package.json Cargo.toml pyproject.toml 2>/dev/null | head -5
  • Test framework: !git ls-files 2>/dev/null | grep -E '_test\.|\.test\.|_spec\.' | head -10
  • Changes vs main: !git diff --stat origin/main...HEAD 2>/dev/null | head -50
  • Changes vs master: !git diff --stat origin/master...HEAD 2>/dev/null | head -50

Overview

You are the lead coordinator for a fresh-eyes re-review. Your job:

  1. Gather every change on the branch
  2. Run the full test suite to establish a regression baseline
  3. Launch 3 independent reviewer sub-agents in parallel -- they do NOT see each other's findings
  4. Synthesize their reports, surface disagreements, and produce a final verdict

Core principle: This is a slow, paranoid review. Speed does not matter. Thoroughness does. Every changed line must be analyzed. Every behavior change must be justified. If there is any doubt about a regression, it is flagged as BLOCKING.

You do NOT review code yourself. You coordinate and synthesize.


Phase 0: Gather Everything

  1. Determine review scope:
IF $ARGUMENTS contains a branch name or commit range:
  Use that as the review scope
ELSE:
  Review current branch changes vs the default branch (main/master)
  1. Collect the full diff and all changed files:
git diff {base}...HEAD                    # full diff
git diff {base}...HEAD --name-only        # changed file list
git log --oneline {base}...HEAD           # all commits on this branch
  1. Read every changed file in its entirety. Not just the diff -- the full file. Reviewers need surrounding context to catch regressions.

  2. For each changed file, also identify and read its callers/dependents. Use Grep to find other files that import, require, or reference the changed files. Read those too. The reviewers need to understand what might break.

If there are no changes to review, tell the user and stop.


Phase 1: Regression Baseline

Before launching reviewers, establish the current test state:

  1. Detect the test framework from project type:

    • go.mod → go test ./...
    • package.json → npm test or npx jest
    • Gemfile → bundle exec rspec or bundle exec rake test
    • Cargo.toml → cargo test
    • pyproject.toml → pytest
  2. Run the full test suite. Record the result: PASS, FAIL, or N/A (no tests).

  3. If tests fail: Note which tests fail. These are pre-existing failures, not regressions. Reviewers need this context.

  4. Run the linter if available:

    • go.mod → revive -set_exit_status ./... or go vet ./...
    • package.json → npx eslint . if configured
    • Gemfile → bundle exec rubocop --force-exclusion if configured
    • Cargo.toml → cargo clippy -- -D warnings
    • pyproject.toml → ruff check . if configured

Record lint result: CLEAN, WARNINGS, or ERRORS.


Phase 2: Launch Independent Reviewers

Launch all 3 reviewers in a single message with 3 parallel Task tool calls. Each reviewer gets the SAME data but works independently. They MUST NOT see each other's findings.

Use subagent_type="general-purpose" and model: "sonnet" for all reviewers.

Write the shared briefing to one file; do not inline it three times. Fill in the reviewer briefing template below once (branch, commits, changed files list, test baseline, safe commands, skim paths, accepted limits) and save it to a scratch file outside the worktree, for example $TMPDIR/rereview-brief-{safe-branch}.md (where {safe-branch} is the branch name with every / replaced by -). Each Task prompt is then a short stub: "You are REVIEWER {ALPHA / BRAVO / CHARLIE}. Read your full briefing from {path} and follow it exactly." This cuts prompt size roughly 3x with no loss of quality, and guarantees all three reviewers see identical data. The reviewers read changed and dependent files themselves from the worktree, so the brief lists their paths instead of embedding full contents.

If the caller (for example /rereview-loop) supplied a list of accepted limits and pushed-back findings, include it in the briefing under ACCEPTED LIMITS.

Safe Commands

Detect which commands are safe to run in parallel from the repo's AGENTS.md or CLAUDE.md (look for notes on shared test databases, ports, lockfiles, or required test ordering). Put the result in the briefing's SAFE COMMANDS slot. Example: when several suites share one test database, parallel reviewers may run

Полный SKILL.md на GitHub

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

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

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

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

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

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

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

FAQ

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

Re-review with fresh eyes. Zero regressions. Go slow and analyze everything. Use for a paranoid final review before merging.

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

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

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

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

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

Сравнить rereview с