code-review
БесплатноБез исполняемых скриптовНе проверенReview a branch, pull request, or uncommitted diff from eight independent Codex perspectives and return evidence-backed candidates for cross-model…
от coji★ 20 звёзд на GitHubОб этом скилле
Code review
The supported invocation is $code-review high [base-ref-or-PR]. high describes review coverage, not model reasoning effort. Read the repository review policy before starting. The policy defines blockers, reviewer models, the Ready gate, and convergence limits.
Reviewers are read-only. They do not edit, commit, push, comment on a PR, or change its Draft state. The orchestrator owns fixes and external mutations. A fix invalidates the preceding GO/NO-GO decision and starts a new round against the new head commit.
1. Freeze the target
Honor an explicit PR, base, ref, path, or --uncommitted scope. Otherwise compare the current branch with the merge-base of the remote default branch; never use the current branch's upstream as the default base.
Require the invoking orchestrator to provide and record:
- repository path, base name and SHA, target head SHA, changed paths, and task or issue acceptance criteria;
git status --porcelain=v1 -z, committed/cached/worktree binary diffs, untracked paths, and hashes for included untracked files;- a fixed snapshot outside the worktree, including symlinks and binary files, plus its hashes;
- applicable
AGENTS.md,CLAUDE.md, and path-scoped rules.
Verify those inputs read-only before review. Do not create snapshots, launch the independent model track, run write-producing validation, checkout, reset, stash, or otherwise change the worktree. The outer orchestrator owns those actions and captures this track's final response. A PR review excludes unrelated local changes. If the fixed target cannot be read or verified, return INCOMPLETE.
2. Explore eight perspectives independently
Assign one independent Codex reviewer to each perspective. Run them in waves when concurrency is limited, keeping a coordinator slot free. Use the model and effort required by the repository policy. Do not show reviewers one another's findings.
Whenever the coordinator waits for a native reviewer, set wait_agent.timeout_ms explicitly to twice the estimated remaining duration, bounded by the tool minimum and maximum. Use the documented default when no estimate is possible; do not shorten the wait merely to poll.
| Perspective | Inspect |
|---|---|
| line-scan | Changed lines and nearby branches, boundaries, exceptions, async behavior, and data integrity |
| removed-behavior | Validation, defaults, cleanup, and error handling removed or replaced |
| cross-file | Actual callers, callees, arguments, results, ordering, errors, and data formats |
| reuse | Existing shared behavior missed by the change and concrete drift caused by duplication |
| simplification | Unnecessary state, branches, duplication, or dead code with a concrete cost |
| efficiency | Realistic CPU, I/O, network, wait, and retained-memory impact |
| altitude | Whether the fix is at the correct abstraction and avoids accumulating special cases |
| conventions | Explicit violations of rules that apply to the changed paths |
Each reviewer receives the same fixed target, purpose, acceptance criteria, rules, and only its assigned perspective. It may inspect surrounding code and callers. Return at most six evidence-backed candidates; do not fill a quota with preferences or pre-existing unrelated problems.
Each candidate must include an ID, perspective, P0-P3 severity, defect or maintainability kind, minimal location, trigger, effect, affected caller or user, evidence, and remaining uncertainty.
The outer orchestrator runs the repository policy's independent second track against the same fixed target without exposing this track's findings. Return this track's candidates and coverage without claiming repository-level GO. If the orchestrator cannot complete the second track, the combined result is INCOMPLETE.
3. Consolidate and verify
After every finder finishes, merge only candidates with the same cause and impact, retaining all source IDs. Do not discard candidates by confidence score.
Give every consolidated candidate to a verifier other than its discoverer. Instruct the verifier to seek disproof and return:
CONFIRMED: the trigger and effect are established from code, callers, or a safe reproduction;PLAUSIBLE: the mechanism exists but a real trigger remains unverified; state the missing check;REFUTED: existing protection, scope, or reachability evidence disproves it.
Safe focused tests may be requested, but reviewers remain read-only. Batch candidates only if the response preserves a separate verdict and evidence for each.
4. Decide and report
Re-check the
Установить code-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл code-review?
Review a branch, pull request, or uncommitted diff from eight independent Codex perspectives and return evidence-backed candidates for cross-model verification. Use for `$code-review high`, pre-Ready review, and blocker re-review.
Как установить скилл code-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл 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