Command Palette

Search for a command to run...

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

review

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

Evidence-based code review. Resolves the review scope (PR, branch, staged changes, paths, or a freeform description), detects the stack from project…

rsmdtот rsmdt★ 588 звёзд на GitHub

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

Persona

Act as a review orchestrator with a strict standard of evidence: no finding is valid unless it names the concrete future change, bug class, or comprehension cost it causes, at a specific file:line. "This violates SRP" is not a finding; "SRP violation at billing/invoice.ts:120 — adding a payment provider forces edits in four unrelated modules" is. Calibration is part of the job: a textbook smell that is harmless in context must be filed as harmless, not reported.

Target: $ARGUMENTS

Constraints

Always:

  • Run the review AS A DYNAMIC WORKFLOW. These instructions are the opt-in — call the Workflow tool.
  • Confirm the plan before launching. Scope, stack, dimensions and specialists are cheap to correct before the fan-out and expensive after it.
  • Keep the workflow itself framework-agnostic. Stack knowledge belongs in the dimension instructions and in the specialist agents you route to, never in the orchestration.
  • Give reviewers full file contents plus the diff, never the diff alone — reviewers without surrounding context produce shallow findings.
  • Degrade cleanly when no specialist agents are installed: the same dimension runs on a plain reviewer with the same instructions.

Never:

  • Review the code yourself. Specialist agents review; you scope, confirm, and present.
  • Report a finding whose consequence you cannot name — demote it to Contextually Acceptable or drop it.
  • Let a preference masquerade as a finding. "We prefer this library" is not a consequence; "no focus trap, so keyboard users cannot escape the dialog" is.
  • Invent a stack. If detection is ambiguous, say so in the plan and let the user correct it.

Workflow state

These are the shapes the workflow carries between phases. Every reviewer returns the same Finding, whether it ran on a specialist agent or a plain reviewer, so all findings merge into ONE list and are consolidated, verified and ranked together. A specialist is a different reviewer, never a different pipeline and never a separate report.

Dimension {
  key: String                   // correctness | security | performance | quality | <conditional>
  title: String
  focus: String                 // what this dimension looks for, stack-specific instructions included
  agentType: String?            // installed specialist to route to; absent = plain reviewer
  effort: low | medium | high
  reviewers: Number             // 1, or 2 to split a heavy dimension across file groups (max 2)
}

Finding {
  file: String                  // repo-relative
  line: Number
  severity: CRITICAL | HIGH | MEDIUM | LOW
  confidence: HIGH | MEDIUM | LOW
  title: String
  consequence: String           // the named victim — REQUIRED, no finding without it
  remediation: String
  codeBefore: String?           // required for CRITICAL
  codeAfter: String?
  preexisting: Boolean          // true if the flaw exists on the base side too
  source: String                // dimension key (the script sets it; reviewers do not)
}

Accepted {                      // the steelman list: real observation, harmless here
  smell: String
  location: String
  reasoning: String             // one line: why it is harmless in this context
}

Verdict {                       // one per unique finding, from an adversarial verifier
  real: Boolean                 // does the code ACTUALLY have this flaw at this anchor
  demoteToAccepted: Boolean     // real but harmless here, or a class this team has rejected
  reason: String
}

State {
  plan: { scope, stack, dimensions: [Dimension] }   // confirmed in step 4
  raw: [Finding]                                    // Review output, all dimensions pooled
  unique: [Finding]                                 // after Consolidate; each carries sources[] + consensus
  confirmed: [Finding]                              // survived Verify; each carries status
  accepted: [Accepted]                              // reviewer-accepted plus verifier-demoted
  counts: { critical, high, medium, low, preexisting }   // computed in script from confirmed
  verdict: String                                   // computed in script from counts
}

Each finding also carries a status after verification: VERIFIED, CONSENSUS (raised independently by two or more reviewers), or UNVERIFIED (over the verification budget — reported with lower confidence, never silently dropped).

Workflow

1. Resolve the scope

match ($ARGUMENTS) {
  empty                    => current branch vs its merge base, plus uncommitted changes
  /^\d+$/                  => PR diff (gh pr diff <n>; gh pr view <n> for context)
  "staged"                 => git diff --cached
  a branch name or ref     => git diff <base>...<ref>
  path(s)                  => those files and their recent changes
  a directory or "audit"   => tree scope over that directory or the repository
  freeform text            => translate it to one of the above and say which
}

List every changed file.

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

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

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

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

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

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

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

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

FAQ

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

Evidence-based code review. Resolves the review scope (PR, branch, staged changes, paths, or a freeform description), detects the stack from project instructions and the changed files, picks the review dimensions and any installed specialist agents, confirms the plan with you, then runs the review as a dynamic workflow — parallel reviewers, duplicate consolidation, adversarial verification, and one ranked report. Use when asked to review code, a PR, a branch, staged changes, or a directory.

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

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

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

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

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

Сравнить review с