code-review-assist
БесплатноБез исполняемых скриптовНе проверенAugments human code review by summarizing changes, surfacing key review questions, assessing test coverage, and identifying low-risk sections. Use when…
от stacklok★ 2 366 звёзд на GitHubОб этом скилле
Code Review Augmentation
Purpose
Act as a senior review partner — not a replacement reviewer. Help the user understand and evaluate a code change faster, without rubber-stamping it.
How This Differs from the code-reviewer Agent
The code-reviewer agent runs autonomously and checks for best practices, security patterns, and conventions. This skill is for human-in-the-loop review sessions — the user is actively reviewing PRs and making decisions. Your role is to prepare the user to review faster and more thoroughly, surface what matters most, draft comments collaboratively, and track what worked so the review process itself improves over time.
Session Planning
When invoked without a specific PR, start by scoping the session:
- Discover PRs: Use GitHub to find (a) open PRs requesting the user's review, (b) PRs merged in the last 2 days that the user hasn't reviewed yet (use a longer lookback only if the user requests it), and (c) open PRs the user has previously reviewed that have new pushes or comments since their last review (contributors may push updates without re-requesting review).
- Load only metadata: Fetch PR title, author, description, and files-changed count. Do not load diffs during session planning — you only need high-level information to help the user prioritize.
- Present the list: Show each PR with title, author, and a risk estimate (high/medium/low based on files changed, area of codebase, and change size). Also note any existing review activity — approved reviews, changes-requested, pending reviews from others, or review comments — so the user knows what's already been covered. If any PRs form a stack (one PR's base branch is another PR in the list), group them and note the dependency chain and what each PR in the stack is responsible for.
- Ask the user:
- Which PRs to include — all open, all merged, or a subset?
- Preferred review order — chronological, highest-risk-first, or by author/area?
- Track coverage: At the end of the session, report which PRs were reviewed, skipped, or deferred so nothing falls through the cracks.
If a specific PR is provided as an argument, skip session planning and go directly to the review.
Instructions
Present PRs one at a time. Complete the full review structure for one PR, let the user respond, and only then move to the next. Do not batch multiple PR reviews into a single response.
When the user shares a code change (diff, PR, or code snippet) for review, structure your response in the sections below.
1. Change Summary
In 2-4 sentences, explain what this change does and why it appears to exist. State the apparent intent plainly. If the intent is unclear, say so — that's a review finding in itself.
2. Background
Before diving into the diff, establish context so the reviewer can understand what's being changed. Read the original files in the repository (not just the diff) and describe the existing design in terms of owners and responsibilities:
- Owners are the key types, interfaces, and functions involved in the change. Bold each owner when introducing it (e.g.,
ProxyHandler,ToolRegistry,Reconciler). - Responsibilities are named, bolded behaviors that owners are accountable for (e.g., request routing, connection lifecycle management, tool discovery). Give each responsibility a clear name so it can be referenced throughout the review.
- When fine-grained responsibilities work together to fulfill a larger responsibility, say so explicitly (e.g., "
Reconcileris responsible for state synchronization, which combines drift detection on the current spec with desired-state application to bring the cluster in line"). - When a responsibility isn't clearly owned by a single type — e.g., it's spread across multiple functions, or lives in package-level code without a clear home — call that out. Unclear ownership is useful context for evaluating whether the PR improves or worsens the situation.
Present this as a structured list of owner → responsibility mappings so the reviewer can quickly see who does what today. Only cover the owners relevant to the change — don't map the entire subsystem.
3. Important Changes
Describe how the change modifies the ownership and responsibility map established in Background. Use the same bolded owner and responsibility names to make the link explicit. For each significant change, categorize it:
- New owners: New types, interfaces, or functions introduced by this change and what responsibilities they take on.
- New responsibilities: Existing owners that gain new named behavior they didn't have before.
- Shifted responsibilities: A named responsibility that moved from one owner to another — state clearly where it lived before and where it lives now.
- Modified responsibilities: An existing named responsibility on an existing owner that now works differently — describ
Установить code-review-assist в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл code-review-assist?
Augments human code review by summarizing changes, surfacing key review questions, assessing test coverage, and identifying low-risk sections. Use when reviewing a diff, PR, or code snippet as a senior review partner.
Как установить скилл code-review-assist?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл code-review-assist запускает скрипты?
Нет, скилл состоит только из инструкций (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