positron-review
БесплатноБез исполняемых скриптовНе проверенCode-reviews a Positron change (PR, branch, range, or local working tree). Runs the built-in /code-review for the general bug hunt, then a short Positron…
от posit-dev★ 4 361 звезда на GitHubОб этом скилле
Positron Code Reviewer
You review changes in posit-dev/positron and write a review aimed at finding things to change. It has two parts:
- The general pass is the built-in
/code-review. It is good at correctness bugs, error handling, rootCLAUDE.mdconventions, and duplicated code. It runs in its own subagent and sees only the diff. - The Positron layer is this skill. It does a few specific checks the general pass reliably misses, then fact-checks the general pass, merges both, and rates everything.
Don't re-hunt generic bugs in the layer; the general pass does that. Spend the layer's effort on the checks in Step 4, done as inventories: list every item of each kind in the diff, then check each one. Earlier versions of this skill had a long hazard checklist; reviewers read it and still skipped the checks that mattered. The inventories exist so a check can't be skipped by judgment.
The Rules at the end bound what you may touch.
Routing
Point the user elsewhere when the change is:
- An upstream Code OSS merge:
review-upstream-merge. - Only test files, for a test-quality review:
review-vitest-tests. - A question of whether the PR has enough tests: PETE (
petelocally, the PR Test Checker in CI). This review judges test value, not coverage.
Inputs
/positron-review [level] [target] [focus]
- Level (optional):
low,medium,high, orxhigh, passed to the general pass. Defaulthigh. Usemaxonly when the user asks for it by name. - Target: a PR (URL,
1528,#1528; strip a leadingPR), a branch name orA..Brange, or nothing (current local work). Ask if it looks truncated or ambiguous. - Focus: any other text. Give it extra scrutiny and address it explicitly, but still do every Step 4 inventory. If it conflicts with the flow ("just a quick pass"), follow it and say in the Summary what you skipped.
How the review runs
The invoking session often wrote the change or discussed it, and a reviewer carrying that history shares the author's assumptions. So the review runs in fresh subagents; the invoking session only coordinates.
| Who | Does | Sees |
|---|---|---|
| Coordinator (invoking session) | Step 1, the briefs, starts both agents, relays the general pass's findings, posts the digest. Later, triage ("Acting on this review"). | Everything. That is why it doesn't review. |
| General-pass agent | Step 2 only. | The range. |
| Reviewer agent | Steps 3-6. | The range, the intent sources below, this skill, and the general pass's findings once relayed. |
Do this for every target. Start both agents with the Agent tool, subagent_type: "general-purpose", no model override, in the same message so they run in parallel.
The reviewer's brief contains exactly:
- Mode,
BASE,TARGET(full SHAs, or "the working tree" in Local mode), and the reading method from Step 1. - The level and the user's focus text, verbatim.
- Where intent comes from: the PR number (it reads the description and linked issue with
gh), the issue number, and the commit messages, which it reads itself. - For uncommitted work or commits with useless messages: at most two neutral sentences on what the change is meant to do, in user terms. Never why it is correct, what was tested, suspected weak spots, or design history.
- The path to this file,
.claude/skills/positron-review/SKILL.mdunder the root of the checkout the coordinator runs in (git rev-parse --show-toplevel), with the instruction to read it and carry out Steps 3-6 and the Rules. - Not to read
reviews/, plan or notes files, or memory files.
Never put the conversation, a summary of it, earlier findings, or a hypothesis in any brief.
Sequence.
- The coordinator runs Step 1.
- It starts both agents. The reviewer runs Steps 3-4, then stops and returns a one-line status saying it is waiting for the general pass.
- When the general pass returns, the coordinator forwards its report verbatim to the reviewer with SendMessage (load the tool if deferred): no commentary, filtering, or ranking. If the general pass failed, say so instead.
- The reviewer runs Steps 5-6 and returns the 2-4 line digest with the file path.
- The coordinator posts the digest as it came back. Disagreements belong in triage.
When agents aren't available, run every step inline and say so in the Summary. If this session wrote or discussed the change, also say the review was not blind. A subagent started with only a target and no history (a calibration run) is still blind inline.
Step 1: Resolve the target
Every mode ends with BASE and TARGET. State both in the Summary.
| Mode | Trigger | Base | Target |
|---|---|---|---|
| PR | a PR number or URL | merge-base of origin/<baseRefName> and the PR head |
the PR head commit |
| Local | a branch name or no argument | merge-base with origin/main |
committed + uncommitted + untracked |
| Range | A..B, or two co |
Установить positron-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл positron-review?
Code-reviews a Positron change (PR, branch, range, or local working tree). Runs the built-in /code-review for the general bug hunt, then a short Positron layer that checks what it misses (stated facts and disable reasons, unexplained literals, behavior against the upstream sibling it imitates, enforced settings, saved state, Positron build and platform dimensions, accessibility of changed UI), fact-checks the general pass, ranks everything by what users see, and saves the review to a file. Both passes run in fresh subagents that never see the conversation, so a session that wrote the change still gets a blind review. Use when the user invokes /positron-review or asks for a thorough review of a Positron PR or their local changes. Not for upstream VS Code merges (review-upstream-merge) or for grading test coverage alone (pete).
Как установить скилл positron-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл positron-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