Token导航 LogoToken导航

Agent Skill · 研究检索

address-pr-comments(地址公关评论)

address-pr-comments 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

address-pr-comments 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 38,566。

总安装 1,542周安装 63GitHub Stars 公开资料未说明下载 499核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:address-pr-comments(地址公关评论)
来源仓库:https://github.com/morphet81/cheat-sheets
仓库路径:skills/address-pr-comments
安装命令:
npx skills add https://github.com/morphet81/cheat-sheets --skill address-pr-comments
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/morphet81/cheat-sheets --skill address-pr-comments

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息,适合快速定位候选结果。可根据关键词、任务场景或来源线索进行信息定位与筛选。建议结合原始 README 和仓库内容进一步验证具体用法。安装前需确认是否会触发联网、命令执行或文件读写等操作。address-pr-comments 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/address-pr-comments

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/morphet81/cheat-sheets --skill address-pr-comm…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

address-pr-comments 怎么安装?

在终端执行 npx skills add https://github.com/morphet81/cheat-sheets --skill address-pr-comments。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

address-pr-comments 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

address-pr-comments 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/morphet81/cheat-sheets --skill address-pr-comments 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

address-pr-comments 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

address-pr-comments 用的人多吗?

公开数据是累计安装 1,542 次,近一周安装 63 次,下载 499 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

address-pr-comments 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
address-pr-comments

地址公关评论 · 本页

1,542—执行命令未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Retrieve unresolved review comments and general conversation comments from the current branch's PR, explain each issue to the developer with a proposed fix, allow the developer to discuss and amend proposals, then spawn a coordinated team of developers to implement the fixes. After committing, reply to each comment on GitHub with details on how it was addressed.

Usage:

  • /address-pr-comments — Fetch and address unresolved PR comments for the current branch

Instructions:

  1. Verify prerequisites:

- Run gh auth status via the Bash tool to verify the GitHub CLI is installed and authenticated - If gh is not available or not authenticated, display the following and STOP: ` GitHub CLI (gh) is not installed or not authenticated. Please install gh and run gh auth login before using /address-pr-comments. `

  1. Identify the PR for the current branch:

- Run git branch --show-current to get the current branch name - Run gh pr view --json number,title,url,state,baseRefName,author to find the PR associated with the current branch and record the PR author's login (author.login) for step 3b - If no PR exists, display the following and STOP: No pull request found for branch "<current-branch>". Please create a PR first, then run /address-pr-comments. - If the PR is closed or merged, warn the developer: PR #<number> is <state>. Comments may no longer be actionable. Use AskUserQuestion to ask if they want to continue anyway.

  1. Retrieve all PR comments (review comments + general comments): a) Retrieve unresolved review comments: b) Retrieve review body comments (global review comments): c) Retrieve general conversation comments: d) Combine and check:

