/dev10x-coding:request-reviewfrom dev10x-coding
Assigns GitHub reviewers and posts Slack/Google Chat notifications in one command. Triggers when a PR is ready for review and needs both assignment and chat notification.
Ships in dev10x-coding. 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.
This skill follows references/task-orchestration.md patterns.
REQUIRED: Create a task at invocation. Execute at startup:
TaskCreate(subject="Request PR review", activeForm="Requesting review")Mark completed when done: TaskUpdate(taskId, status="completed")
Auto-advance: Complete each step, immediately start the next — no checkpoints the resolver did not ask for.
Arguments: PR URL or number, --repo, --force, --unattended,
--audit.
Audit mode (--audit, GH-1834): skip Steps 1–4. Call
mcp__plugin_dev10x_cli__review_readiness_audit(repo="{REPO}") (omit
repo for the current one), print one line per PR —
#N verdict — problem detail (since) — grouped SENT-NOT-READY
first, then WENT-RED-AFTER, then UNKNOWN, then the counts — and,
when more_open_prs is true, that only scanned PRs were read. Write
nothing. Verdict meanings: references/review-readiness.md § Audit.
Call mcp__plugin_dev10x_cli__pr_detect(arg="$ARG") with $ARG (PR
URL, bare number, or empty) and parse PR_NUMBER, REPO, PR_URL.
If detection fails, report the error and stop.
Check whether a human already approved the current HEAD. Call
mcp__plugin_dev10x_cli__pr_get(number={PR_NUMBER}, repo="{REPO}")
and read reviewDecision, reviews, headRefOid and isDraft
(GH-917 — never the hook-blocked raw gh pr view). Step 1.6 reuses
isDraft.
Filter bot approvals first (GH-128): drop reviews whose
author.login ends with [bot] or whose author.type == "Bot" — a
bot approval never satisfies human review. Then:
state == "APPROVED" and commit.oid
matching headRefOid → PR is human-approved on the current
HEAD. REQUIRED: Call AskUserQuestion (do NOT use plain
text):
dev10x-coding:gh-pr-mergeAPPROVED reviews exist but newer commits landed since
the latest approval → approval is stale; proceed normally to
Step 2 (re-review needed)reviewDecision == "CHANGES_REQUESTED", or no reviews → proceed
normally to Step 2. When only bot approvals exist on the current
HEAD, log "PR has only a bot approval — requesting human review"
so the rationale is visible.Skip this precheck on --force or when dev10x-coding:gh-pr-monitor Phase
3 passes bypass_approval_check: true (re-review after fixups).
Run the four conditions in
references/review-readiness.md
— draft, CI, unresolved threads, bots at head. A draft fails like the
rest; never mark it ready here. --force does not skip this step.
When any condition fails or cannot be read, resolve the run mode as
that file's § "When the PR is not ready" orders it: --unattended,
else run_mode.mode of mcp__plugin_dev10x_cli__resolve_gate(gate= "external_notify", context={}) (read only run_mode). undetermined
or an error is attended, printed as Run mode: undetermined ({basis}) — treated as attended.
AskUserQuestion (do NOT use plain
text). Question: "PR #{PR_NUMBER} is not ready for review: {reasons}. Request review anyway?", header Readiness. Options:
A stop here goes straight to Step 4 with status: "stopped".
Delegate in this run's mode (--readiness-checked: Step 1.6 ran):
Skill(skill="dev10x-coding:gh-pr-request-review", args="--pr {PR_NUMBER} --repo {REPO} --readiness-checked --unattended")Skill(skill="dev10x-coding:gh-pr-request-review", args="--pr {PR_NUMBER} --repo {REPO} --readiness-checked")It resolves reviewers from <Dev10x config>/github-reviewers-config.yaml
and may skip on skip: true. Read the status of its
review_request_result: line (GH-1921), never its prose. stopped
ends the run: skip Steps 3 and 3.5; Step 4 carries its reasons.
The transport is whichever one this team uses — Slack, Google Chat, or both — resolved from config, never assumed (GH-1308).
Resolve the transports. Read each per-repo config and check
whether its projects map names the repo's short name (the part after
the / in {REPO}):
| Transport | Config file | Delegate to |
|---|---|---|
| Slack | ~/.config/Dev10x/slack-config-code-review-requests.yaml | dev10x-coding:slack-review-request |
| Google Chat | ~/.config/Dev10x/gchat-config-code-review-requests.yaml | dev10x-coding:gchat-review-request |
A missing file counts as "does not name the repo". Then:
AskUserQuestion (do NOT
use plain text): "No chat transport is configured for {REPO}. Where
should the review request go?" with options Slack, Google
Chat, and Skip the notification (Recommended). Delegate to the
chosen skill, which will ask for the channel or space itself.Skill("dev10x-coding:slack-review-request", args="--pr {PR_NUMBER} --repo {REPO}")
Skill("dev10x-coding:gchat-review-request", args="--pr {PR_NUMBER} --repo {REPO}")
Each skill formats, confirms and posts, or skips on skip: true.
Capture posted / skipped / error per transport, naming the one used.
Mention the assigned reviewers. After "Request review anyway" in Step 1.6, the body names the reasons instead of claiming readiness:
mcp__plugin_dev10x_cli__pr_issue_comment(pr_number={PR_NUMBER}, repo="{REPO}",
body="Ready for review @reviewer1 @reviewer2")
# override: body="Review requested before ready ({reasons}) @reviewer1"
Skip this step if:
pr_comment: falseReport the combined result:
Review request for PR #{PR_NUMBER}:
- Readiness: {ready / not ready — requested anyway: reasons / stopped — reasons}
- GitHub reviewers: {assigned / skipped / error}
- PR comment: {posted / skipped}
- {Slack | Google Chat} notification: {posted / skipped / error}
List one line per transport that ran — never one the config omits.
End with the review_request_result: line and task metadata defined
in references/review-readiness.md § Result for callers.
dev10x-coding:gh-pr-monitor Phase 3 and /dev10x-coding:request-review.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub dev10x-guru/dev10x-claude --plugin dev10x-coding40 skills in this plugin
/ci-reviewdev10x-coding:ci-reviewUse when a change to a Claude CI review prompt, args file, reviewer agent or CLI pin needs checking before it merges — so you read what the CI code review and PR hygiene check would post on a real PR, with nothing reaching GitHub unless you choose, after reading the report, to share it as one marked replica comment. TRIGGER when: "what would the CI review say", replaying the Claude CI review locally, verifying a review prompt or model change on a PR. DO NOT TRIGGER when: self-reviewing a branch with no PR (use dev10x-coding:review), or reviewing someone's PR and posting (use dev10x-coding:gh-pr-review).
/fanoutdev10x-coding:fanoutProcess multiple independent work items as a worktree-isolated swarm — each item runs the full dev10x-coding:work-on lifecycle inside its own background Agent with isolation="worktree" (under Herdr, its own Herdr workspace and agent). Honors dependencies, minimizes conflicts, auto-advances by default. TRIGGER when: 2+ independent work items need parallel processing (PRs, issues, tickets). DO NOT TRIGGER when: single task or sequential dependency chain (use dev10x-coding:work-on); already running as a swarm child (see recursive-fanout guard).