From cortex-pr-review
Review a GitHub pull request using a multi-agent pipeline. Use when user says "/pr-review", "/pr-review <number>", "review this PR", "review PR 123", "review my pull request", or asks for a code review of an open pull request.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cortex-pr-review:pr-review [number][number]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run a structured multi-agent review of a GitHub pull request and present a synthesized verdict.
Run a structured multi-agent review of a GitHub pull request and present a synthesized verdict.
PR: $ARGUMENTS (if non-empty, use as PR number; if empty, auto-detect from current branch).
/pr-review # reviews the PR for the current branch
/pr-review {{number}} # reviews a specific PR by number
Natural language triggers: "review this PR", "review PR 123", "review my pull request".
The pipeline fetches PR metadata and the full diff, then runs a Haiku triage agent to classify changed files by review priority. Four Sonnet agents run in parallel — each examining the diff from a different angle: project convention compliance, bug scanning, git history context, and historical PR feedback on the same files. An Opus agent then cross-validates their findings and issues a verdict of APPROVE or REQUEST CHANGES. The main agent presents the synthesis output and keeps all prior agent outputs available for follow-up questions.
Before doing anything else, read ${CLAUDE_SKILL_DIR}/references/protocol.md in full. It defines every stage
of the pipeline: exact commands, verbatim prompt templates for each subagent, and failure
handling for every error scenario. Do not proceed without reading it.
${CLAUDE_SKILL_DIR}/references/protocol.md exactlyCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub charleshall888/cortex-command --plugin cortex-pr-review