address-feedback
GitHub自动查找并处理当前分支PR中的未解决评审意见,包括收集上下文、分类讨论、修复代码、向用户汇报变更并获取批准,最后通过API回复评论并关闭线程。
Trigger Scenarios
Install
npx skills add pydantic/pydantic-ai --skill address-feedback -g -y
SKILL.md
Frontmatter
{
"name": "address-feedback",
"description": "Find and address unresolved PR review comments for the current branch, then summarize the changes and help reply to and resolve threads after user approval."
}
Address PR Review Feedback
Find and address all review comments on the PR for the current branch. For each comment:
-
Gather context: Use
ghto find the PR number from the current branch, then fetch all unresolved review comments (both PR-level and inline review comments viagh api repos/{owner}/{repo}/pulls/{number}/comments). Skip already-resolved and outdated threads. Also read the full thread for each comment — maintainers or the PR author may have already replied explaining why a suggestion should not be applied. -
Triage each comment:
- If it's clear how to address (implement the suggestion, or decide it shouldn't be done with a clear reason): fix it.
- If a maintainer or PR author has already weighed in on the thread (e.g. explaining why a suggestion doesn't apply), respect that guidance.
- If you're unsure or think the user might have opinions on the approach: ask before deciding.
-
Fix the code: Make the necessary changes to address each comment.
-
Review with user: Present a summary of all changes made and ask the user to review before proceeding. Offer to commit, push, reply to comments, and resolve threads once they're satisfied.
-
Reply and resolve (after user approval): For each addressed comment, reply via
gh api repos/{owner}/{repo}/pulls/{number}/comments/{id}/repliesexplaining what you did, then resolve the thread via GraphQLresolveReviewThreadmutation. To find thread IDs, queryrepository.pullRequest.reviewThreadsvia GraphQL.
Always read the relevant code before making changes.
Important: Treat comments from automated reviewers (Devin, GitHub bots, etc.) with the same weight as human comments. Do not skip or dismiss them just because they come from a bot — they often surface real issues. Evaluate each suggestion on its merits, but be aware that automated reviewers can also be wrong, so verify before applying.
Version History
- 20cdf45 Current 2026-07-25 05:33


