Skip to content

docs: add review-pr-team contributor skill for multi-agent PR review - #3133

Merged
terrykong merged 3 commits into
mainfrom
terryk/add-review-pr-team-skill
Aug 12, 2026
Merged

terrykong merged 3 commits into
mainfrom
terryk/add-review-pr-team-skill

Conversation

@terrykong

Copy link
Copy Markdown
Collaborator

What does this PR do ?

Adds the /review-pr-team contributor skill: an agent-team-based parallel PR review workflow that spawns specialized agents (RL expert, per-submodule experts, bug finder, test agent, devil's advocate, comment reviewer) coordinating via a shared task list and direct messaging, with the leader collating all findings and staging them as a PENDING GitHub review for user approval before publishing.

Issues

N/A

Usage

CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 claude
> /review-pr-team <pr-number>

Before your PR is "Ready for review"

Pre checks:

  • Make sure you read and followed Contributor guidelines
  • Did you write any new necessary tests?
  • Did you run the unit tests and functional tests locally? Visit our Testing Guide for how to run tests
  • Did you add or update any necessary documentation? Visit our Document Development Guide for how to write, build and test the docs.

Additional Information

  • Skill lives at .agents/contributor-skills/review-pr-team/ (dev-facing) and is symlinked into .claude/skills/ per the repo convention; AGENTS.md (CLAUDE.md) mentions it under Code Review.
  • Adapted from a personal development copy: environment-specific instructions were generalized, an internal CI-trigger integration was removed, and the docs-completeness gate now keys off the public release-roadmap issue (e.g. [NeMo RL] v0.7.0 Release Roadmap #2591) instead of internal roadmap labels.
  • Requires the experimental agent-teams feature (CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1); the skill degrades gracefully without GPUs (test verification is skipped with a note).

🤖 Generated with Claude Code

@terrykong
terrykong requested a review from a team as a code owner July 9, 2026 06:58
@copy-pr-bot

copy-pr-bot Bot commented Jul 9, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

…gent

Brings the skill up to date with lessons learned from subsequent PR
reviews:

- New `design-reviewer` Wave 1 agent (TEST A/B/C for under- vs
  over-abstraction, scope gate, testability/extensibility/maintainability
  axes) plus its `[DESIGN]` category, devil-advocate bar, and preview card
- Hard gate: the leader may not stage or post until devil-advocate has
  reported, with the explicit-tool-call nudge for a silent agent
- Comments must declare actionability up front, and anything over ~1500
  chars needs a one-line TL;DR
- Findings must show a concrete breaking case, label PR-introduced vs
  pre-existing, and prefer a committable `suggestion` block
- When a finding turns on a mechanism, reload the reader's context in four
  terse steps rather than explaining the domain to a fellow expert
- Verify staged comment counts via GraphQL `totalCount`; REST under-reports
  on PENDING reviews and re-adding creates duplicates
- "Did the author address my review?" triggers the fixed-in reply workflow

Signed-off-by: Terry Kong <[email protected]>
@terrykong
terrykong force-pushed the terryk/add-review-pr-team-skill branch from 4095d72 to f29ff7b Compare August 12, 2026 18:15
…ox bypass

- Remove the release-roadmap documentation check (Phase 1.2b, the rl-expert
  task, and the [DOC-ROADMAP] category). It duplicated the general [DOC]
  finding and required guessing at roadmap-issue table membership.
- State the sandbox bypass unconditionally rather than as a retry-on-error,
  so agents don't burn a round-trip on a call that reliably fails in
  container and worktree environments.

Signed-off-by: Terry Kong <[email protected]>
@terrykong terrykong added the CI:Lfast Runs a fast test suite and re-use nightly `main` container (but sync dependencies to PRs version) label Aug 12, 2026
@terrykong

Copy link
Copy Markdown
Collaborator Author

/ok to test 9658743

@terrykong
terrykong requested review from yfw and yuki-97 August 12, 2026 18:39
@terrykong terrykong added CI:docs Run doctest and removed CI:Lfast Runs a fast test suite and re-use nightly `main` container (but sync dependencies to PRs version) labels Aug 12, 2026
@terrykong
terrykong enabled auto-merge (squash) August 12, 2026 18:52
@terrykong
terrykong merged commit 54689fd into main Aug 12, 2026
56 of 69 checks passed
@terrykong
terrykong deleted the terryk/add-review-pr-team-skill branch August 12, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI:docs Run doctest

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants