Command Palette

Search for a command to run...

Назад к скиллам
скилл № 97858

review-pr

Deep, findings-first review of one nrwl/nx pull request from a PR reference or associated Linear task, including drafts. Uses four fixed Sol/xhigh lanes…

БесплатноЗапускает вложенные скрипты
nrwlот nrwl★ 29 499 звёзд на GitHub

Установить review-pr в Claude Code и Claude Desktop

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

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

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

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

Review an Nx pull request

Never fall back to another review skill inside the same run.

Treat this review as self-contained. Do not run the harness memory quick pass for this review. Before every required lane report is verified, do not consult local review artifacts, memories, or session summaries about the PR under review, its changed files, or its findings. Even then, section 6 permits only minimum exact provenance for a candidate derived from the current frozen review inputs.

Read references/review-policy.md and references/output-contract.md completely before taking another action. If either file is unavailable, stop.

Trust boundary

Pull-request code is untrusted. The parent may acquire public metadata, freeze Git objects, and read inert snapshots. Neither the parent nor a lane may execute repository code on the host.

reviewctl.mjs begin exports HEAD and exact merge-base trees into the temporary run directory. It materializes symlinks and gitlinks as inert text, strips every executable bit, and makes the snapshots read-only. Lanes read only those snapshots and the named host artifacts. They have no Docker socket, network access, or write permission.

When runtime evidence is needed, the parent starts one owned sandbox with sandbox-up, reuses it for all checks in this review, and stops it at finalize or abort. Never give its Docker-backed CLI or ID to a child. Never execute a command, script, test, build, install, config, or import from a snapshot.

The frozen snapshots and exact sandbox checkout are the sources for current-code claims. The parent may use the host checkout and host node_modules to orient inspection, but cannot use them to support a finding until it reverifies the claim against the frozen sources. Lanes remain limited to their named artifacts. Treat a failed load-bearing probe as a visible limitation; do not hide it and silently substitute a weaker source.

Command completion

For every helper and sandbox check, preserve execution cell and command-session IDs, exit status, and relevant diagnostics, even when displaying selected output. Resume any yielded execution cell and poll any returned command session until the command exits. A completed outer cell or intermediate state in run.json does not establish command completion. Wait for the exit status before dependent work or retrying the command.

Recognize user reports of a platform cybersecurity interruption by meaning, not an exact phrase or spelling: "resume, cyber gate" and "cybersecurity blocked it" both qualify. A cybersecurity topic alone does not. Enter recovery rather than resuming normal review work. Do not retry, reformulate, or delegate the blocked work, start new runtime checks, or launch replacement agents. Apply section 5's unavailable-check rule to an interrupted check, including one still being planned or prepared. Where permitted, collect already-started command results and available lane reports without relaunching work. Finalize only if the required lanes and remaining evidence support a complete review; disclose unavailable validation and do not retain candidates that require it. If a required lane is unavailable, or another cybersecurity interruption occurs during recovery, interrupt any remaining review agents and use section 7's abort procedure. Do not restart the review or keep waiting for a blocked lane. If cleanup is also blocked, stop and report the exact remaining resources for the user to clean up separately.

1. Preflight

Before GitHub acquisition, confirm the active spawn_agent interface advertises these exact roles:

  • nx-pr-implementation-reviewer
  • nx-pr-verification-reviewer
  • nx-pr-approach-reviewer
  • nx-pr-security-reviewer
  • nx-pr-reproduce-verifier

Their definitions live in this repository at .codex/agents/, which Codex loads only from a trusted project. If one is absent, stop. Tell the user to trust this project and start a new Codex session. Do not substitute a generic agent or an older role.

Accept an nrwl/nx PR URL, a PR number, or an associated Linear task ID or URL.

When discovering connector tools, list matching names first, then read only the schemas needed for task and comment retrieval. Reuse that discovery within the run. Do not print the full tool catalog or assume a particular connector namespace.

For a Linear input, load the task and comments once through the configured Linear connector. Resolve exactly one nrwl/nx PR from its links or, when necessary, one bounded gh pr list --search query for the task ID. Ask the user when zero or several plausible PRs remain. Do not guess.

For a PR input, resolve it directly. Draft status never stops an explicitly requested review.

2. Freeze scope and context

Run the helper from the repository root. Every command below names its path from there:

node .agents/skills/review-pr/scripts/reviewctl.mjs begin --pr <PR_NUMBER_OR_URL
Полный SKILL.md на GitHub

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

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

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

Вложенные файлы

  • agents/openai.yaml
  • references/agents/alternative-approach.md
  • references/agents/comment-analyzer.md
  • references/agents/docs-reviewer.md
  • references/agents/implementation-reviewer.md
  • references/agents/performance-analyzer.md
  • references/agents/reproduce-verifier.md
  • references/agents/security-analyzer.md
  • references/agents/security-reviewer.md
  • references/agents/verification-reviewer.md
  • references/output-contract.md
  • references/review-policy.md
  • scripts/replay-prior-patch.sh
  • scripts/reviewctl.mjs
  • scripts/snapshot.mjs

FAQ

Что делает скилл review-pr?

Deep, findings-first review of one nrwl/nx pull request from a PR reference or associated Linear task, including drafts. Uses four fixed Sol/xhigh lanes, exact merge-base scope, inert snapshots, optional sandboxed checks, and produces one private record holding a postable review draft, without posting it.

Как установить скилл review-pr?

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

Скилл review-pr запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить review-pr с