/idd:issue-pr-reviewfrom IDD Stack: Issue-Driven Development
Reviews a GitHub PR end-to-end: analyzes code, runs CI checks, applies fixes, and optionally auto-merges. Supports interactive, auto-pilot, and review-only modes.
Ships in IDD Stack: Issue-Driven Development. 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.
Review a PR end-to-end — analyze, test, fix, check CI, repeat until clean.
| Invocation | Mode | What happens |
|---|---|---|
/issue-pr-review <N> | interactive | Review, fix, repeat until clean; report; merge per Merge rule |
/issue-pr-review <N> --auto | auto-pilot | Same, with no prompts |
/issue-pr-review <N> --auto --no-merge | auto-pilot | Review and fix, never merge |
/issue-pr-review | detect | Auto-detect PR for current branch |
/issue-pr-review --review-only | read-only | Review and report, never fix or merge |
/issue-pr-review <N> --resume | interactive or auto | Resume a killed review from its progress record (Progress record) without asking; combines with --auto, --no-merge and --review-only |
/issue-pr-review <N> --no-resume | interactive or auto | Never resume: clear the record and review fresh. Not with --resume |
/issue-pr-review <M> --revert | revert | Revert merged PR M through a new PR and reopen its issue, instead of Steps 1-7; never merges (references/revert-path.md) |
--auto is set by /auto-pilot; in auto mode export IDD_AUTO_MODE=1 so the pre-commit scan logs warnings instead of prompting (references/docs/pre-commit-security.md). --no-merge suppresses the merge in any mode.
Only when compaction.enabled is true; otherwise skip this section (references/docs/context-threshold.md). After a compaction mid-run:
gh pr view {N} --json state,headRefName,headRefOid, where N is the PR number already bound in this conversation. Any use of the fork-controlled headRefName keeps Step 1 item 6's branch_name="$(gh pr view {N} --json headRefName --jq .headRefName)" form; never paste the literal.[N/7] lines and re-read its reference. Before repeating a comment, fixer commit or push, label or merge, confirm with a live --json read that it has not happened.base_oid is the id on the ○ Review settings: line; if lost, re-run only the block's resolution.review.max_cycles as reached and take the existing max-cycles path. Never restart the loop at cycle 1.Confirm before any operation: a git repository (git rev-parse --git-dir), gh authenticated (gh auth status), and the Bundled dependency precheck.
Verify every path below exists relative to the skill's directory; this list is the authoritative guard. If any is missing, stop immediately, print the error, and never continue with an inline or guessed reviewer/fixer prompt:
references/agents/code-reviewer.md
references/agents/criteria-judge.md
references/agents/ui-reviewer.md
references/agents/fixer.md
references/ui-review-mechanics.md
references/prepass-tests-ci-mechanics.md
references/verification-checks.md
references/review-loop-mechanics.md
references/progress-record-mechanics.md
references/report-templates.md
references/revert-path.md
references/run-stats.md
references/error-messages.md
references/self-improve.md
references/static-checks.md
references/docs/pre-commit-security.md
references/docs/sync-conventions.md
references/docs/idd-methodology.md
references/docs/config-schema.md
references/docs/naming-conventions.md
references/docs/platform-github.md
references/docs/agent-model-effort.md
references/docs/agent-overrides.md
references/docs/terminal-style.md
references/docs/ui-review.md
references/docs/post-merge-cleanup.md
references/docs/context-threshold.md
references/scripts/gi-config.py
references/scripts/gi-secscan.py
references/scripts/gi-ci-wait.py
references/scripts/gi-gh.py
references/scripts/gi-issue.py
references/scripts/gi-receipt.py
references/scripts/gi-recipe.py
references/scripts/gi-postmerge.py
references/scripts/gi-progress.py
references/scripts/gi-criteria.py
references/scripts/gi-runlog.py
references/scripts/gi-sensitive.py
references/scripts/gi-plan.py
The practice packs, checked the same way: references/practice-packs.md, references/practice-tests.md, references/practice-code.md, references/practice-performance.md, references/practice-security.md, references/practice-frontend.md, references/practice-ci-cd.md, references/practice-cli.md, references/practice-docs.md.
✗ Missing bundled dependency: {missing_file}
To fix: asm install https://github.com/luongnv89/idd --skill issue-pr-review
(or reinstall the full distribution)
Plugin: claude plugin marketplace add luongnv89/idd
claude plugin install idd@idd
(or: claude plugin update idd@idd)
Then restart the agent session and re-run /issue-pr-review.
Before any fix, sync with the stash-first pattern (references/docs/sync-conventions.md): git stash push -u if the tree is dirty, git fetch origin, git pull --rebase origin "$branch", git stash pop. On pop failure, stop and surface git stash list / git stash show -p stash@{0}. A missing origin or a conflicting rebase stops and asks (interactive), or aborts (auto).
Load config once at skill start, in every mode (--review-only included); never re-read it. The gates come from the default branch, never the checked-out tree: a PR must not set the gates that judge it. Run the block in references/review-loop-mechanics.md (Config keys and what they gate) — read it now; it runs python3 references/scripts/gi-config.py --ref "$base_oid" — Working directory: the repo root; Script path: resolved against this SKILL.md's directory.
config_source exactly ref:<base_oid> — use config.✗ Invalid config: .idd.yml with the offending key and reason from stderr, and stop.✗ Missing bundled dependency block.⚠ gi-config unavailable — reading .idd.yml by hand and git show "${base_oid}:.idd.yml" (else legacy .gitissue.yml). Never the working tree's file; no usable base_oid means built-in defaults.It prints ○ Review settings: origin/<base> @ <base_oid> (.idd.yml), (defaults — no .idd.yml at the base), or ⚠ Review settings: built-in defaults (base branch unreadable).
Capture the run clock here: chain that same python3 invocation as python3 …; ec=$?; date +%s >&2; exit "$ec"; the stderr epoch is run_started_epoch, from which the Run Stats Footer (references/run-stats.md) measures elapsed.
Context threshold. Only when compaction.enabled is true (references/docs/context-threshold.md). At each [N/7] step start, compare the remaining-context figure the host placed in your context (none: skip silently, never estimate) with compaction.threshold.issue-pr-review. At or below it, interactive prints the ⚠ line and a /compact <focus> line (skill, PR #N, step id and name only) and pauses at most once per run; --auto / IDD_AUTO_MODE=1 prints one ⚠ line per run and continues — never a pause or stop.
Inline defaults: review.max_cycles: 3, review.soft_pass: true, review.auto_merge: false (see Step 7 Merge rule), compaction.enabled: true, compaction.threshold.issue-pr-review: 40. Every key and its gate: references/review-loop-mechanics.md (Config keys and what they gate).
A killed review can resume (--resume, or by the auto default; --no-resume never does). --review-only keeps a separate record of its own. Write a record per PR with references/scripts/gi-progress.py at every [N/7] start, at each cycle, and before every push, body edit or merge; read it once Step 1 has fixed N. It holds only the step, the cycle count, findings, the profile and the last effect. A record never satisfies or skips a safety gate: Step 1 always runs live, qa_handoff is never restored, and any doubt is stale (start from Step 1). Rules: references/progress-record-mechanics.md — read it now.
Expected output — example of a clean run, one line per step:
○ Review settings: origin/main @ 4a45550c1f0e9d2b7a3c6e8f1d0b9a7c5e3f2d1b (.idd.yml)
◆ PR Review Pipeline
┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
[1/7] PR Info ✓ PR #87: fix(auth): resolve redirect (#42), depth: full, qa: absent
[2/7] Pre-pass ✓ lint clean, format clean, 17 tests passed
[3/7] Review ● analyzing changes...
[4/7] Test ✓ 17 tests passed, build ok
[5/7] CI Status ✓ all checks passed
[6/7] Fix ○ no fixable issues
[7/7] Report ✓ PR is clean — ready to merge
Step 2 runs once; Steps 3-6 repeat up to review.max_cycles (default 3); Step 7 runs once. Tokens are saved by the zero-token pre-pass, reviewer/fixer reuse, and fix/note filtering.
Each step closes with √/× per check plus a Result: PASS | PARTIAL | FAIL line; a step is not complete until its Result: line prints. Check names and semantics: references/report-templates.md (Step Completion Reports) — read it now.
gh pr view --json number,title,body,baseRefName,headRefName,state,url,statusCheckRollup. If the branch has no PR, print ✗ No PR found for branch {branch_name} (references/error-messages.md) and stop.gh pr view {N} --json number,title,body,baseRefName,headRefName,headRefOid,state,url,labels,reviews,statusCheckRollup,files
headRefOid, linked issue numbers (from Closes #N, or a first-line Refs #N — Intentional reference in references/verification-checks.md), CI status, and changed files.⚠ PR #{N} is already closed and stop. If it is already merged, print ○ PR #{N} is already merged, skip the review, and run the Post-merge cleanup (Step 7) under the Already merged rules in references/report-templates.md; then stop.gh pr checkout {N}, so pre-pass commits and the fixer operate on the PR head.branch_name="$(gh pr view {N} --json headRefName --jq .headRefName)", then use "$branch_name" in every shell command; display templates keep the plain name. Why: references/review-loop-mechanics.md (Binding the head-ref name).Set profile = light | full. Signals and what
light changes: references/docs/agent-model-effort.md (Complexity → pipeline profile) and references/review-loop-mechanics.md (Depth gate) — read and apply both.
references/scripts/gi-gh.py ships as its helper):
python3 references/scripts/gi-issue.py {linked_issue} --fields number,title,body,labels,comments --refresh, then read .issue.python3, exit 2, or exit 4, run gh issue view {linked_issue} --json number,title,body,labels,comments instead.linked_issue_snapshot, and read its plan comment into plan_state now (Plan conformance in references/verification-checks.md, step 1).
If neither path yields a usable record, apply the empty-record fail-safe in references/review-loop-mechanics.md (Depth gate) — never review a linked issue on an empty snapshot.base_ref="$(gh pr view {N} --json baseRefName --jq .baseRefName)", git fetch origin -- "$base_ref", set sensitive_json to {"labels": <PR + snapshot labels>, "paths": [], "diff": "origin/${base_ref}...HEAD"} and from the repo root run printf '%s' "$sensitive_json" | python3 references/scripts/gi-sensitive.py --classify. tier: sensitive, any non-zero exit, unparsable output, or no python3 sets profile = full. The refresh runs even when review.adaptive_depth is false; then set profile = full after the refresh and skip step 5.## Metadata Effort band; Effort never lowers a full from step 4. Set light only when every signal agrees; otherwise full./issue-resolver ends a clean QA loop by writing <!-- idd:qa v1 head=… --> as the PR body's last line (a legacy gitissue:qa one is read too). After the Depth gate, set qa_handoff = trusted | stale | absent, plus ci_leg_runnable from review.check_ci and Step 1's statusCheckRollup:
| Value | When | Effect |
|---|---|---|
trusted | the marker parses, its head= equals Step 1's headRefOid, and a revision receipt for that SHA verifies | the narrowed loop — What trusted skips |
stale | a marker is present but any condition fails — a missing or unverified receipt included | the full pipeline |
absent | the body carries no marker | the full pipeline |
Receipt check — once, here, before Step 2 runs any PR code: with head_oid bound to Step 1's headRefOid (it must match ^[0-9a-f]{40}$), run python3 references/scripts/gi-receipt.py --verify "$head_oid". Only "verified": true counts, and only when the receipt's profile, tests and ui equal the marker's profile=, tests= and ui= values (absent on both sides counts as equal). "verified": false, any non-zero exit, or no python3 means no receipt, so the verdict is stale. No prose fallback may produce trusted. A marker plus green CI, without a receipt, skips nothing. Receipt rules and re-evaluation: references/review-loop-mechanics.md (Verifying the receipt).
Fail-safe: any doubt is stale — an unparsable or duplicated marker included; an unknown extra field is not doubt.
A marker is never authentication: a PR body is attacker-controlled, so this verdict may gate only duplicated work, never a safety gate.
When review.adaptive_depth is false, skip this gate: set qa_handoff = absent.
The parse, What trusted skips, Precedence, and Never gated: references/review-loop-mechanics.md (QA handoff gate) — read it now.
[1/7] PR Info ✓ PR #{N}: {title}
{files_count} files changed, base: {base_branch}, depth: {profile}, qa: {qa_handoff}
First, in every mode (--review-only included): a PR changing .idd.yml or .gitissue.yml gets a non-blocking finding naming each changed key (--compare-ref): references/prepass-tests-ci-mechanics.md (Config-change comparison).
Run deterministic tools before any LLM reviewer; under --review-only this is detection-only (Review-only mode, Step 7). Otherwise:
references/prepass-tests-ci-mechanics.md (Step 2).qa_handoff = trusted, skip only the test run, and only when the marker carries a tests= field whose SHA equals head and ci_leg_runnable is true. When ci_leg_runnable is false (no CI / empty statusCheckRollup / no_ci / review.check_ci: false), ignore tests= and run the local suite as unmarked. A test failure here continues to Step 4.The auto-fix always runs, and the gi-secscan gate below is never gated on qa_handoff. An auto-fix commit moves the head off the marker: recompute the verdict then, before Step 3.
Skip entirely when --review-only. Stage only the approved paths the auto-fix changed, with git --literal-pathspecs add --pathspec-from-file=… --pathspec-file-nul, and leave every other dirty or untracked file unstaged and untouched. Nothing staged means skip the commit. Then scan the staged set (auto mode: export IDD_AUTO_MODE=1 first). From the repo root, binding base first from the repository's default branch — never the PR's baseRefName, never an interpolated config value:
base="$(gh repo view --json defaultBranchRef --jq .defaultBranchRef.name)"
python3 references/scripts/gi-secscan.py --staged --policy-ref "origin/${base}"
A pass is all four: exit 0, policy_source exactly the ref:origin/… asked for, verdict not block, and not (scanned 0 with skipped above 0). Exit 1 is the block verdict — stop, unstage, do not commit or push, report blocking[]. Exit 3 stops. No python3, exit 2, or exit 4 degrades to the Primary Pattern in references/docs/pre-commit-security.md. Never read a non-zero exit as a pass. Full exit contract, the trust boundary and the staging commands: references/prepass-tests-ci-mechanics.md (Commit auto-fixes) — read it now. After a pass, commit the stage list only (git commit --only --pathspec-from-file=…), then git push origin "$branch_name". Never git add -A.
[2/7] Pre-pass ✓ lint clean, format clean, {N} tests passed
Auto-fixed: {files_fixed} files (lint/format)
Reviewer. Read references/agents/code-reviewer.md and references/agents/fixer.md; both spawn with the default general-purpose agent (do NOT set subagent_type), applying references/docs/agent-overrides.md (agents.model.<role> / agents.effort.<role>) for the code-reviewer, fixer and ui-reviewer roles, with review.confidence_threshold (default 80). Cycles 2+ re-message the same reviewer via SendMessage; once the fixer reports zero fixable issues, one fresh confirmation reviewer does the final check (new issues go back to the fixer and count as a cycle). Under qa_handoff = trusted the cycle-1 reviewer is collapsed into that fresh confirmation pass, so the PR still receives exactly one independent, full-strength review, and the cap drops to min(1, configured_cap). The collapse saves no reviewer spawn — the confirmation pass is itself fix-conditional. Spawn calls: references/review-loop-mechanics.md (Why reuse the reviewer).
UI review is auto-detected per PR — no config flag. The code leg runs on any host, including a no-GUI host; the optional browser leg skips with a warning. When ui: detected, apply references/docs/ui-review.md and references/ui-review-mechanics.md. Under qa_handoff = trusted the code UI review is skipped only when the marker's ui= leg ran (ui=code… or ui=code+browser…) and carries an @<sha40> equal to head — never on ui=none, never on an unsuffixed ui=, never for the browser leg.
Then judge each criterion of linked_issue_snapshot in isolation; do not call gi-issue.py or gh again for the issue. Spawn references/agents/criteria-judge.md (code-reviewer role overrides) with the issue, gh pr diff {N} and headRefOid only — never the PR title, body or comments — and pipe its JSON through references/scripts/gi-criteria.py, which downgrades a pass without a test green at head or a command and its observed output to unverified. Re-judge whenever the head moves (Acceptance-criteria verification). A PR with no linked issue is a different state, not a fail-safe case: acceptance_criteria reports ○ pass — none defined; manual review recommended.
Dimensions: correctness, acceptance_criteria, traceability, maintainability, safety — each pass, partial, fail or disabled, grouped under a Spec axis and a Standards axis; UI findings fold into maintainability. Mapping: references/verification-checks.md — read it now.
[3/7] Review ✓ spec[ac:pass correctness:pass safety:pass]
standards[trace:pass maint:partial]
{fixable_count} fixable, {note_count} noted
This skill produces acceptance_criteria and traceability itself, per references/verification-checks.md. Gating rules:
review.require_acceptance_criteria_check / review.require_traceability_check (default true): when false, that dimension reports disabled — never pass — and never blocks.acceptance_criteria: fail → Step 6 fixable (category: acceptance_criteria); hard-blocks soft-pass.Closes #{linked_issue} absent (unless refactor/chore-exempt or a valid intentional Refs) → traceability: fail, Step 6 fixable "Add Closes #{linked_issue} to the PR body."; hard-blocks soft-pass, even with green tests. A failing Refs #{linked_issue} line 1 hard-blocks as action: note, never auto-fixed.traceability: partial and do not block.review.run_tests is false: skip; report ○ tests skipped (review.run_tests: false).qa_handoff = trusted, skip this step and report ○ tests skipped (qa handoff @ {commit_sha_short}) — trusted holds only against the live head, so the soft-pass conjunction therefore treats the test leg as satisfied — only when the marker carries a tests= field whose SHA equals head and ci_leg_runnable is true; with no tests= field, or a SHA that differs, run the step in full. When ci_leg_runnable is false (no CI / empty statusCheckRollup / no_ci / review.check_ci: false), ignore tests= and run the local suite as unmarked.review.test_timeout-second timeout (default 300) — references/prepass-tests-ci-mechanics.md (Step 4).Verification recipe: when the base branch commits .idd-recipe.json (or legacy .gitissue-recipe.json), run it in this step with references/scripts/gi-recipe.py, even when the suite is skipped (qa_handoff = trusted included). Auto mode runs it only when the recipe opts in review. A result: fail is fixable and blocks soft-pass (references/ui-review-mechanics.md, Verification recipe).
Bug proof: on a bug PR, re-run the regression test its Reproduction line cites, red at base and green at head, under qa_handoff = trusted too (references/verification-checks.md, Bug proof). On every PR, report sensitivity not verified rows (Sensitivity rows, same file).
A skip satisfies the soft-pass test leg but evaluated neither check: it reports × Suite passed / × Build clean with Result: PARTIAL, never a silent √.
[4/7] Test ✓ build ok, {N} tests passed
[4/7] Test ✗ {N} tests failed — {brief failure summary}
When review.check_ci is false, report ○ CI skipped (review.check_ci: false); the leg is satisfied. Otherwise:
python3 references/scripts/gi-ci-wait.py {N} --interval {review.ci_poll_interval} --timeout {review.ci_timeout} and read verdict (pass / fail / pending / none; none is clean only when none_confirmed is true).python3, use the merge-safe manual fallback — never a filtered gh pr checks list.fail, run gh run view {run_id} --log-failed.ci_sha = the headRefOid the wait ran against; report ci_status as passed@ or failed@ plus that 40-character SHA (no_ci and a degraded wait stay bare).Settle window, fallback loop, binding: references/prepass-tests-ci-mechanics.md (Step 5) — read it now.
review.ignore_ci_billing_failures: true makes a terminal fail non-blocking at this gate only: CI is still polled, Step 6 raises no CI fixable, and the soft-pass conjunction treats the CI leg as satisfied. ci_status stays failed@{sha40}, never passed@; the result is PARTIAL; the merge is still refused, and /auto-pilot refuses the same red checks. Invariants: references/prepass-tests-ci-mechanics.md (Ignoring terminal CI failures).
[5/7] CI Status ✓ all checks passed
[5/7] CI Status ✗ {N} checks failed — {check_name}: {bucket}/{state}
[5/7] CI Status ⚠ {N} checks failed — not blocking (review.ignore_ci_billing_failures: true)
[5/7] CI Status ⚠ checks still running after {timeout}s
[5/7] CI Status ○ no CI checks configured
Pending CI is not clean and is never merged. Interactive: ask whether to wait another review.ci_timeout; on no, report without merging. Auto: re-run the wait once; if still pending, stop with the pending checks under Remaining.
Fix only issues with action: "fix" — action: "note" issues are reported, never fixed. Sources: each fail dimension or UI fix finding, Step 4 test failures, Step 5 CI failures. With none, print ○ no fixable issues (noted: {note_count}) and exit the fix loop; soft-pass is evaluated next, never implied.
The Closes #{linked_issue} fix is a read-modify-write PR-body edit (driver rule 2 in references/docs/platform-github.md): gh pr view {N} --json body, prepend Closes #{linked_issue} as the first line (references/docs/naming-conventions.md), gh pr edit {N} --body "{merged_body}", then re-read and confirm ## Decision Record, the AC Verification table, and any trailing <!-- idd:qa v1 … --> marker are still present (a legacy gitissue:qa one counts). Never replace the body, and never prepend when line 1 is Refs #{linked_issue}.
Delegate code fixes to the fixer subagent (references/agents/fixer.md), reused across cycles — never edit code in the main context. It scans the staged set (references/scripts/gi-secscan.py, Step 2's --policy-ref) and commits; you push with git push origin "$branch_name". Spawn: references/review-loop-mechanics.md.
[6/7] Fix ✓ fixed {N} issues (noted: {note_count} — not fixed)
After Step 6, return to Step 3. Mechanics: references/review-loop-mechanics.md — read it now.
review.max_cycles (default 3). light and qa_handoff = trusted each cap it at min(1, configured_cap). The light profile also skips the optional browser UI review; trusted never does. Neither relaxes the hard-block conditions.traceability: fail (a missing Closes #N) and any acceptance_criteria: fail block even with green tests.qa_handoff after any push this skill makes — Step 2's auto-fix commit as much as every fixer push: re-read headRefOid and recompute. The loop re-enters at Step 3.review.soft_pass: true, default): stop when zero action: "fix" issues remain, tests pass (or are skipped by config), CI passes (or is absent, disabled, or held non-blocking by review.ignore_ci_billing_failures: true — loop exit only, never clean at the auto-merge gate), and traceability is not fail.review.soft_pass: false): strict mode keeps the same test/CI legs (review.ignore_ci_billing_failures included, still never clean at the auto-merge gate) and adds zero remaining action: "note" findings and pass on every enabled dimension; any partial dimension is a strict blocker — stop, report it under Remaining, never merge.review.max_cycles; a cycle killed before its Step 6 started is re-run, and only a new fix cycle is the restored one plus one (Progress record).Print the summary from references/report-templates.md and apply its Review contract to every terminal outcome, including a stop before Step 7: first row Result: (PASS, MERGED, PARTIAL, WARN, or BLOCKED), then Evidence, Uncertainty, and Decision rows — read it now.
Merge rule. /issue-pr-review merges a PR only when review.auto_merge is true and the PR is clean, in interactive and --auto runs alike, and never under --no-merge or --review-only. Clean excludes two cases: pending CI is never clean; a CI failure held non-blocking by review.ignore_ci_billing_failures is never clean either. The merge uses review.merge_method (default: squash merge), deletes the head branch and is irreversible: on an unmet gate, report and stop — never delete a branch by hand.
Merge floor. One home; /auto-pilot reads the merge_floor returned. met needs the acceptance-criteria check enabled, at least one criterion is pass and none is unverified or ends with (needs review) (unconfirmed), deferred rows excluded only on a Refs #N PR (references/verification-checks.md Intentional reference), on a bug PR a red→green Bug proof at verified_head (not reproduced never is), and a standard risk tier for origin/${base_ref}...${verified_head} from references/scripts/gi-sensitive.py --classify on the Depth gate's labels, step 4's bind, fetch and classify rerun here (sensitive is sensitive change ({classes}), any other result risk tier unknown); else unmet: {reason}. met reads met@{verified_head}:{floor_base}. Print it under Evidence. An --auto / IDD_AUTO_MODE=1 run never merges unmet; interactive asks Merge with the floor unmet ({reason})? [y/N].
Merge identity (last gate before the merge). Bind verified_head = Step 5's ci_sha (or, with no ci_sha, the headRefOid the final review cycle read). Re-read headRefOid and baseRefName, then compare that base with verified_head. Merge only when the head still equals verified_head, base tip floor_base, and behind_by is exactly 0 (the live base branch, never baseRefOid); anything else is BLOCKED, never a re-wait. Merge with --{merge_method} and --match-head-commit "$verified_head". Patch-id equality never replaces fresh integration checks. Commands and reasons: references/report-templates.md (Auto-Merge).
Post-merge cleanup (after every merge). Run python3 references/scripts/gi-postmerge.py --pr {N} to remove the merged branch and its clean worktrees and switch to the updated base (references/docs/post-merge-cleanup.md). A non-zero merge exit on a PR that now reads MERGED is still a merge (add --delete-remote); ok: false never downgrades it. Untracked files are deleted only on an interactive yes to the exact list shown (its digest). Rules: references/report-templates.md (Auto-Merge).
Then the run-stats footer (references/run-stats.md; tokens only where the host reported a count) — the last thing printed at every terminal outcome, including a stop before Step 7. After it, clear the progress record (Progress record) at every Result.
Review-only mode (--review-only) — authoritative definition.
references/static-checks.md, through the Fix command's $scope/approved-args pipe (Approved paths, built first) — no --fix, --write, or other mutating flags. No list built or readable: the check did not run (references/report-templates.md Evidence), never clean.Optional, propose-only. With no user present to approve (a subagent, unattended, or test run), skip it: print nothing, open nothing. Otherwise, once the result is delivered, follow references/self-improve.md. Examples of a lasting mismatch here:
--review-only, or always asks to see the noted findings before the fix loop.Output follows references/docs/terminal-style.md; gh calls use --json with explicit fields.
No PR, CI pending at timeout, a blocker at the cycle cap, or a merge conflict: stop without merging and print the rich block from references/error-messages.md.
LICENSE (opens in a new tab)docs/README.md (opens in a new tab)references/agents/code-reviewer.md (opens in a new tab)references/agents/criteria-judge.md (opens in a new tab)references/agents/fixer.md (opens in a new tab)references/agents/ui-reviewer.md (opens in a new tab)references/docs/agent-model-effort.md (opens in a new tab)references/docs/agent-overrides.md (opens in a new tab)references/docs/config-schema.md (opens in a new tab)references/docs/context-threshold.md (opens in a new tab)references/docs/idd-methodology.md (opens in a new tab)references/docs/naming-conventions.md (opens in a new tab)references/docs/platform-github.md (opens in a new tab)references/docs/post-merge-cleanup.md (opens in a new tab)references/docs/pre-commit-security.md (opens in a new tab)references/docs/sync-conventions.md (opens in a new tab)references/docs/terminal-style.md (opens in a new tab)references/docs/ui-review.md (opens in a new tab)references/error-messages.md (opens in a new tab)references/practice-ci-cd.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
pr-review, github-actions, ci-checks, auto-merge, code-review
npx claudepluginhub luongnv89/idd --plugin idd8 skills in this plugin
/auto-pilotRun an autonomous triage-resolve-review-merge loop to auto-pilot the GitHub issue backlog, working through eligible issues until none remain or a stop condition fires, with no routine prompts. Don't use for single-issue work (/issue-resolver), triage (/issue-triage), or PR review (/issue-pr-review)./init-iddGenerate a .idd.yml by auto-detecting a repo's stack, test runner, and size. Use to init, setup, or configure IDD Stack, or set up IDD. Don't use for editing an existing .idd.yml, creating issues (use /issue-creator), or plain git/npm init./issue-analysisAnalyze one GitHub issue for root cause, complexity, and risk into .idd/analysis-N.json. Use when you need to analyze or scope issue #N. Don't use for creating issues (/issue-creator), triaging (/issue-triage), or resolving (/issue-resolver)./issue-creatorCreate structured GitHub issues from text, screenshots, or lists, with acceptance criteria and preserved reporter context. Use for filing bugs/features, batch creation, or template cleanup. Don't use for resolving, triaging, or deep issue analysis./issue-resolverCreate an atomic PR closing a GitHub issue end-to-end via a 6-step pipeline. Use to resolve, fix, or implement issue #N. Don't use for analysis without fixing (/issue-analysis), reviewing a PR (/issue-pr-review), or bulk backlog work (/auto-pilot)./issue-triageScan open GitHub issues for dependencies, priority, parallel work, and staleness. Use to prioritize the backlog or pick what to do next. Don't use for one-issue analysis (/issue-analysis), resolving (/issue-resolver), or creating (/issue-creator).Other plugins' skills for the same job