{"version":"2.1.329","anchor":"code-review-accepts-bare-pr-numbers-and-pr-urls-via-ghglab","canonical_anchor":"code-review-accepts-bare-pr-numbers-and-pr-urls-via-ghglab","heading":"Code review now accepts a plain PR number or a pull request link","tier":"notice","area":"Code Review","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329\/e\/code-review-accepts-bare-pr-numbers-and-pr-urls-via-ghglab","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329","markdown":"### Code review now accepts a plain PR number or a pull request link\n\nThe code review command now takes a bare number, a GitHub pull request link or a GitLab merge request and reads its changes with gh or glab\n\n**What**\n\nThe code review command now understands more kinds of target:\n\n- a bare number\n\n- a GitHub pull request link\n\n- a GitLab merge request\n\nIt reads the changes with `gh pr diff` for GitHub or `glab mr diff` for GitLab, and falls back to the GitHub API through `gh api` if needed. If the changes can't be read, Claude is told to stop, or to review the branch you have checked out instead. For one kind of review, Claude is also told to set a `level` on every finding it reports.\n\n**Why**\n\nYou can now point a review at a pull request by its number, and a review no longer carries on silently when the changes can't be read.\n\n- Area: Code Review\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}