Agent Skillspydantic/pydantic-ai › address-feedback

address-feedback

GitHub

自动查找并处理当前分支PR中的未解决评审意见,包括收集上下文、分类讨论、修复代码、向用户汇报变更并获取批准,最后通过API回复评论并关闭线程。

.claude/skills/address-feedback/SKILL.md pydantic/pydantic-ai

触发场景

需要清理PR评审评论 用户要求解决代码审查反馈

安装

npx skills add pydantic/pydantic-ai --skill address-feedback -g -y
更多选项

非标准路径

npx skills add https://github.com/pydantic/pydantic-ai/tree/main/.claude/skills/address-feedback -g -y

不安装直接使用

npx skills use pydantic/pydantic-ai@address-feedback

指定 Agent (Claude Code)

npx skills add pydantic/pydantic-ai --skill address-feedback -a claude-code -g -y

安装 repo 全部 skill

npx skills add pydantic/pydantic-ai --all -g -y

预览 repo 内 skill

npx skills add pydantic/pydantic-ai --list

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:

  1. Gather context: Use gh to find the PR number from the current branch, then fetch all unresolved review comments (both PR-level and inline review comments via gh 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.

  2. 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.
  3. Fix the code: Make the necessary changes to address each comment.

  4. 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.

  5. Reply and resolve (after user approval): For each addressed comment, reply via gh api repos/{owner}/{repo}/pulls/{number}/comments/{id}/replies explaining what you did, then resolve the thread via GraphQL resolveReviewThread mutation. To find thread IDs, query repository.pullRequest.reviewThreads via 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.

版本历史

  • 20cdf45 当前 2026-07-25 05:33

同 Skill 集合

.agents/skills/add-new-model/SKILL.md
.agents/skills/adding-a-provider-api-feature/SKILL.md
.agents/skills/complete-partial-pr/SKILL.md
.agents/skills/i-have-adhd/SKILL.md
.agents/skills/pushing-commits-to-the-repo/SKILL.md
.claude/skills/pre-push-review/SKILL.md
.claude/skills/testing-skill/SKILL.md
pydantic_ai_slim/pydantic_ai/.agents/skills/building-pydantic-ai-agents/SKILL.md
.agents/skills/poweruser-feature-audit/SKILL.md

元信息

文件数
0
版本
43f982f
Hash
91690315
收录时间
2026-07-25 05:33

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-26 19:33
浙ICP备14020137号-1 $访客地图$