Review Changes
БесплатноБез исполняемых скриптовНе проверенReview or explain the code changes in a working tree or branch, grouped by severity, with file and line references and an architecture diagram of what the…
от juspay★ 837 звёзд на GitHubОб этом скилле
Reviewing a change set
Use this skill when the user asks for a review of code changes, or asks to be walked through what changed and why.
Two intents, one gathering step
Read the intent from the user's own words.
- Critique — "review this", "what's wrong", "is this safe". Judge the change.
- Teach — "explain this", "walk me through", "teach me". Describe the change so someone new can follow it.
The gathering work below is identical for both. Only the write-up differs. When the intent is genuinely unclear, critique, and offer the walkthrough at the end in one line.
Cover every file, provably
Before reading anything, list the changed files with git. That list, not your memory of the diff, is the scope.
Walk it in order. Every file ends in one of two states, and both are recorded in coverage:
- reviewed — you read that file's diff.
- skipped — you chose not to, with a one-line reason. Legitimate reasons: generated output, a lockfile, a binary, a pure formatting pass, a vendored directory. "Large" is not a reason. "Looked unrelated" is not a reason.
The viewer compares your coverage against the real file list and shows the user precisely which files you left out, so silence is not an option and an omission is not deniable. A large change means working through it in batches, not stopping early.
Gather before you judge
- Establish the scope. Uncommitted work, a branch against its base, or a named set of files. Ask only if the answer changes what you read.
- Read the diff in full. Never review a summary of a diff.
- Open the surrounding code for anything you intend to criticise. A hunk alone rarely proves a defect.
- Follow the data. When a value is produced in one file and consumed in another, read both ends. Fields dropped between layers are invisible in a single-file view and are among the most common real defects.
- Note what is missing: tests for new behaviour, error paths, and callers that were not updated.
Judging
Rank by what breaks, not by what is easy to spot.
- Correctness — wrong output, crash, data loss, a value that silently never arrives.
- Security and privacy — credentials, tokens, user data crossing a boundary it should not.
- Contract — a caller, schema, or persisted shape that no longer agrees with its other end.
- Clarity — naming and structure that will mislead the next reader.
- Style — last, and only when it genuinely costs a reader.
Every finding names a file and a line, states the defect in one sentence, and gives a concrete failure: the input or state, and the wrong result. A finding you cannot make concrete is a question, so ask it as a question instead of dressing it as a defect.
Say plainly when the change looks correct. An empty findings list is a real outcome, not a failure to try hard enough.
Explaining
When teaching, order the walkthrough the way a newcomer should read it, not the order the diff happens to be in. Start with the entry point, follow one path end to end, then cover what branches off it. Say why each piece exists, and name the problem it solves before naming the mechanism. Leave fixes out unless asked.
Tell the reader how to review
Both the room and the chat reply open by orienting the reader, before any finding:
- What this change is, in one or two sentences, as a change of intent rather than a list of files.
- The reading order: which file to open first and why, then the next. Order by the spine of the change, the entry point first, then what it calls, then the tests. Never alphabetical, never the order git happens to print.
- Where the risk is concentrated, so the reader knows where to slow down.
Machine-readable comments
Alongside the room, deliver review-comments.json:
{
"summary": "one or two sentences on what the change does",
"verdict": "merge | do not merge yet | needs a second pair of eyes",
"order": [{ "file": "path/from/repo/root.ts", "why": "start here, it is the entry point" }],
"coverage": [
{ "file": "path/from/repo/root.ts", "status": "reviewed" },
{ "file": "pnpm-lock.yaml", "status": "skipped", "note": "lockfile" }
],
"comments": [
{
"id": "C1",
"file": "path/from/repo/root.ts",
"line": 128,
"severity": "high",
"title": "one-line defect",
"body": "the concrete failure: inputs or state, then the wrong result"
}
]
}
Rules that keep it useful:
lineis the NEW-side line number, the one on the right of the diff. For a deletion, anchor to the line that replaced it.- Number comments
C1,C2,C3in reading order, and use the same ids in the room so the two line up. - Every finding in the room has a comment here. Nothing appears here that is not in the room.
- Paths are relative to the repository root, exactly as they appear in the diff.
coveragehas exactly one row per changed file, no more and no fewer.
The diff viewer pins these to their lines and gives the user a jump b
Установить Review Changes в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Review Changes?
Review or explain the code changes in a working tree or branch, grouped by severity, with file and line references and an architecture diagram of what the change does.
Как установить скилл Review Changes?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Review Changes запускает скрипты?
Нет, скилл состоит только из инструкций (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