Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计提醒

loop-address-pr-feedback循环地址 pr 反馈

Agent Skill

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

总安装

218

周安装

9

GitHub Stars

公开资料未说明

下载量

71
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/corygabrielsen/skills --skill loop-address-pr-feedback

简介

用于查找和筛选相关信息,适合基于关键词快速定位结果。

  • 支持任务场景匹配和来源线索检索,提升信息获取效率。
  • 通过 GitHub 安装,需确认权限范围和维护状态后再使用。
  • 可能触发联网、命令执行或文件读写操作,建议提前评估风险。
  • loop-address-pr-feedback 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Loop: Address PR Feedback

You are a PR author addressing review feedback. Reviewers give feedback, you fix and respond.

Core Concept

┌─────────────────┐     ┌─────────────────┐     ┌─────────────────┐
│  AI/Human       │────▶│  Claude fixes   │────▶│  Reply & push   │
│  reviews PR     │     │  valid issues   │     │  request re-rev │
└─────────────────┘     └─────────────────┘     └─────────────────┘
         │                                               │
         └─────────────── loop ──────────────────────────┘

The loop:

  1. Gather — Collect review comments from all sources
  2. Triage — Valid → fix, invalid → explain, unclear → ask
  3. Fix — Make changes, commit, restack dependent PRs
  4. Respond — Reply with fix SHA or rationale, resolve threads
  5. Summon — Tag reviewers for re-review
  6. Loop — Until all threads resolved and approvals obtained

Relationship to loop-codex-review

Aspectloop-codex-reviewloop-address-pr-feedback
WhenPre-PR (local)Post-PR (remote)
Reviewercodex review CLIGitHub bots + humans
TriggerYou run itReviews arrive async
Interfacestdout parsingGitHub API
ScopeSingle diffStack of PRs
Fixed point3 clean at xhighAll threads resolved

Same decision procedure, different interface.

Phase: Initialize

Detect the PR stack and get full context.

  1. Get stack overview with full context: gt log # Full detail (recommended) gt ls # Short form (just branch names) gt log -s # Current stack only (if multiple stacks) gt log shows everything in one shot:

- PR numbers, titles, and status (Draft, Needs approvals, Approved) - Local changes needing submit - Commit history per branch - Graphite links

  1. If not using Graphite, fall back to: gh pr list --author "@me" --state open --json number,headRefName,reviewDecision
  2. Determine review order — address base PRs before children (changes propagate down via restack)

Args:

/loop-address-pr-feedback              # All PRs in current stack
/loop-address-pr-feedback --pr 123     # Single PR only
/loop-address-pr-feedback --skip 456   # Skip a PR (e.g., deferred)

Phase: Gather

Fetch all review feedback for each PR.

GitHub has three places reviews live:

TypeAPIUse
Issue comments/issues/{num}/commentsGeneral PR feedback
Review comments/pulls/{num}/commentsLine-specific feedback
Review threadsGraphQL reviewThreadsResolution status
# Issue comments
gh api repos/{owner}/{repo}/issues/{num}/comments \
  --jq '.[] | {id, user: .user.login, body}'

# Review comments
gh api repos/{owner}/{repo}/pulls/{num}/comments \
  --jq '.[] | {id, user: .user.login, path, line, body}'

# Review threads (for resolution status)
gh api graphql -f query='
  query($owner: String!, $repo: String!, $num: Int!) {
    repository(owner: $owner, name: $repo) {
      pullRequest(number: $num) {
        reviewThreads(first: 50) {
          nodes { id isResolved comments(first: 1) { nodes { body } } }
        }
      }
    }
  }' -f owner=OWNER -f repo=REPO -F num=NUM

Phase: Triage

Categorize each issue before acting.

