Command Palette

Search for a command to run...

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

review-code

БесплатноЗапускает вложенные скриптыНе проверен

Code review of current git changes with an expert senior-engineer lens. Detects SOLID violations, security risks, and proposes actionable improvements. Use…

serpro69от serpro69★ 156 звёзд на GitHub

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

Code Review

Overview

Review whether the current changes achieve their intended behavior, preserve affected contracts and meet applicable delivery constraints. Apply SOLID, architecture, security, quality and removal guidance alongside that reasoning. Default to review-only output unless the user asks to implement changes.

Conventions

Load these through packet-preparation.md's preparation sequence. It supplies complete original instruction text in fewer Read calls; the direct-read fallback uses the same sources.

Required Outputs

Before declaring the review complete, verify all outputs are delivered:

  • Review report presented to user
  • Intent, scope/baselines, inspected behavior, applicable compatibility conclusions and evidence limits reported
  • P0/P1 systemic findings indexed as kk:review-findings (skip if no qualifying findings)
  • Required next steps handled, or clean review closed without proposing new work

Indexing is owned by this skill — callers (e.g., $kk:implement) do NOT duplicate it.

Review Modes

Standard Mode ($kk:review-code)

Reviews code in the main conversation context. Fast, single-pass review using the workflow below.

Isolated Mode ($kk:review-code:isolated)

Delegates detection to independent reviewers that did not write the code, then annotates their findings with author context. One internal code-reviewer sub-agent plus external review chosen once at discovery: pal codereview when an API model is available, otherwise one pal clink CLI review per eligible non-authoring provider using its configured model (variable count; on the clink roster the authoring provider is excluded; PAL's shipped clients get default provider mappings that the report labels as assumed, and an operator declaration, for example in the project's CLAUDE.md or AGENTS.md, overrides them and is required for any other client name). Produces a report organized by agreement level with corroborated findings highlighted.

  • Cost: Higher (sub-agent + one or more external reviews + annotation); clink cost scales with the roster size
  • Isolation: True — reviewers have zero authorship bias or session context; each external reviewer gets a fresh conversation
  • Degradation: Graceful — a failed reviewer is disclosed and the others proceed; an API runtime failure never switches to clink; if every reviewer fails, suggests standard mode fallback
  • Requires: a PAL build whose listmodels exposes CLI client observations in every mode for the clink path; unresolved discovery keeps the internal review with an explicit external coverage limit. Operator setup (the minimum PAL build, CLI read access outside the project, provider declarations) is described in the plugin README under "Isolated reviews with external models"
  • Best for: When extra rigor is worth the cost (pre-merge, high-stakes changes)

See review-isolated.md for the isolated workflow.

Severity Levels

Level Name Description Action
P0 Critical Demonstrated critical security, integrity or availability impact needing immediate mitigation Must block merge
P1 High Logic error, significant SOLID violation, performance regression Should fix before merge
P2 Medium Code smell, maintainability concern, minor SOLID violation Fix in this PR or create follow-up
P3 Low Style, naming, minor suggestion Optional improvement

Workflow

Mandatory ordering — methodology before evidence

The standard workflow below is strictly sequential. Load the process, shared protocols, common functional method and every resolved profile checklist before source investigation, capy_search, findings, edits or tests. After basic process instructions load, the sole early-content exception is bounded inspection to resolve declared detection/conditional-load predicates: at most approximately 16 KiB per

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

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

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

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

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

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

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

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

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

evals/_harness/HARNESS.mdevals/_harness/grading-fixtures/README.mdevals/_harness/grading-fixtures/complete-omission/assertions.jsonevals/_harness/grading-fixtures/complete-omission/events.jsonlevals/_harness/grading-fixtures/complete-omission/final.txtevals/_harness/grading-fixtures/complete-omission/initial.txtevals/_harness/grading-fixtures/complete-omission/manifest.jsonevals/_harness/grading-fixtures/complete-omission/report.mdevals/_harness/grading-fixtures/complete-omission/rubric.mdevals/_harness/grading-fixtures/component/assertions.jsonevals/_harness/grading-fixtures/component/reviewer-output.mdevals/_harness/grading-fixtures/early-edit/assertions.jsonevals/_harness/grading-fixtures/early-edit/events.jsonlevals/_harness/grading-fixtures/early-edit/final.txtevals/_harness/grading-fixtures/early-edit/initial.txtevals/_harness/grading-fixtures/early-edit/manifest.jsonevals/_harness/grading-fixtures/early-edit/report.mdevals/_harness/grading-fixtures/early-edit/rubric.mdevals/_harness/grading-fixtures/expected-verdicts.jsonevals/_harness/grading-fixtures/missing-events/assertions.jsonevals/_harness/grading-fixtures/missing-events/events.jsonlevals/_harness/grading-fixtures/missing-events/final.txtevals/_harness/grading-fixtures/missing-events/initial.txtevals/_harness/grading-fixtures/missing-events/manifest.jsonevals/_harness/grading-fixtures/missing-events/report.mdevals/_harness/grading-fixtures/missing-events/rubric.mdevals/_harness/grading-fixtures/ordered/assertions.jsonevals/_harness/grading-fixtures/ordered/events.jsonlevals/_harness/grading-fixtures/ordered/final.txtevals/_harness/grading-fixtures/ordered/initial.txtevals/_harness/grading-fixtures/ordered/manifest.jsonevals/_harness/grading-fixtures/ordered/report.mdevals/_harness/grading-fixtures/ordered/rubric.mdevals/_harness/grading-fixtures/receipt-missing/assertions.jsonevals/_harness/grading-fixtures/receipt-missing/events.jsonlevals/_harness/grading-fixtures/receipt-missing/manifest.jsonevals/_harness/grading-fixtures/receipt-missing/provenance.jsonevals/_harness/grading-fixtures/receipt-missing/report.mdevals/_harness/grading-fixtures/receipt-missing/rubric.mdevals/_harness/grading-fixtures/receipt-missing/source.py

FAQ

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

Code review of current git changes with an expert senior-engineer lens. Detects SOLID violations, security risks, and proposes actionable improvements. Use when performing code reviews.

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

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

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

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить review-code с