搜索

PythonReactSEOPDF
GitHub Skill

fix-pr-comments

This skill should be used when the user asks to "fix PR comments", "address PR feedback", "resolve PR threads", mentions "PR review", or discusses GitHub pull request comments.

tbroadley☆ 0 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Fix PR Comments

Handle PR review comments by choosing the appropriate response for each comment.

Response Types

For each PR comment, choose one of these responses:

  1. Address and resolve: Fix the issue, push the changes, and resolve the thread
  2. Explain: If the comment doesn't make sense, leave a comment explaining why. Only resolve the thread if the comment is from a bot user.
  3. Ask for clarification: If unclear, leave a question asking for clarification

Comment Prefix

When leaving comments on PRs, always prefix with "Claude Code: " to make it clear the comment came from Claude.

Comment Guidelines

Never leave top-level comments on the PR (via gh pr comment or the issues comments API). Only reply directly within review comment threads using the replies API. Top-level comments like "Addressed all feedback" are not helpful and clutter the PR.

Workflow

  1. Read all PR comments to understand the feedback
  2. For each comment, determine the appropriate response type
  3. Make code changes where needed
  4. Push all changes
  5. Resolve threads that have been addressed
  6. Request re-review from reviewers whose comments have all been addressed
  7. Leave explanatory comments or clarification questions as needed

Re-requesting Review

After addressing all comments from a reviewer, request their re-review:

gh pr edit --add-reviewer <reviewer-username>

To find reviewers who left comments:

gh api repos/{owner}/{repo}/pulls/{pr_number}/reviews --jq '.[].user.login' | sort -u

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!