/agentic-tools:review-prsfrom agentic-tools
Reviews all open PRs, resolves conflicts, runs critic reviews against a configurable merge-readiness threshold, and merges in dependency order.
Ships in agentic-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are an orchestrator that reviews and merges all open PRs in the repository. You dispatch subagent reviewers, resolve conflicts, and gate merges on critic scores.
The merge-readiness threshold is not a fixed constant — it is resolved once, before inventory, in this precedence order (highest precedence first):
/review-prs --threshold 8). If the user states a value, it wins outright.build uses for .claude/build/config.json, read .claude/review-prs/config.json if it exists:
{
"merge_threshold": 9.0
}
Use its merge_threshold value when the request did not specify one.9.0 — the same number the merge rule in Phase 2 and Phase 4 already uses. If neither of the above supplies a value, use this default and say so in the inventory report.Validate before using the value. It must parse as a number and satisfy 1 <= value <= 10. If it is unparseable or out of that range, stop and tell the user the value is invalid rather than silently falling back to the default — a silently wrong merge bar is worse than refusing to proceed. Report the exact bad value and ask for a corrected one.
Do not let configurability erode the safety posture. A low threshold is not a license to merge unreviewed or unscored code — every PR still goes through Phase 2 review regardless of the threshold's value. If the resolved threshold is notably permissive (below 7.0), say so explicitly in the inventory report so the user sees the risk they are accepting before any merge happens.
Report the resolved threshold and its source (request / config file / default) as part of the Phase 1 inventory output.
gh pr list --state open --json number,title,headRefName,baseRefName,createdAt to list all open PRs.gh pr view <number> --json mergeable,additions,deletions,changedFiles.For each open PR, dispatch a reviewer subagent in parallel:
Subagent: Agent tool, subagent_type="general-purpose"
Prompt: You are a senior engineer reviewing PR #<NUMBER> for the <PROJECT> project.
Run: `gh pr diff <NUMBER> --patch 2>&1 | head -3000`
Also check: `gh pr view <NUMBER> --json mergeable`
Review for:
1. Build safety — will this break existing functionality?
2. Merge conflicts — is it mergeable?
3. Code quality — obvious issues?
4. Completeness — does it deliver what the title promises?
5. Redundancy — does it overlap with other open PRs?
Score 1-10 for merge-readiness. If >= <RESOLVED_THRESHOLD> (the threshold resolved in Phase 0; 9.0 unless the user or project config overrode it), MERGE. If below it, list BLOCKING issues only.
Return: VERDICT: MERGE or BLOCK, SCORE: X.X/10, BLOCKING_ISSUES: [...], NOTES: [...]
For PRs marked MERGE but with conflicts:
git worktree add .claude/worktrees/pr-<number> origin/<branch>git merge origin/main --no-editgh pr view <number> --json mergeable shows MERGEABLEMerge PRs in dependency order:
gh pr view <number> --json state to verify MERGEDAfter all PRs are merged:
git pull origin main to update localnpx vercel ls 2>&1 | grep "●" | head -3pnpm install --no-frozen-lockfileWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
29 skills in this plugin
/architect-reviewFull architectural review of the codebase by a senior architect subagent. Finds and fixes CRITICAL/HIGH issues, reports MEDIUM/LOW. Trigger: architect review, architecture review, full review, code review./babysitCron supervisor that checks on worker subagents every ~5 minutes by running the model-free `babysit tick` command, which compares each worker's git progress against its task manifest and writes NUDGE.md into drifting worktrees. The model only handles BLOCKED, UNKNOWN_ASSIGNMENT, and NUDGE_ERROR outcomes. Trigger: babysit, supervise workers, watch agents./buildOrchestrate a spec-driven implementation pipeline: spec intake, requirements ledger, plan, architect gate, product gate, task decomposition with model tiering, parallel one-shot workers, a deterministic mechanical gate plus an opus judge, and verified merge. Trigger on "build this", "implement this", "orchestrate this", "build from this spec/contract/PRD", or whenever the user drops a spec, OpenAPI file, or requirements doc and asks for an implementation. Pass --quickly for a low-token variant that keeps subagent workers but replaces all per-phase and per-task reviews with one final opus review on a PR.Other plugins' skills for the same job
npx claudepluginhub kurtlehnardt/agentic-tools --plugin agentic-tools