- Use the GitHub GraphQL API to fetch all review threads and their resolution status: gh api graphql -f query=' query($owner: String!, $repo: String!, $pr: Int!) {repository(owner: $owner, name: $repo) {pullRequest(number: $pr) {reviewThreads(first: 100) {nodes {id isResolved comments(first: 20) {nodes {id databaseId body path line author {login} createdAt url}}}}}}} ' -f owner='{owner}' -f repo='{repo}' -F pr={pr_number} - Collect only unresolved threads. For each, record: - Thread ID (for replying later) - File path and line number - Full comment thread (original comment + all replies) - Author(s) - The URL of the first comment in the thread (for linking in replies) - Within each thread, ignore replies whose body ends with [Agent response] — these are prior agent responses, not reviewer comments to address. However, the thread itself still needs to be addressed if it remains unresolved. - When a reviewer submits a review (Approve, Request Changes, or Comment), they can include a top-level body comment that is NOT attached to any specific line. These are "global" review comments. - Fetch all reviews using the GraphQL API: gh api graphql -f query=' query($owner: String!, $repo: String!, $pr: Int!) {repository(owner: $owner, name: $repo) {pullRequest(number: $pr) {reviews(first: 100) {nodes {id databaseId body state author {login} createdAt url}}}}} ' -f owner='{owner}' -f repo='{repo}' -F pr={pr_number} - Filter: Only include reviews where: - body is non-empty (reviews with no body text have nothing to address) - body does NOT end with [Agent response] (prior agent responses) - state is CHANGES_REQUESTED or COMMENTED (skip APPROVED reviews with body text that is purely congratulatory, e.g., "Looks great!", "LGTM". If an APPROVED review has a substantive body with actionable content, include it) - Author is not a bot - For each remaining review body comment, record: - Review ID (databaseId — for replying later) - Review state (CHANGES_REQUESTED, COMMENTED, APPROVED) - Author - Comment body - Created date - The url of the review (for linking in replies) - Note: These comments do not have file/line references. They are top-level feedback about the PR as a whole. - Fetch general PR comments (issue comments) using the REST API: gh api repos/{owner}/{repo}/issues/{pr_number}/comments --paginate - Filter out comments that should NOT be addressed: - Comments by bots (author type is "Bot", or login ends with [bot]) - Comments whose body ends with [Agent response] (prior agent responses — not new comments to address) - Comments that are purely approval/acknowledgement (e.g., "LGTM", "Looks good", ":+1:") - PR author comments: Do not exclude the PR author by default. Authors often leave actionable conversation notes for collaborators or automation (e.g. re-run CI, regenerate visual snapshots, "please review X"). Include those. - Optional skip for author noise: If the comment's user.login matches the PR author's author.login from step 2 and the body is clearly non-actionable, skip it — e.g. only a commit URL, only "Done" / "Fixed" / "Pushed" with no remaining ask, or empty/emoji-only. - For each remaining general comment, record: - Comment ID (for replying later — id field) - Author - Comment body - Created date - The html_url of the comment (for linking in replies) - Note: General comments do not have file/line references and have no resolution status. Include all that pass the filters above. - Merge all three lists into a single ordered list, sorted chronologically by creation date - Tag each entry with its source: review (from step 3a), review-body (from step 3b), or general (from step 3c) - If there are no comments from either source, display the following and STOP: No unresolved review comments or actionable general comments on PR #<number>. Nothing to address!

  1. Analyze each comment and propose fixes: For each comment (review or general), present the issue to the developer with a clear explanation and a proposed approach. For review comments (attached to code), use this format: ` ## Comment <N>/<total> — [Review] <file>:<line> — @<author> ### Reviewer said: > <full comment body> ### Context: <Read the referenced file and surrounding code. Explain the relevant code context so the developer understands the issue without having to look it up.> ### Analysis: <Explain what the reviewer is asking for and why. Categorize as one of:> - **Code change** — specific modifications needed - **Question** — reviewer asks for clarification; may not need a code change - **Suggestion** — an optional improvement worth considering - **Concern** — a potential issue that needs investigation ### Proposed fix: <Describe the concrete approach to address this comment. If it's a code change, describe exactly what will change and where. If it's a question, draft the reply. If no fix is needed, explain why.> **For review body comments** (global review feedback, not attached to a line), use this format: ## Comment <N>/<total> — [Review Body] <state> — @<author> ### Reviewer said: > <full review body> ### Context: <Identify what the reviewer is commenting on. Review body comments often address the PR as a whole — architecture, approach, missing considerations, or cross-cutting concerns. Read the PR diff and relevant files to understand the context.> ### Analysis: <Explain what the reviewer is asking for and why. Categorize as one of:> - Code change — specific modifications needed - Question — reviewer asks for clarification; may not need a code change - Suggestion — an optional improvement worth considering - Concern — a potential issue that needs investigation - Discussion — a broader topic about approach or architecture ### Proposed fix: <Describe the concrete approach to address this comment. If it requires code changes, identify the files and describe exactly what will change. If it's a question or discussion, draft the reply. If no action is needed, explain why.> **For general comments** (PR conversation), use this format: ## Comment <N>/<total> — [General] — @<author> ### Comment: > <full comment body> ### Context: <Identify any files, functions, or areas of the codebase the comment refers to. If the comment mentions specific code, read the relevant files. If the comment is about the PR overall (architecture, approach, etc.), summarize the relevant changes.> ### Analysis: <Explain what the reviewer is asking for and why. Categorize as one of:> - Code change — specific modifications needed - Question — reviewer asks for clarification; may not need a code change - Suggestion — an optional improvement worth considering - Concern — a potential issue that needs investigation - Discussion — a broader topic about approach or architecture ### Proposed fix: <Describe the concrete approach to address this comment. If it requires code changes, identify the files and describe exactly what will change. If it's a question or discussion, draft the reply. If no action is needed, explain why.> **For comments that appear already addressed or invalid:** After presenting **all** comments, use AskUserQuestion` to ask: I've presented all unresolved comments with proposed fixes. You can: Ask questions about any specific comment (e.g., "tell me more about comment 3") Request amendments to a proposed fix (e.g., "for comment 2, do X instead of Y") Approve all and proceed to implementation What would you like to do?

