/dev10x-coding:gh-pr-doctorfrom dev10x-coding
Audits merged PRs for unresolved review threads that accumulate as silent tech debt. Groups unaddressed feedback by theme (security, error handling, dead code) and creates follow-up issues with PR references.
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; scripts run unread.
Announce: "Using dev10x-coding:gh-pr-doctor to audit merged PRs for unresolved review threads."
This skill follows references/task-orchestration.md patterns.
REQUIRED: Create tasks before ANY work. Execute at startup:
TaskCreate(subject="Scan PRs for unresolved threads", activeForm="Scanning PRs")TaskCreate(subject="Classify and group findings", activeForm="Classifying findings")TaskCreate(subject="Create follow-up issues", activeForm="Creating issues")TaskCreate(subject="Post audit trail comments", activeForm="Posting audit trail")Audits closed/merged PRs for unresolved review comment threads — legitimate feedback (security, race conditions, dead code) that silently accumulates as tech debt after PR merge.
Workflow:
GH-NNN PR Audit marker)--repo owner/repo — target a specific repo--limit N — max PRs to scan (default: 200)--dry-run — show findings without creating issues${CLAUDE_PLUGIN_ROOT}/skills/gh-pr-doctor/scripts/gh-unresolved-threads.py \
--repo <repo> --limit <N> [--dry-run]
The script:
reviewThreads for isResolvedGH-NNN PR Audit marker in commentsisResolved field{pr_number, title, threads: [{path, body, author}]}Read the scan output and group unresolved threads by theme:
| Theme | Indicators |
|---|---|
| Security | auth, permission, injection, XSS, CSRF |
| Error handling | exception, error, try/catch, fallback |
| Type safety | type, annotation, Any, cast, typing |
| Dead code | unused, deprecated, remove, cleanup |
| Performance | N+1, query, index, cache, optimize |
| Architecture | coupling, dependency, circular, layer |
| Testing | test, coverage, mock, fixture, assert |
| Other | anything not matching above |
Present grouped findings to the user.
REQUIRED: Call AskUserQuestion (do NOT use plain text).
Options:
For each theme group with findings:
gh issue create --repo <repo> \
--title "PR Audit: <theme> findings (<count> threads)" \
--body "<formatted findings with PR links>"
Issue body format:
## PR Audit: <Theme>
Unresolved review threads found during automated PR audit.
| PR | File | Thread | Author |
|----|------|--------|--------|
| #N | path/file.py | Summary of comment | @author |
### Source PRs
- #N: PR title
- #M: PR title
For each audited PR, post a comment marking it as audited:
${CLAUDE_PLUGIN_ROOT}/skills/gh-pr-doctor/scripts/gh-audit-comment.py \
--repo <repo> --mapping <issues-json>
Comment format:
GH-NNN PR Audit — unresolved threads tracked in:
- #X: Security findings
- #Y: Error handling findings
This marker enables incremental re-runs — already-audited PRs are skipped on subsequent invocations.
${CLAUDE_PLUGIN_ROOT}/skills/gh-pr-doctor/scripts/gh-audit-check.py \
--repo <repo>
Reports:
Can be invoked standalone or as part of a maintenance workflow:
dev10x-coding:fanout to process findingsdev10x-coding:work-on per created issueWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
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).
/foremandev10x-coding:foremanUnattended overnight delivery of a milestone/bundle queue — a two-tier harness (watchdog main session + cheap foreman overseer + work-on crew) that pre-flights permissions while the supervisor is still present, loops the queue, defers questionable scope to the end, survives quota-block rollovers, and self-audits its friction at dawn. Defaults to the adaptive auto-advance + afk gate policy (guided/strict on request) — never YOLO auto-mode. TRIGGER when: the supervisor is leaving (AFK / overnight / "ship these milestones while I sleep") with 1+ milestones or issue bundles queued for autonomous delivery. DO NOT TRIGGER when: single attended bundle (use dev10x-coding:work-on), parallel independent items while attended (use dev10x-coding:fanout), or only the gate policy is wanted (use dev10x:afk).
/gchat-review-requestdev10x-coding:gchat-review-requestPost a Google Chat review request for a PR using per-repo config (space, mentions). Mirrors dev10x-coding:slack-review-request. Invoked standalone or delegated to by dev10x-coding:request-review. TRIGGER when: a PR needs a Google Chat review notification. DO NOT TRIGGER when: Google Chat is not configured, or posting to Slack (use dev10x-coding:slack-review-request).
/gh-pr-bookmarkdev10x-coding:gh-pr-bookmarkPost a rich session bookmark comment on a PR — captures session ID, review thread status, current state, and next steps so the next session can pick up where this one left off. TRIGGER when: pausing or ending session with an open PR that has in-progress work. DO NOT TRIGGER when: no PR exists, or session-wrap-up handles bookmarking automatically.
/gh-pr-createdev10x-coding:gh-pr-createCreate a GitHub pull request for the current branch with issue tracker integration (GitHub Issues, Linear, or JIRA). Sources or generates a JTBD Job Story for the PR description, extracts ticket info from branch name, pushes the branch, creates a draft PR with Job Story, commit list, and issue tracker link, posts summary comment, and opens in browser. TRIGGER when: branch is ready for PR creation, user says "create PR". DO NOT TRIGGER when: PR already exists (use dev10x-coding:gh-pr-respond or dev10x-coding:gh-pr-monitor instead), or user just wants to push changes.