resolve-pr-feedback
БесплатноЗапускает вложенные скриптыНе проверенEvaluate, fix, and answer GitHub PR comments, and fix what failing checks report. Use when the user asks to "resolve PR feedback", "resolve PR comments"…
от tobihagemann★ 428 звёзд на GitHubОб этом скилле
Resolve PR Feedback
Fetch unresolved review comments from a GitHub PR (inline threads, review-body observations, and issue-comment observations from the PR conversation), evaluate each one, fix or skip based on confidence, answer reviewer questions using the recalled rationale behind the change, and reply. Inline threads are answered with thread replies; issue-comment findings from people are answered with new PR conversation comments. Review-body findings, AI-reviewer issue comments, and the findings behind the head commit's failing checks flow through the same evaluate-and-fix pipeline; their outcomes land only in the summary.
Task Tracking
At the start, use TaskCreate to create a task for each step:
- Fetch comments and checks
- Triage already-addressed feedback
- Run
/interpret-feedbackskill - Split questions and change requests
- Run
/evaluate-findingsskill - Resolve ambiguities
- Run
/implement-findingsskill - Verify fixes
- Answer reviewer questions
- Wait for AI re-reviews and checks
- Run
/reply-to-pr-threadsskill - Run
/reply-to-pr-conversationskill - Summary
Step 1: Fetch Comments and Checks
Auto-detect owner, repo, and PR number from current branch if not provided. Then run ${CLAUDE_SKILL_DIR}/scripts/fetch-pr-data.sh, which handles full pagination (reviews, review threads, inner comment pages for long threads, issue comments, commits, the head commit's checks) and emits a single merged JSON document:
bash ${CLAUDE_SKILL_DIR}/scripts/fetch-pr-data.sh <owner> <repo> <pr_number>
Output shape:
{
"meta": { "title", "url", "headRefName", "headRefOid", "baseRefName", "body" },
"reviewThreads": [ { "id", "isResolved", "isOutdated", "comments": { "nodes": [ { "author", "body", "path", "line", "originalLine", "diffHunk" } ] } } ],
"reviews": [ { "author", "body", "state", "submittedAt" } ],
"issueComments": [ { "author", "body", "createdAt", "updatedAt", "url" } ],
"commits": [ { "commit": { "oid", "abbreviatedOid", "message", "committedDate" } } ],
"checks": [ { "name", "app", "state", "conclusion", "title", "detailsUrl" } ]
}
Filter review threads to unresolved only. Filter reviews to those with a non-empty body, excluding PENDING state (unsubmitted drafts). Filter issue comments to those with a non-empty body. Filter checks to those whose state is failing.
Read what each failing check reports, by its app:
github-actions— read the failed steps' log withgh run view --job <job id> --log-failed, taking the job id from the end ofdetailsUrl. Record each distinct build error or failing test as one check finding, with the file and line the log names. When the log cannot be read or names no failure, record the check as unreadable.sonarqubecloud— runbash ${CLAUDE_SKILL_DIR}/scripts/fetch-sonarcloud-findings.sh <detailsUrl>, which emits{ "qualityGate", "failedConditions": [ { "metric", "actual", "threshold", "comparator" } ], "issues": [ { "rule", "path", "line", "message", "severity", "type" } ] }. Record each issue as one check finding, and each failed condition that no issue accounts for, such as coverage on new code, as one more. When the script exits non-zero, the analysis is not readable: record the check as unreadable.- Any other app — record the check as unreadable.
Tag each check finding with the source check and the name of its check. Check findings skip Steps 2 through 4 and feed Step 5. Record each unreadable check's name, title, and detailsUrl for the Step 13 summary.
Step 2: Triage Already-Addressed Feedback
Review bodies and PR conversation comments (issue comments) often pack multiple distinct concerns into one comment. Split each non-empty, non-PENDING review body and each non-empty issue comment into atomic observations, one per paragraph or bullet, so each can be evaluated on its own merits. When a review body nests observations inside collapsed <details> blocks, as AI reviewers do for nitpicks that name a file and line range, extract every observation inside them, keeping its file and line range in its text, and drop only blocks that carry no observation, such as review metadata, commit lists, and prompts for AI agents.
For every observation, check whether a subsequent commit already addresses it. Compare the source timestamp (submittedAt for review bodies, createdAt for issue comments) against each commit's committedDate; only commits after the source was posted can address it. Start with commit messages; read git show <oid> only when the message is ambiguous. A commit addresses an observation when its changes clearly resolve that specific concern. Touching the same area is not enough for an observation.
When an observation asserts a requirement or an intended behavior, compare that assertion against meta.body. The PR description is the author's own current statement of intent, so a description stating the
Установить resolve-pr-feedback в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл resolve-pr-feedback?
Evaluate, fix, and answer GitHub PR comments, and fix what failing checks report. Use when the user asks to "resolve PR feedback", "resolve PR comments", "answer review questions", or "fix PR checks".
Как установить скилл resolve-pr-feedback?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл resolve-pr-feedback запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic