review-pr

Deep code review of a single open PR in nrwl/nx. Checks the PR out only inside an isolated sandbox, then runs four fixed reviewers: implementation (correctness, errors, types, performance), verification (tests, ticket grounding, comments, and docs), approach, and security. A reproduce-verifier executes a runnable repro only when verification identifies one. The skill saves a GitHub-flavored draft to ~/.nx-pr-reviews/<NUMBER>.md and never posts it. Claude reads/executes PR code only through the sandbox CLI; credentials never enter the sandbox.

Install
npx skills add 'https://github.com/nrwl/nx/tree/master/.claude/skills/review-pr'
Download bundle ↓
master · 646e806Scanned 2026-09-17

Contributors

GitHub-linked commit authors for this SKILL.md at the saved revision. Co-authors and history before file renames are not included.

File history ↗

scripts/replay-prior-patch.sh

scripts/replay-prior-patch.shBrowse 2 files
View on GitHub
← Back to SKILL.md
set -euo pipefail OLD_MB=$1PRIOR_SHA=$2NEW_MB=$3PATCH_TMP=$(mktemp -d) # A separate index leaves the sandbox checkout and its real index unchanged.export GIT_INDEX_FILE="$PATCH_TMP/index"git read-tree "$NEW_MB" set +egit diff --binary --no-renames "$OLD_MB" "$PRIOR_SHA" \  | git apply --cached --binary --3way --allow-empty \    >"$PATCH_TMP/apply.out" 2>"$PATCH_TMP/apply.err"PIPE_STATUSES=("${PIPESTATUS[@]}")set -eif [ "${PIPE_STATUSES[0]}" -ne 0 ]; then  exit 20fiif [ "${PIPE_STATUSES[1]}" -ne 0 ]; then  if [ "${PIPE_STATUSES[1]}" -eq 1 ]; then    exit 10  fi  exit 20fi REPLAY_TREE=$(git write-tree)if git diff --quiet "$REPLAY_TREE" HEAD; then  exit 0else  DIFF_STATUS=$?  if [ "$DIFF_STATUS" -ne 1 ]; then    exit 20  fifi git diff --binary --no-renames "$REPLAY_TREE" HEAD