common-code-review
БесплатноБез исполняемых скриптовНе проверенConduct high-quality, persona-driven code reviews. Use when reviewing PRs, critiquing code quality, or analyzing changes for team feedback.
от 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
FAILreturnsCHANGES REQUESTEDbefore 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.
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
Установить common-code-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic