본문으로 건너뛰기
cccskills
무료GitHub에 공개

resolving-pr-issues

Multi-agent review resolution with trust-but-verify methodology. Accepts a PR number/URL or a local code-review report file. Extracts review comments, verifies each with parallel agents using confidence scoring (0-100), filters false positives, presents a triage report for approval, then applies fixes and replies. Use when user runs /resolve-review, mentions "resolve PR comments", "address review feedback", "fix PR suggestions", "handle review comments", or "resolve review findings".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구GitHub
설치 방법 보기

포함된 파일(4)

  • SKILL.md6.1 KB
  • EXAMPLES.md11.0 KB
  • TROUBLESHOOTING.md7.2 KB
  • WORKFLOW.md15.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Multi-Agent PR Issue Resolver

Resolve review suggestions using parallel verification and confidence scoring.

Core Principle: Never assume a review comment is correct. Verify every suggestion against actual code before acting.

Input Detection

Detect input mode from $ARGUMENTS:

  • PR mode: argument is a number (123) or contains github.com/starts with http — use gh API
  • File mode: argument contains / or .md or file exists on disk — parse findings from file
  • No argument: show usage hint and stop

Phase 1 — Context Gathering

PR mode — launch 2 parallel Haiku agents:

Agent A — PR Metadata: Run gh pr view $ARGUMENTS --json number,title,body,baseRefName,headRefName,state,author,reviewRequests,statusCheckRollup and gh pr diff $ARGUMENTS. Return: PR summary, base/head branches, CI status, files changed.

Agent B — Comment Extraction: Fetch all review comments using both endpoints:

  • Inline review comments: gh api repos/{owner}/{repo}/pulls/{pr}/comments
  • General issue comments: gh api repos/{owner}/{repo}/issues/{pr}/comments

Return structured list: comment ID, author, type (inline/general), file:line (if inline), body text, resolved status, whether it contains a suggestion code block.

File mode — launch 1 Haiku agent:

Parse the review report file. Extract each finding: description, file:line, category, suggested fix. Detect format from review/skills/code-review/ report template or other common review formats.

Skip conditions: If no unresolved comments/findings exist, report "Nothing to resolve" and stop.

Phase 2 — Parallel Verification

For each unresolved comment/finding, launch a parallel Sonnet agent (batched in groups of 5):

Each agent receives: the comment text, 50 lines of file context around the referenced line, the PR diff (or current branch diff in file mode), and the PR description.

Each agent returns:

Verdict: CONFIRMED | FALSE-POSITIVE | AMBIGUOUS
Category: Blocker | Bug | Code Quality | Style | Question
Confidence: 0-100
Evidence: {what was checked and found}
Suggested resolution: {specific code change or response text}

See WORKFLOW.md for agent prompt template and false positive filtering rules.

Phase 3 — Triage Report

Filter findings scoring below 80. Present a structured report:

## Review Issue Triage — {repo} PR #{number}
{N} comments analyzed, {M} actionable

### CONFIRMED ({count})
| # | Comment | File:Line | Category | Confidence | Action |
|---|---------|-----------|----------|------------|--------|
| 1 | {summary} | src/auth.ts:45 | Bug | 92 | Fix: add null check |

### FALSE POSITIVE ({count})
| # | Comment | File:Line | Confidence | Reason |
|---|---------|-----------|------------|--------|
| 2 | {summary} | src/api.ts:12 | 15 | Handled by framework |

### AMBIGUOUS ({count})
| # | Comment | File:Line | Options |
|---|---------|-----------|---------|
| 3 | {summary} | src/db.ts:78 | Option A: refactor / Option B: keep + comment |

User approval gate: Present the report and wait for the user to approve, modify, or reject the resolution plan before proceeding. For AMBIGUOUS items, let the user choose. For suggestions offering multiple options, present all and let the user decide.

Phase 4 — Apply Changes

Execute the approved plan:

  1. PR mode: gh pr checkout $ARGUMENTS; File mode: use current branch
  2. For each approved fix (priority order: Blockers > Bugs > Code Quality > Style):
    • Edit the code as planned
    • Run targeted tests to verify the fix
    • Confirm no regressions in related functionality
    • Commit immediately: fix(scope): description — addresses review comment on [topic]
  3. If tests fail, investigate root cause — do not skip or force-pass

See WORKFLOW.md for commit message format and priority ordering.

Phase 5 — Update PR

PR mode only (skip entirely in file mode):

  1. Push commits to the PR head branch
  2. Reply to each comment using the correct mechanism:
    • Inline review comments: gh api repos/{owner}/{repo}/pulls/{pr}/comments/{id}/replies -f body="..."
    • General PR comments: post a single consolidated response with anchor links: ### Re: [Finding title](#issuecomment-{id})
  3. Resolution status formats:
    • Resolved: "Addressed in commit abc1234 — [brief description]"
    • False positive: evidence-based explanation (see WORKFLOW.md for template)
    • Deferred: "Created follow-up issue #xyz — [reason]"
  4. Re-request reviews: gh pr edit $ARGUMENTS --add-reviewer <username>

Confidence Scoring Rubric

ScoreMeaning
0False positive — reviewer misread the code or concern doesn't apply
25Plausible but likely misunderstanding, unable to verify
50Valid observation but nitpick or style preference
75Real issue, important, directly impacts functionality
100Critical bug or security issue confirmed by evidence

Threshold: Filter out findings below 80.

Resources

  • WORKFLOW.md — Agent prompt templates, false positive rules, scoring details, reply formats
  • EXAMPLES.md — End-to-end orchestration examples for PR and file modes
  • TROUBLESHOOTING.md — Common issues with gh CLI, comment API, and multi-agent pipeline

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

adr

무료

Create, review, and manage Architecture Decision Records (ADRs) with auto-numbering, template detection, quality review, and index maintenance. Use when user mentions "ADR", "architecture decision", "document this decision", "create ADR", "review ADR", editing ADR files (docs/adr/, doc/adr/, .adr/), or discussing architectural choices and tradeoffs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

joaquimscosta/arkhe-claude-plugins212026년 10월 16일 업데이트

architect

무료

Analyze system architecture, module structure, API contracts, data models, and code patterns. Use when designing systems, reviewing module boundaries, evaluating API designs, analyzing data models, checking pattern conformance, tracing decisions, or reviewing frontend architecture. Triggers: "architecture", "module design", "API design", "data model", "boundaries", "patterns", "decisions", "frontend architecture".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

joaquimscosta/arkhe-claude-plugins212026년 10월 16일 업데이트

Converts natural-language descriptions or UI spec files into optimized Google Stitch prompts. Use when creating, refining, or validating design directives for Google Stitch. Use when user says "create a Stitch prompt", "optimize this for Stitch", "convert this spec to a Stitch prompt", "write a UI prompt", or mentions Google Stitch prompt authoring. Follows Stitch best practices with short, directive prompts focused on screens, structure, and visual hierarchy.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

joaquimscosta/arkhe-claude-plugins212026년 10월 16일 업데이트

Zero-dependency live-preview server providing an agent↔browser bidirectional companion. Watches a content directory, wraps HTML fragments in a frame template, broadcasts live-reload over WebSocket, and captures browser-side click events to a JSONL file. Use when an agent needs to show HTML to the user in a browser and react to clicks — mockups, design exploration, gallery browsing, multi-select choices, prototype iteration. Triggered by "live preview", "browser companion", "preview server", "browser mockup", "show in browser", "arkhe-preview", or any skill that wants to write HTML fragments and have the user see them reload in real time.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

joaquimscosta/arkhe-claude-plugins212026년 10월 16일 업데이트

Deletes merged git branches (local and remote) and flags stale unmerged branches for manual review. Use when user mentions "cleanup branches", "delete merged branches", "prune old branches", "remove stale branches", "branch cleanup", or runs /cleanup-branches command.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

joaquimscosta/arkhe-claude-plugins212026년 10월 16일 업데이트

Interactive Claude Code environment setup wizard. Detects existing configuration, guides through best-practice setup for Global CLAUDE.md, project scaffolding, MCP servers, hooks, custom agents, keybindings, and settings. Use when user runs /devtools:code-env-setup, mentions "setup claude code", "configure claude", "claude code setup", "environment setup", or "initialize claude code".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

joaquimscosta/arkhe-claude-plugins212026년 10월 16일 업데이트

joaquimscosta의 스킬 모두 보기

이 스킬의 문제 신고