Agent Skillsfcakyon/claude-codex-settings › resolve-pr-comments

resolve-pr-comments

GitHub

处理PR评论,修复有效代码问题并回复无需修改的反馈。支持自动检测PR、获取未解决评论、批量修复代码或起草简洁回复,严禁自动提交。

plugins/github-dev/skills/resolve-pr-comments/SKILL.md fcakyon/claude-codex-settings

触发场景

address PR comments resolve PR feedback handle review comments fix PR issues respond to PR review

安装

npx skills add fcakyon/claude-codex-settings --skill resolve-pr-comments -g -y
更多选项

非标准路径

npx skills add https://github.com/fcakyon/claude-codex-settings/tree/main/plugins/github-dev/skills/resolve-pr-comments -g -y

不安装直接使用

npx skills use fcakyon/claude-codex-settings@resolve-pr-comments

指定 Agent (Claude Code)

npx skills add fcakyon/claude-codex-settings --skill resolve-pr-comments -a claude-code -g -y

安装 repo 全部 skill

npx skills add fcakyon/claude-codex-settings --all -g -y

预览 repo 内 skill

npx skills add fcakyon/claude-codex-settings --list

SKILL.md

Frontmatter
{
    "name": "resolve-pr-comments",
    "description": "This skill should be used when user asks to \"address PR comments\", \"resolve PR feedback\", \"handle review comments\", \"fix PR issues\", \"respond to PR review\", or explicitly invokes \"resolve-pr-comments\"."
}

Resolve PR Comments

Analyze unresolved PR review comments, fix valid concerns, and draft responses for comments that do not require code changes.

When explicitly invoked with extra text, treat that text as the PR number or URL. If no PR reference is provided, infer it from the current branch.

Process

  1. Preferred execution

    • If subagents are available, use github-dev:pr-comment-resolver and pass the PR reference.
    • Otherwise follow the manual steps below.
  2. Fetch unresolved comments

    • If a PR number or URL is provided, use it directly.
    • Otherwise auto-detect the PR from the current branch with gh pr view --json number,headRefName.
    • Fetch inline comments with gh api repos/{owner}/{repo}/pulls/{number}/comments.
    • Fetch review-level comments with gh pr view <number> --json reviews,comments.
    • Filter to unresolved or pending threads.
  3. Resolve each comment

    • If the comment is valid, fix the code and search the codebase for the same problem in other locations.
    • Fix all matching occurrences, not just the location mentioned in the comment.
    • If the comment does not require a code change, draft a concise reply.
    • If the comment is from a bot, reply with a direct factual sentence and no pleasantries.
  4. Reply style

    • Start in lowercase.
    • Use simple language and short sentences.
    • Avoid end punctuation when possible.
    • Be concise and polite when replying to real people.
  5. Never auto-submit

    • Present all draft responses before posting them.
    • Reply comments are posted directly with gh api repos/{owner}/{repo}/pulls/{number}/comments/{comment_id}/replies -f body="..." (the {number} PR number is required, the endpoint 404s without it).
    • Add a random 3-5 second delay between posted replies with sleep $((RANDOM % 3 + 3)).

版本历史

  • 9d0ce8b 当前 2026-07-25 10:34

同 Skill 集合

plugins/adhd-output-style/skills/adhd-output-style/SKILL.md
plugins/anthropic-office-skills/skills/pdf/SKILL.md
plugins/azure-tools/skills/azure-usage/SKILL.md
plugins/azure-tools/skills/setup/SKILL.md
plugins/cloudflare-skills/skills/cloudflare-deploy/SKILL.md
plugins/codex-advisor/skills/codex-advisor/SKILL.md
plugins/dokploy-skills/skills/dokploy-deploy/SKILL.md
plugins/fable-advisor/skills/fable-advisor/SKILL.md
plugins/frontend-design-skills/skills/anthropic-frontend-design/SKILL.md
plugins/frontend-design-skills/skills/openai-frontend-design/SKILL.md
plugins/gcloud-tools/skills/gcloud-usage/SKILL.md
plugins/gcloud-tools/skills/setup/SKILL.md
plugins/github-dev/skills/clean-gone-branches/SKILL.md
plugins/github-dev/skills/commit-staged/SKILL.md
plugins/github-dev/skills/create-pr/SKILL.md
plugins/github-dev/skills/review-pr/SKILL.md
plugins/github-dev/skills/setup/SKILL.md
plugins/github-dev/skills/update-pr-summary/SKILL.md
plugins/hetzner-skills/skills/hetzner-deploy/SKILL.md
plugins/humanize/skills/humanize/SKILL.md
plugins/livekit-skills/skills/livekit-skills/SKILL.md
plugins/mongodb-skills/skills/mongodb-atlas-stream-processing/SKILL.md
plugins/mongodb-skills/skills/mongodb-mcp-setup/SKILL.md
plugins/mongodb-skills/skills/mongodb-query-optimizer/SKILL.md
plugins/openai-office-skills/skills/doc/SKILL.md
plugins/openai-office-skills/skills/pdf/SKILL.md
plugins/openai-office-skills/skills/slides/SKILL.md
plugins/openai-office-skills/skills/spreadsheet/SKILL.md
plugins/openobserve-skills/skills/openobserve-api/SKILL.md
plugins/overleaf-skills/skills/review-overleaf/SKILL.md
plugins/overleaf-skills/skills/setup/SKILL.md
plugins/paper-search-tools/skills/paper-search-usage/SKILL.md
plugins/paper-search-tools/skills/setup/SKILL.md
plugins/polar-skills/skills/polar-billing/SKILL.md
plugins/polar-skills/skills/polar-local-environment/SKILL.md
plugins/python-skills/skills/python-guidelines/SKILL.md
plugins/react-skills/skills/composition-patterns/SKILL.md
plugins/react-skills/skills/react-best-practices/SKILL.md
plugins/react-skills/skills/react-native-skills/SKILL.md
plugins/react-skills/skills/web-design-guidelines/SKILL.md
plugins/simplify/skills/simplify/SKILL.md
plugins/supabase-skills/skills/supabase-cli/SKILL.md
plugins/supabase-skills/skills/supabase-js/SKILL.md
plugins/tavily-tools/skills/setup/SKILL.md
plugins/tavily-tools/skills/tavily-usage/SKILL.md
plugins/ultralytics-branding/skills/ultralytics-branding/SKILL.md
plugins/ultralytics-dev/skills/ultralytics-platform/SKILL.md
plugins/ultralytics-dev/skills/yolo-training/SKILL.md
plugins/web-performance-skills/skills/web-performance-optimization/SKILL.md

元信息

文件数
0
版本
c4b9424
Hash
9ffc0e81
收录时间
2026-07-25 10:34

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