- If the issue described in the comment has already been fixed in the current code, categorize as Already addressed and note the existing code that resolves it - If the comment is invalid (references outdated code, misunderstands the implementation, etc.), categorize as Invalid and explain why - These comments still require a response on GitHub (step 10) — the response should acknowledge the comment and explain why no further action is needed

  1. Interactive discussion: The developer may: Continue the discussion until the developer explicitly approves the plan by saying something like "go ahead", "approve", "looks good", "implement", etc. Keep a running record of the final approved approach for each comment:

- Ask clarifying questions about any comment or proposed fix - Request changes to a proposed approach - Disagree with a fix and propose an alternative - Decide that a comment doesn't need a code fix (just a reply) - Comment #N: <approved fix description> or <reply only — no code change>

  1. Create the developer team: Once the developer approves, set up a coordinated team to implement the fixes. a) Create the team: b) Create a shared task list: c) Determine team size: d) Divide work across developers: e) Spawn developers using the Task tool (subagent_type: general-purpose) with run_in_background: true:

- Use TeamCreate with name pr-comments-<pr-number> (e.g., pr-comments-142) - Use TaskCreate to create one task per comment that requires a code change, plus one coordination task: - "Fix comment #N: " for each code change - "Coordination: verify no conflicts between fixes" as a tracking task - Count the number of comments requiring code changes - Spawn 2 to 4 developers based on the number: - 1–3 comments → 2 developers - 4–6 comments → 3 developers - 7+ comments → 4 developers - Group comments so that comments touching the same file or closely related files are assigned to the same developer to avoid conflicts - Each developer should have a roughly balanced workload - Document the assignment clearly (which developer handles which comments) - Give each developer the team name so they can communicate with each other - Each developer's prompt must include: - The team name for inter-agent communication - Their assigned comment(s) with the full approved fix description - The relevant file paths and current code context - Coordination instructions: You are Developer on team <team-name>. You are responsible for fixing comment(s). Other developers on this team are working on other comments in parallel. Before making changes: Read the latest version of any file you plan to edit (another developer may have already modified it) Check team messages via SendMessage for any coordination notes from other developers After making changes: Send a message to the team describing exactly which files and line ranges you modified Format: "Developer completed: edited lines - for comment #" If you notice your changes overlap with or affect another developer's assignment, send an alert immediately Do NOT commit. Only make the code changes. The team lead will handle committing. Mark your task(s) as completed via TaskUpdate when done.

  1. Monitor and coordinate:

- Wait for all developers to complete their tasks - After all developers finish, review the combined changes: - Run git diff to see all modifications - Check for conflicts: two developers editing the same lines or introducing contradictory changes - If conflicts are found, resolve them (or ask the developer for guidance if the resolution is ambiguous) - Run a final sanity check: read each modified file to confirm the changes are coherent

  1. Present changes and wait for confirmation: Present the combined changes to the developer: ` ## Fixes Implemented ### Comment #1 — <file>:<line> — @<author> **Fix:** <description of what was changed> **Files modified:** <file> (lines <start>-<end>) ### Comment #2 — <file>:<line> — @<author> **Fix:** <description> (or "Reply only — no code change")... ### Files Modified - path/to/file.ts - path/to/other.ts ` Then display: All fixes have been implemented. Please review the changes and confirm when ready to commit. You can also ask me to adjust any fix before committing. Wait for the developer to explicitly confirm before committing. Do not commit automatically.
  2. Commit the changes: Once the developer confirms:

