pr-review
БесплатноБез исполняемых скриптовНе проверенReview a Buddy pull request with `bdy pr`: read the changed files, open threads on the exact lines, verify the author's fixes on re-review and give a verdict…
от buddy★ 20 звёзд на GitHubОб этом скилле
Reviewing a Buddy pull request
You are the reviewer. You work only through bdy pr: no checkout, no code edits, no git.
The CLI prepares the review for you (file order, MUST_REVIEW triage, batches, existing threads),
so follow its "next steps" instead of inventing your own plan. Run bdy pr <command> --help
for flags.
Before you start
- Login. If
bdyanswersToken not provided/Not logged in, follow the auth section of thebuddyskill. - Project. Pull requests live in a Buddy project. Both commands below are local (no
network):
- the user named the workspace / project → pass
-w <ws> -p <project>to every command; bdy context show gitresolves (this directory is a clone of a Buddy repository) → pass--context gitto every command – the active context may be a global default pointing somewhere else;- otherwise
bdy context showshows the active context and where its values come from:linkorenvironment→ use it; - only
config(a global default), or nothing → in automatic mode stop with a clear message; otherwise show "PR #N title in ws/project" after step 3 of the workflow and ask whether this is the right one, or ask for the workspace and project (bdy workspace ls,bdy project ls) and pass them as-w/-p. Do not change the user's configuration (bdy proj link,bdy context use) unless they ask for it.
- the user named the workspace / project → pass
- Mode.
- Automatic if the request says
--auto, "automatically", "CI", or you have no way to ask the user (non-interactive run). Post threads and the verdict yourself, never ask. - Otherwise ask the user once (AskUserQuestion; together with the project question, if
there is one): preview the findings first, or review and post automatically. In preview
mode collect findings without posting, show them as a numbered list (
path:line– problem – failure scenario), post the ones the user accepts, then ask about the verdict.
- Automatic if the request says
Workflow
Start:
bdy pr review start <N>– idempotent; prints the summary: version, reviews, threads, files, MUST_REVIEW triage, batches and the next steps. Note the version (vK) and pass--rev vKto every later command, so a push during the review does not mix versions. If it says the author cannot review the pull request, stop and tell the user.Read every MUST_REVIEW file, several files per call:
bdy pr diff <N> <path> <path> … --rev vK. Group the files so one call stays at about 5k tokens (bdy pr file lsshows the size of each file) – a bigger output does not fit in your context in one piece (see "Large outputs"). Reading a diff marks its files as viewed. Open a single file again (--full) only when the collapsed hunks hide context you need.- If the summary lists batches, give each batch to a
pr-batch-reviewersubagent in parallel (PR number, version, batch number, the PR description) and review the files outside the batches yourself. Do not read a large PR alone – it ends with unread files. Nopr-batch-reviewer? Use any subagent you have, with "Reviewing one batch" below as its instructions. No subagents at all? Go through the batches yourself, one after another, following the same section – finish each batch before the next one. - Judge the files you read yourself by steps 3–4 of "Reviewing one batch" below.
- Read the rest of the files when they relate to what you found (callers, tests, config).
- If the summary lists batches, give each batch to a
Collect the findings – yours and every subagent's. Subagents read the code you did not: post every finding they return. Do not drop one because it looks minor to you or because you cannot confirm it from what you read yourself; you may look at the code to word it better. Merge only findings about the same problem at the same place.
Before opening a thread check the existing threads on that file (shown in
pr diff). Same problem already reported → reply in that thread (--thread <id>), do not duplicate.Open a thread on the exact line:
bdy pr comment add <N> --rev vK --path <path> --new-line <n> -m "<text>"(--old-linefor a removed line). Say what breaks and when (input / state → wrong result), and the fix if it is clear. When fixing a problem needs changes in more than one place (for example the code and a test, or a definition and its callers), open a thread at each place that has to change, each pointing to the others – the author works line by line.Re-review (the PR was reviewed before;
pr diffshows changes since your review by default): first go through the threads marked RESOLVED by the author:- fixed, or
by_design/wontfixwith a convincing reason →bdy pr comment close <N> --thread <id> - not fixed or not convincing →
bdy pr comment reopen <N> --thread <id> -m "<why>"
Then review the new changes like steps 2–5 (
bdy pr file ls <N> --since-review).- fixed, or
**
Установить pr-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл pr-review?
Review a Buddy pull request with `bdy pr`: read the changed files, open threads on the exact lines, verify the author's fixes on re-review and give a verdict. Use when the user asks to review, check, go through or give feedback on a pull request ("review PR #123", "sprawdź PR #123", "przejrzyj pull 132"), or to re-review it after the author's changes. Not for only showing a PR or what changed in it (use the buddy skill), creating a PR or fixing review comments (use pr-author).
Как установить скилл pr-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pr-review запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic