원클릭으로
triage-pr
Fetch, analyze, and triage PR review comments — present report for user approval before any action
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Fetch, analyze, and triage PR review comments — present report for user approval before any action
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | triage-pr |
| description | Fetch, analyze, and triage PR review comments — present report for user approval before any action |
| disable-model-invocation | true |
| argument-hint | [pr-number] |
Triage all review comments on PR #$ARGUMENTS in the current repository.
CRITICAL: Do NOT reply to any comments, modify any code, or take any action until the user explicitly approves. This workflow is report-first, act-later.
Use gh api to fetch:
gh api repos/{owner}/{repo}/pulls/{pr}/commentsgh api repos/{owner}/{repo}/issues/{pr}/commentsgh pr view {pr} --json reviewsExtract the owner/repo from the current git remote.
For every review comment, read the actual source code referenced by the comment before judging. Do not rely solely on the diff hunk. Classify each comment as:
if/continue is idiomaticPresent a full report to the user with these sections. Skip bot comments (Cloudflare deploy notifications, CI status, etc.).
| # | File:Line | Issue | Recommended Fix |
|---|
| # | File:Line | Issue | Recommendation |
|---|
| # | File:Line | Reviewer Says | Why It's Wrong |
|---|
After presenting the report, ask the user what they want to do. Offer these options:
For replying to false positives, use:
gh api repos/{owner}/{repo}/pulls/{pr}/comments/{comment_id}/replies -X POST -f body="..."
Group similar false positives — reply to the first in a cluster and note it covers the others.
For code fixes:
dotnet build to verifyDo NOT merge or close the PR.