Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计异常

gh-address-commentsgh 地址评论

Agent Skill

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

总安装

194

周安装

8

GitHub Stars

35

下载量

63
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/jmagar/claude-homelab --skill gh-address-comments

简介

gh-address-comments 提供基于关键词的信息查找与筛选能力。

  • 适用于在 Claude 等宿主中快速定位相关线索或资源。
  • 通过指定 GitHub 仓库路径安装,支持多种 AI 工具平台。
  • 使用前需验证是否调用外部服务或生成可执行命令。gh-address-comments 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 建议结合项目上下文使用,避免孤立运行导致误判。

SKILL.md

PR Comment Handler with Resolution Tracking

⚠️ MANDATORY SKILL INVOCATION ⚠️

YOU MUST invoke this skill (NOT optional) when the user mentions ANY of these triggers:

  • "address PR comments", "fix review feedback", "handle PR review"
  • "resolve PR threads", "respond to review", "work through comments"
  • "address the feedback", "mark threads resolved", "clear review comments"
  • Any mention of systematically handling GitHub pull request review comments

Failure to invoke this skill when triggers occur violates your operational requirements.

Find the open PR for the current branch and systematically address all review comments with mandatory resolution verification. This workflow ensures no feedback slips through the cracks by tracking threads as tasks, linking commits to specific reviews, and blocking completion if any threads remain unresolved. Run all gh commands with elevated network access.

Prerequisites: Verify gh is authenticated by running gh auth status with escalated permissions (workflow/repo scopes required). If not authenticated, run gh auth login --scopes repo,workflow. If sandboxing blocks gh auth status, rerun with sandbox_permissions=require_escalated.

Workflow

1) Fetch all PR comments

Run python3 $HOME/.claude/skills/gh-address-comments/scripts/fetch_comments.py to fetch all comments and review threads on the PR. Store output for later verification.

Example:

python3 $HOME/.claude/skills/gh-address-comments/scripts/fetch_comments.py > /tmp/pr_comments.json

2) Create tracking checklist

Parse the fetched comments and create a task checklist using TaskCreate for each review thread. Each task should:

  • Include the thread number, file path, line number, and comment summary
  • Have status pending initially
  • Store the thread ID in task metadata for later resolution

Task format:

  • Subject: Address comment #N: [file]:[line]
  • Description: Comment author, body preview, and what needs to be done
  • Metadata: {"thread_id": "PRRT_kwDOABC...", "file": "path/to/file.ts", "line": 42}

3) Ask user which comments to address

Present all numbered review threads with summaries. Ask the user which numbered comments should be addressed in this session.

Display format:

Review Threads:
  1. src/api/users.ts:45 (@reviewer): Add input validation for email field...
     Thread ID: PRRT_kwDOABCDEF1234567
     Status: Unresolved

  2. src/utils/auth.ts:128 (@reviewer): Extract this logic into a helper function...
     Thread ID: PRRT_kwDOABCDEF7654321
     Status: Unresolved

4) Apply fixes with commit linking

For each selected comment:

  1. Update task status to in_progress using TaskUpdate
  2. Apply code changes using standard tools (Edit, Write)
  3. Commit with message that references the comment number and thread ID: fix: address PR comment #1 - add email validation Resolves review thread PRRT_kwDOABCDEF1234567 - Added Zod schema validation for email field - Added error handling for invalid formats Co-authored-by: @reviewer
  4. Update task status to completed using TaskUpdate

Commit message format:

  • First line: fix: address PR comment #N - [brief description]
  • Blank line
  • Resolves review thread [THREAD_ID]
  • Bullet points explaining the changes
  • Co-authored-by: @reviewer if substantial changes based on feedback

5) Mark threads as resolved

After committing fixes, mark the corresponding review threads as resolved using:

python3 $HOME/.claude/skills/gh-address-comments/scripts/mark_resolved.py <thread_id_1> [thread_id_2] ...

Example:

python3 $HOME/.claude/skills/gh-address-comments/scripts/mark_resolved.py \
  PRRT_kwDOABCDEF1234567 \
  PRRT_kwDOABCDEF7654321

6) Verify complete resolution (MANDATORY - BLOCKS IF SKIPPED)

Before declaring the PR review complete, verify all threads are addressed:

python3 $HOME/.claude/skills/gh-address-comments/scripts/fetch_comments.py | \
  python3 $HOME/.claude/skills/gh-address-comments/scripts/verify_resolution.py

Exit behavior:

  • Exit 0: All threads resolved/outdated → safe to proceed
  • Exit 1: Unresolved threads found → BLOCKED until addressed

IMPORTANT: Do NOT skip this verification step. If unresolved threads are found:

  1. Ask user to explicitly acknowledge which threads to defer
  2. Create follow-up tasks for deferred threads
  3. Only proceed after user confirms understanding of what remains unresolved

Error Handling

Authentication issues: If gh hits auth/rate issues mid-run, prompt the user to re-authenticate with gh auth login, then retry.

Thread resolution failures: If mark_resolved.py fails for specific threads:

  1. Check the thread ID is correct (from fetch_comments.py output)
  2. Verify you have write permissions on the PR
  3. Ensure the thread still exists (not deleted by reviewer)

Verification failures: If verify_resolution.py reports unresolved threads:

  1. Review the listed thread IDs
  2. Either address remaining threads OR get explicit user approval to defer
  3. Document deferred threads in follow-up tasks

Notes

  • Review threads marked as "outdated" (code changed since comment) are considered addressed
  • Conversation comments (non-threaded) don't block completion but should be acknowledged
  • Always link commits to thread IDs for traceability
  • Use TaskList to track overall progress across all review threads

Additional Resources

For detailed information, see:

  • Resolution workflow deep dive: references/resolution-workflow.md
  • Command cheatsheet: references/quick-reference.md
  • GitHub API details: references/api-endpoints.md
  • Common issues: references/troubleshooting.md

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.17%
按下载量换算24

Claude

28.14%
按下载量换算18

Cursor

18.98%
按下载量换算12

Gemini CLI

9.23%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills