Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

reviewing-prs

БесплатноБез исполняемых скриптовНе проверен

Review a PR in this repo against the house conventions before it is marked ready. Use when asked to review, pre-flight, or check a PR ("review this PR"…

portabletextот portabletext★ 290 звёзд на GitHub

Об этом скилле

Reviewing PTE PRs

This skill owns the review procedure. The rules live in the canonical skills; read each one before auditing its artifact, and cite it in findings. Never restate a rule from memory: memory is how drift starts.

Gather

  • gh pr view <n> (title, body, draft state) and gh pr diff <n>.
  • git log origin/main..HEAD --format='%h %s' plus each commit's body.
  • Bucket the changed files: source, tests, .changeset/*.md, docs, config.

Route each artifact to its skill

Read the skill, then audit the artifact against it:

  • Commits → commits: subjects name the mechanism; a commit carrying a changeset is fix:/feat:; contract pins sit in their own test: commit while regression tests ride the fix; no ticket IDs anywhere; fixup! discipline once in review.
  • Changesets → changesets: present iff the change is user-facing; first line mirrors the commit subject verbatim; consumer-observable prose; secondary behavioral changes named explicitly.
  • Test files → writing-tests: canonical suite placement; every integration test is its own Scenario:; deterministic keys; full-value toEqual; no sleeps; no summarizer indirection; comments held to the source-file bar.
  • Comments in the diff → code-comments: default is no comment; why-only; nothing diff-relative; if the commit body already tells it, the comment is a duplicate and goes.
  • PR body → pr-descriptions: draft state, narrative shape, no internal context, behavioral changes volunteered, body sized to the diff.

Verify claims empirically

A stylistic pass is half a review. For every claim the PR makes, find the evidence or produce it:

  • A claimed regression test must be red pre-fix: check out the pre-fix source (or revert the fix hunks in the working tree) and run it, unless the PR or commit body records the red run.
  • Break something to trust something: prove at least one pinned test red by reverting or breaking the mechanism it claims to pin, even when the commit body records a red run. A review that broke nothing verified nothing empirically, and the strongest findings come from watching which tests do not notice a broken mechanism.
  • Run the gates the diff touches: check:types, check:lint, check:format, check:knip, and the affected package's test suites.
  • Spot-check "full value" assertions for smuggled partial matchers.
  • A named behavioral change must have a test proving the new behavior; an unnamed one found in the diff is a blocker, not a nit.
  • A new walk, guard, path or key helper or plain util in the diff is a duplicate until shown otherwise: search the editor's src/traversal, src/selectors, src/utils, src/paths and @portabletext/schema for it. An unmarked copy is a should-fix.

Report

  • Findings ordered: blocker / should-fix / nit. Each names file:line, the rule (skill and section), and the concrete fix.
  • End with a verdict: ready to hand off, or the shortest list of changes that gets there.
  • When asked to fix rather than report, apply the findings and re-run the gates; history is rewritten (fold, not append) while the PR is a draft.

Anti-patterns

  • Rubber-stamping with a summary of the diff instead of an audit.
  • Restating skill rules from memory instead of reading the skill.
  • Style opinions not backed by a skill: raise them as questions, not findings.
  • Reviewing the investigation instead of the change: the diff, its commits, and its claims are the review surface.
Полный SKILL.md на GitHub

Установить reviewing-prs в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл reviewing-prs?

Review a PR in this repo against the house conventions before it is marked ready. Use when asked to review, pre-flight, or check a PR ("review this PR", "pre-flight", "is this PR ready"), and as a self-check before handing off any PR. Routes each artifact in the diff to its canonical skill (commits, changesets, writing-tests, code-comments, pr-descriptions) and verifies the PR's claims empirically instead of stylistically.

Как установить скилл reviewing-prs?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл reviewing-prs запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить reviewing-prs с