- Stage only the files that were modified as part of the fixes (use git add <file1> <file2>..., not git add -A) - Create a commit with a message following the repo's existing style. Suggested format: Address PR #<number> review comments - <Comment #1 short description> - <Comment #2 short description> -... Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

  1. Respond to comments on GitHub: After committing, reply to each comment on GitHub using the gh CLI. a) For review comments — if a code fix was made: b) For review comments — if no code fix was needed (question/reply-only): c) For review body comments — reply to the review: d) For general comments — reply on the PR conversation: e) Reply format (all comment types):

- Reply to the review comment thread with details on how it was addressed - Include the fixing code if it's short (under ~20 lines) as a fenced code block - If the fix is longer, reference the file path and line numbers: Fixed in <file> (lines –). - Use the gh api command to reply: gh api repos/{owner}/{repo}/pulls/{pr_number}/comments -f body='<reply>' -f in_reply_to=<comment_id> - Post the approved reply explaining why no code change was necessary - Be specific: reference the existing code, design decisions, or documentation that addresses the reviewer's concern - Post a comment on the review using the REST API: gh api repos/{owner}/{repo}/pulls/{pr_number}/reviews/{review_id}/comments -f body='<reply>' - Format the reply to address the reviewer's top-level feedback: Regarding your review: - If a code fix was made, include the same details as inline review comment replies (file paths, line numbers, or short code blocks) - Post a new issue comment replying to the original. Quote the original comment for context: gh api repos/{owner}/{repo}/issues/{pr_number}/comments -f body='<reply>' - Format the reply to reference the original author and comment: Regarding @'s comment: - If a code fix was made, include the same details as review comment replies (file paths, line numbers, or short code blocks) - Keep replies professional and concise - Start with a brief summary (e.g., "Fixed —...", "Good catch —...", "No change needed —...") - Include code references with line numbers when relevant - Always append [Agent response] on a new line at the end of every reply. This tag identifies automated responses and allows future runs to skip already-handled comments - For already-addressed comments, reply explaining that the issue was already resolved (reference the relevant code or commit) - For invalid comments, reply respectfully explaining why the comment does not apply

  1. Clean up and report:

- Shut down the developer team: - Send a shutdown_request to each teammate via SendMessage - Once all have confirmed, call TeamDelete - Present a final summary: ` ## PR Comments Addressed **PR:** #<number> — <title> **Comments addressed:** <N> **Commit:** <short SHA> ### Fixes - Comment #1 (<file>:<line>) — <brief description> — replied on GitHub - Comment #2 (<file>:<line>) — <brief description> — replied on GitHub... ### Next Steps - Push the commit: git push - Verify CI passes - Request re-review if needed `

  1. Handle edge cases:

- If a comment references a file that no longer exists, note it in the analysis and propose replying to the reviewer explaining the file was removed (and why, if determinable from git history) - If a comment references lines that have changed since the review, read the current file and adapt the fix to the current code - If two comments conflict with each other, flag the conflict during step 4 and ask the developer to decide - If a comment is ambiguous or unclear, present your best interpretation and ask the developer to confirm during step 5 - If the developer rejects all proposed fixes, skip implementation and optionally post replies explaining the decisions - If a developer agent fails or produces incorrect changes, attempt the fix directly or ask the developer for guidance - If a general comment is vague or doesn't clearly reference any code (e.g., "Can we discuss the approach?"), categorize it as Discussion and propose a reply addressing the concern based on the PR's changes - If a general comment has already been answered by another comment in the thread (someone else replied), skip it and note it as already addressed - If a PR author comment is workflow-only (e.g. update snapshots, re-run visual tests, trigger CI), treat it as Code change or Suggestion depending on the repo: propose the exact commands or test targets (e.g. Playwright --update-snapshots, Percy, etc.) after checking package.json / CI config

平台分布

Codex

33.36%
按下载量换算166

Claude

30.02%
按下载量换算150

Cursor

19.92%
按下载量换算99

Gemini CLI

8.89%
按下载量换算44

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/morphet81/cheat-sheets --skill address-pr-comments 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills