crew-code-review
Use when asked to review a change, a PR, or code just written before a push, and when acting on review comments someone else left.
от crewforth★ 26 звёзд на GitHub
Установить crew-code-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Code Review
Trigger phrases: "code-review", "review the code", "review the PR", "review my changes", "do a review"
Crewforth adaptation (local, .claude/): applied by
crew-review-agent(read-only). §4 applies, and no vendor or template name reaches an artifact (§4.2).
A review runs in four steps — group, plan, review, fact-check — and reports few findings that are right rather than many that might be. Every step below says what it produces.
0. The pre-pass first, and the findings in one shape
Before reading the diff, run the deterministic pre-pass (eval/lib/review-prepass/ in either edition):
bash <dir>/prepass.sh for the staged change, --base <ref> for a branch. It writes
.crewforth/review-prepass.json: secret patterns, a debug call or TODO left in code, shellcheck on shell files, a
lock file that moved without its manifest, a very large change. Carry those over, do not re-derive them; your
time goes to what a pattern cannot see. rc 3 (no Node) or a notMeasured line means that part was NOT checked:
say so in the review, never read it as clean.
Write your own findings in the same shape (crewforth.findings/1: rule review-<category>, severity,
confidence, evidence with file, line and a text quote, detail = what to do instead) and store them with
bash <dir>/../findings/findings.sh write review <file>. A critical or high finding first goes to
crew-refuter (claim + file:line, one call per lens, in parallel) and the document is written with
--verified, which then refuses any medium-or-higher finding without its verifiers. This is model discipline:
no hook runs the pre-pass or reads review.json.
1. Scope
- Review the lines this change adds or edits, and what the deleted lines guarded: a check, a branch or a call that is gone is a finding when nothing took over its job. The rest of the deleted code is context.
- Read the diff before the description: the PR text, plan and docs, read first, steer what the eye looks for.
- Code that is correct, or that the change did not touch, gets no comment.
- Nothing staged and no range given: ask which change to review. Never fall back to
HEAD~1; that reviews a commit nobody named. - An empty result is a result. Do not invent findings to show the review happened.
- Be sure before you write. A finding you are not sure of is not a finding yet: read the surrounding code until you are. A false alarm costs more than a small miss — it spends the attention the next real problem needs.
2. Group the files
Read together what has to be understood together: an interface and its implementations, the code that produces something and the code that consumes it, the same resource in its language or environment variants. Look across each group for a contract that broke between two files, or an update that reached one of them and not the other. Then look at every file in the group on its own — a small or secondary file is where a missed update hides.
3. Plan before you comment
Before the first finding, write two things down:
- What changed, in one line.
- The risks, ordered by severity, each with what you will read to confirm or dismiss it ("the callers of
settle()", "the migration's down step"). No risk worth checking → write(none)and say so. Look past the files too:references/beyond-the-diff.md(dependents, the updating user, other platforms, the assumed load).
The plan is what keeps the review on the change instead of on whatever the eye lands on first.
4. Severity and category
Every finding carries one severity and one category.
| Severity | What it is | Blocks the commit? |
|---|---|---|
critical |
a security hole, lost or corrupted data, a crash | yes |
high |
a core function stops working, or works wrongly | yes |
medium |
performance, maintainability, an unhandled edge case | no |
low |
readability and style | no |
info |
a note for the reader (the pre-pass marks an added TODO with it) | no, and not counted |
Category: bug · security · performance · maintainability · test · style · docs.
A blocker is a critical or high finding — nothing else stops the commit, and the review is clean when none
is left open.
5. Style, names and code comments
- Style and naming are
low, never block, and fit in one sentence. - Code comments are out of scope unless asked for, with one exception: a comment that says something false
about what the code does is a
low/docsfinding, because the next reader will believe it.
6. Finding format
file:line · severity · category · what you observed · what to do instead
What to do instead is the reason the finding exists; a finding without it is an opinion.
7. What a change must not quietly do
Verifier integrity: flag any change that makes a check pass by *wea
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/beyond-the-diff.md
- references/history-search.md
- references/panel-mode.md
- references/receiving.md
- references/simplify.md
FAQ
Что делает скилл crew-code-review?
Use when asked to review a change, a PR, or code just written before a push, and when acting on review comments someone else left.
Как установить скилл crew-code-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл crew-code-review запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis 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…