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

follow-up-on-pr跟进公关

Agent Skill

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

总安装

960

周安装

40

GitHub Stars

64

下载量

320
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/factory-ai/factory-plugins --skill follow-up-on-pr

简介

follow-up-on-pr 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词快速定位候选结果时使用。

  • 适用于公关跟进、项目协作或信息追踪场景,帮助 Agent 围绕特定主题收集资料。
  • 通过关键词输入和来源仓库配置,Agent 可自动检索并整理相关数据,支持进一步人工核验。
  • 安装前需确认权限范围和维护状态,注意是否涉及联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Follow Up on PR

Take over an existing PR, bring it up to date, address all feedback, and push it to a merge-ready state. This skill is language- and framework-agnostic — substitute your project's actual build, lint, test, and format commands where examples are shown.

Inputs

  • PR URL or number (required): e.g. https://github.com/<owner>/<repo>/pull/9996 or #9996
  • Branch name (optional): If not provided, extract from PR metadata

Workflow

1. Study the PR

Fetch the PR via FetchUrl (or gh pr view) to get:

  • File changes (diffs)
  • Reviewer comments (inline and general)
  • CI workflow status and logs
  • PR description and any linked ticket

Read all changed files in depth. Understand the intent and scope of the change.

If the PR fixes a specific issue (e.g. error report, user-reported bug): investigate the root cause before reviewing the code. Confirm the fix addresses the actual problem. PRs are sometimes already superseded by other fixes.

2. Fetch and Check Out the Branch

git fetch origin <branch-name> <base-branch>
git checkout <branch-name>

If the branch doesn't exist locally, git checkout will create a tracking branch from origin/<branch-name>.

3. Rebase on Latest Base Branch

git pull origin <base-branch> --rebase

If conflicts occur:

  1. Read each conflicted file to understand both sides
  2. Resolve conflicts, preserving the PR's intent while incorporating base-branch changes
  3. git add <resolved-files>
  4. git rebase --continue

If rebase is clean: Verify the state with git log --oneline -5 and git diff --stat origin/<base-branch>..HEAD.

4. Address Reviewer Comments

Review comments were already fetched in step 1. For each unresolved comment:

  1. Read the comment and understand what's being asked
  2. Make the code change (or explain why it's not needed)
  3. Add tests if requested
  4. Commit the fix with a descriptive message

Already-addressed comments: Check if a reply already exists (in_reply_to_id field). Skip comments that have been resolved.

5. Run Local CI Checks

Run the project's lint, format, typecheck/compile, and test commands for the affected areas. Discover them by reading the repo root (e.g. Makefile, package.json, pyproject.toml, Cargo.toml, go.mod, build.gradle, mix.exs, Gemfile, composer.json, justfile, Taskfile.yml, README.md, or the CI workflow config).

Prefer filter / target flags to scope runs to the affected areas — it is faster than running the whole repo. Common patterns:

  • JS/TS monorepos: npm run test -- --filter=<workspace>, pnpm -r --filter <pkg> test, nx test <project>
  • Python: pytest <path>, tox -e <env>
  • Rust: cargo test -p <crate>, cargo clippy -p <crate>
  • Go: go test./<pkg>/..., golangci-lint run./<pkg>/...
  • Java/Kotlin: ./gradlew:<module>:test, ./mvnw -pl <module> test
  • Bazel: bazel test //path/...

See the create-pr skill's "CI Checks Reference" section for a broader template of local commands matching common CI checks.

Distinguishing pre-existing failures from PR issues: Some CI failures exist on the base branch and are unrelated to the PR. If a failure occurs in a file not touched by the PR, verify it exists on the base branch too before spending time fixing it. Common pre-existing issues include module / package resolution errors for recently-added dependencies.

E2E tests: If the PR changes user-facing behavior (UI flow, defaults, keyboard handling, CLI output), E2E tests may break even if the code is correct. Read the failing test to understand what it expects, then update it to match the new behavior. Don't assume E2E failures are flaky — read them first.

6. Commit and Push

git add -A
git commit -m "<type>(<scope>): <description>"

git push origin <branch-name> --force-with-lease

If a commit-scanning bot blocks the push (Droid-Shield, GitGuardian, TruffleHog, etc.): This happens when unrelated test fixtures contain strings that look like secrets. The agent cannot override these. Tell the user to push manually or temporarily disable the scanner per your org's docs.

7. Reply to Reviewer Comments

Reply to each addressed comment on the PR so reviewers know their feedback was handled.

For inline review comments (the most common type):

# Reply to a specific inline comment thread
gh api repos/<owner>/<repo>/pulls/<N>/comments/<COMMENT_ID>/replies \
  -X POST \
  -f body="<explanation of what was done>"

For general PR-level summary:

gh pr comment <N> --body "<summary of all changes made>"

To check thread resolution status (optional):

gh api graphql -f query='{
  repository(owner: "<owner>", name: "<repo>") {
    pullRequest(number: <N>) {
      reviewThreads(first: 20) {
        nodes {
          isResolved
          comments(first: 3) { nodes { body author { login } } }
        }
      }
    }
  }
}'

8. Update PR Description

If the changes made during follow-up are significant (new tests, architectural changes, additional scope), update the PR description:

gh pr edit <N> --body "<updated description>"

Use your org's PR template format. Update the testing section to reflect the additional tests added.

Verification

Before considering the task complete, confirm:

  • Branch is rebased on the latest base branch
  • All reviewer comments are addressed with code changes
  • Local lint, typecheck/compile, and tests pass for affected packages
  • Changes are pushed to remote
  • All reviewer comments have replies explaining what was done
  • PR description is up to date

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.85%
按下载量换算112

Claude

30.54%
按下载量换算98

Cursor

16.47%
按下载量换算53

Gemini CLI

9.2%
按下载量换算29

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills