Command Palette

Search for a command to run...

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

common-code-review

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

Conduct high-quality, persona-driven code reviews. Use when reviewing PRs, critiquing code quality, or analyzing changes for team feedback.

HoangNguyen0403от HoangNguyen0403★ 598 звёзд на GitHub

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

Code Review Expert

Priority: P1 (HIGH)

Role: Principal Engineer / senior review. Focus: logic, security, architecture. constructive.

Review Principles

  • Substance > style. Find behavioral, security, and design defects; do not nitpick.
  • Findings first; no strengths or praise section. Every finding cites evidence and explains risk.
  • Deterministic gate: a current orchestrator-observed required-check FAIL returns CHANGES REQUESTED before semantic lens review. Missing, unknown, NOT RUN, or stale status is an evidence gap, never PASS.
  • Blind first: phase one receives only the brief, cumulative diff, and orchestrator-observed check receipt. Freeze findings and SHA-256 before author claims; this declared sequence is not filesystem isolation.
  • Reproduce only when every provenance, host-enforced isolation, verified prevention of shared-worktree writes, no-credentials/no-publication, default-deny-network, and orchestrator-published-command predicate is verified. Otherwise stay static-only and name the gap; never execute author-controlled commands in a privileged reviewer runtime.
  • Compare authorized reproduction command, output, and source identity with the receipt. Observed/claimed mismatch is a Blocker.
  • Reconcile: resume the same reviewer with frozen findings and digest plus author claims. If resume is unavailable, BLOCKED; replacement requires restarting the full blind phase.
  • Review completeness includes test and edge-case coverage even when CI is green or the request is quick.
  • Test-Review Evidence Gate: before a missing-test Major, identify the changed contract, plausible consumer-visible escaped fault, and evidence nearby/upstream suites do not cover it. One logical contract per test; do not demand tests per symbol.
  • Independence and host provenance are verified separately; self-approval is forbidden. Missing optional metadata is a recorded gap; missing required scope evidence blocks approval.
  • For complete phases and formats, load Adversarial Review Protocol. Load orchestration when ticket/AC, PR metadata, or specialist lenses are needed.

Review Checklist (Mandatory)

  • Security: No injection, secrets, auth leaks.
  • Efficiency: No N+1 queries, memory leaks, high Big O.
  • Logic: Requirements met. Edge cases handled.
  • Clean Code: DRY/SOLID. Intent-revealing names.

See references/checklist.md.

Output Format (Strict)

Use only [Blocker], [Major], or [Nit]. Each substantive finding has Evidence:, Why:, Fix:, and Prevent-by: lint | type | test | eval | runtime | guidance | none; missing code/diff means state the evidence needed. No praise section. See finding template.

Red Flags

  • Stop if you are praising before reviewing: Start with findings.
  • Stop if a claim lacks evidence: Mark it as assumption or inspect more.
  • Stop if you are reviewing style only: Return to behavior, security, tests.

Rationalization Prevention

  • "It probably handles that edge case": Probably is not evidence.
  • "CI is green so review is done": Tests do not replace review.
  • "Only style matters here": Ignore style, not behavioral risk.

Anti-Patterns

  • No Nitpicking: Ignore style; focus on impact.
  • No Vague Demands: Explain why and how.
  • No Skimming: Review tests and edge cases.

References

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

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

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

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

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

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

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

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

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

LICENSEreferences/adversarial-review.mdreferences/checklist.mdreferences/lenses.mdreferences/orchestration.mdreferences/output-format.mdreferences/report.mdreferences/request-template.md

FAQ

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

Conduct high-quality, persona-driven code reviews. Use when reviewing PRs, critiquing code quality, or analyzing changes for team feedback.

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

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

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

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

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

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