Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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:

  1. Fetch comments and checks
  2. Triage already-addressed feedback
  3. Run /interpret-feedback skill
  4. Split questions and change requests
  5. Run /evaluate-findings skill
  6. Resolve ambiguities
  7. Run /implement-findings skill
  8. Verify fixes
  9. Answer reviewer questions
  10. Wait for AI re-reviews and checks
  11. Run /reply-to-pr-threads skill
  12. Run /reply-to-pr-conversation skill
  13. 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 with gh run view --job <job id> --log-failed, taking the job id from the end of detailsUrl. 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 — run bash ${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

Полный SKILL.md на GitHub

Установить resolve-pr-feedback в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

scripts/fetch-pr-data.shscripts/fetch-sonarcloud-findings.sh

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить resolve-pr-feedback с