AssessmentAction
Valid bugReact 👍, fix, commit, reply with SHA, resolve
Valid styleReact 👍, fix, commit, reply with SHA, resolve
False positiveReact 👎, reply explaining why, resolve
OutdatedReact 👎, reply noting already addressed, resolve
UnclearReply asking for clarification (don't resolve)
Won't fixReply with rationale (may or may not resolve)

Considerations:

  • Verify before fixing — especially AI reviews
  • False positives signal unclear code — consider adding comments
  • Check if later commits already addressed the issue
  • Some "issues" are intentional design tradeoffs

Phase: Fix

Spawn agents to fix valid issues.

Task(
  description: "Fix: <issue summary>",
  prompt: "Fix the issue found by code review: ...",
  subagent_type: "general-purpose",
  run_in_background: true
)

Group by file or PR. Parallelize independent fixes.

Phase: Commit

git add -A && git commit -m "$(cat <<'EOF'
Address review feedback

- Fixed <issue 1>
- Fixed <issue 2>

Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"

Phase: Restack

If you modified a base PR, child PRs need restacking.

gt restack

Handle conflicts:

  • If conflicts occur in skipped/deferred PRs, abort and push what succeeded
  • Push each branch individually: git push origin <branch> --force-with-lease

Phase: Respond

Reply, react, and resolve.

# Reply to issue comment
gh api repos/{owner}/{repo}/issues/{num}/comments \
  -X POST -f body="Fixed in {sha}."

# Reply to review thread
gh api graphql -f query='
  mutation($threadId: ID!, $body: String!) {
    addPullRequestReviewThreadReply(input: {pullRequestReviewThreadId: $threadId, body: $body}) {
      comment { id }
    }
  }' -f threadId="PRRT_..." -f body="Fixed in {sha}."

# React to comment (👍 valid, 👎 invalid)
gh api repos/{owner}/{repo}/pulls/comments/{id}/reactions \
  -X POST -f content="+1"

# Resolve thread
gh api graphql -f query='
  mutation($threadId: ID!) {
    resolveReviewThread(input: {threadId: $threadId}) {
      thread { isResolved }
    }
  }' -f threadId="PRRT_..."

Phase: Summon

Request re-review by tagging the reviewer.

gh api repos/{owner}/{repo}/issues/{num}/comments \
  -X POST -f body="@{reviewer} Please re-review. Addressed:
- Fixed X
- Fixed Y"

Be specific — reviewers should know what to verify.

Phase: Wait

Reviews arrive asynchronously. Either:

  1. Exit — Tell user to re-invoke when reviews arrive
  2. Poll — Check for new comments periodically
Addressed all current feedback. Requested re-reviews.
Run /loop-address-pr-feedback again when new reviews arrive.

Fixed Point

A PR is done when:

  • All review threads resolved
  • No pending comments
  • Required approvals obtained
  • CI passing

A stack is done when all PRs are done.

┌───────────────────────────────────────────┐
│  STACK COMPLETE                           │
├───────────────────────────────────────────┤
│  PR #1: ✓ resolved, approved              │
│  PR #2: ✓ resolved, approved              │
│  PR #3: ⏸ skipped                         │
├───────────────────────────────────────────┤
│  Ready for merge queue: #1, #2            │
└───────────────────────────────────────────┘

State Tracking

Persist in task descriptions for compaction survival:

prs:
  - num: 1
    branch: feature-a
    status: done # addressing | waiting | done | skipped
  - num: 2
    branch: feature-b
    status: addressing
iteration: 1

Anti-patterns

  • Fixing before triaging (some issues are false positives)
  • Ignoring false positives (they signal unclear code)
  • Responding without fixing (empty acknowledgment)
  • Pushing without restacking (breaks child PRs)
  • Resolving without replying (no audit trail)
  • Summoning without summary (reviewer doesn't know what changed)
  • Addressing children before parents (causes conflicts)

Resumption

After compaction:

  1. TaskList — find tracking task
  2. Read task description for state
  3. gt ls — check stack state
  4. Resume from appropriate phase

Enter loop-address-pr-feedback mode. Detect PR stack, gather feedback, triage, fix, respond, summon. Address base PRs first.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.54%
按下载量换算27

Claude

32.05%
按下载量换算23

Cursor

18.01%
按下载量换算13

Gemini CLI

8.99%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

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

安装前确认

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

来源信息

继续浏览同类 Skills