Token导航 LogoToken导航

Agent Skill · 开发

pr-buddy(公关伙伴)

pr-buddy 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

pr-buddy 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 18,691。

总安装 321周安装 13GitHub Stars 公开资料未说明下载 101核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/kiss-skills/pr-buddy --skill pr-buddy

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

pr-buddy 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。适用于开发类任务,可能用于协作伙伴或团队沟通支持。

可通过 npx skills add 命令从指定 GitHub 仓库安装并使用。安装前建议确认权限范围和维护状态,避免触发联网或文件读写操作。pr-buddy 属于开发类 Skill,可作为该场景下的辅助能力补充。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

pr-buddy 怎么安装?

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

pr-buddy 支持哪些 AI 工具?

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

pr-buddy 需要什么权限?

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

pr-buddy 是免费的吗?

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

pr-buddy 用的人多吗?

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

pr-buddy 安全吗?

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

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

值得选的地方

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

先想清楚的地方

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

适不适合你

更适合

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

不太适合

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

开发类 Skill 对比

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

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
pr-buddy

公关伙伴 · 本页

321—执行命令未明确有提醒

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

SKILL.md 原文

pr-buddy

When to use

Use when reviewing a PR where you want to build a real mental model — not rubber-stamp it.

Right for: unfamiliar codebase areas, large or architectural changes, any time you sense you're about to approve without truly understanding. Skip for trivial PRs (typos, dependency bumps, config-only) where the diff is self-evident.

See references/cognitive-debt.md for background.

Procedure

Skill intro (one-time greeting)

Render the pixel-art dog + greeting line + divider exactly once, as the first visible output of the skill. See references/terminal-colors.md § "Skill intro greeting" for the exact block.

Do not re-render the mascot at any later point — not between stations, not at the Phase 2 handoff, not at the review complete block. The mascot is a one-time greeting.


Pre-phase (silent)

Fetch the PR metadata and diff silently — output nothing until Station 1:

gh pr view <PR> --json number,title,body,author,baseRefName,headRefName,files,additions,deletions
gh pr diff <PR>

Build an internal mental model: goal, entry point, 2–3 interesting decisions, most plausible failure mode.

Compute the difficulty tier from the metadata using the formula in references/terminal-colors.md § "Difficulty line" (score = additions + deletions + files_count * 30 → easy / medium / hard / epic). Store difficulty, total_changes, and files_count internally — they feed the Station 1 header and the final Review Depth score.


Station transition

At the opening of every Station 1–6 and at the Phase 2 handoff, emit the station divider as plain text. Do not emit the mascot — that happens once at skill intro only.

Immediately below every Station 1–6 divider, render the cognitive debt meter line — see references/terminal-colors.md § "Cognitive debt meter" for the per-station values. The Phase 2 handoff divider does not carry a meter; the meter was already cleared at the review complete block.


Inline tree — available any time

If the reviewer asks to see the files ("tree", "show me the files", "what's changed", etc.), render the change tree and resume from exactly where you were — do not advance the station.

Session state is fully preserved (station, tracker marks, discussion context). After rendering, say: *"Where were we — ready to go on?"*

Render the tree as plain text with ANSI colors. See references/terminal-colors.md for the exact format.


Phase 1 — Socratic Walkthrough (6 stations)

At each station: ask → wait for response → reveal your reading (1–3 sentences, no spoilers).

All questions use the Question UX format (dim separator + bold yellow ▶). See references/terminal-colors.md.


Station 1 — Goal · divider: ── station 1 · goal

Print the PR header before asking:

PR #<number> — <title>
Author: <author>  ·  <baseRef> ← <headRef>
difficulty: <tier>  ·  +<additions> / -<deletions>  ·  <N> files

<body>
─────────────────────────────────────────────────────

See references/terminal-colors.md § "Difficulty line" for the tier formula.

Ask: *"Based on the title and description, what problem do you think this PR is solving? What's the outcome the author was aiming for?"*

Reveal: confirm, correct, or sharpen. State the goal in one sentence.


Station 2 — Architecture · divider: ── station 2 · architecture

Auto-render the change tree immediately after the station divider + meter (no trigger needed).

Ask: *"Which file is the entry point? Walk me through your mental model — how do these changes fit together?"*

Reveal: draw the actual call/data flow from the diff. Note anything surprising.

Open the file walkthrough tracker (main files only — skip tests, generated, lock, trivial config). Re-print it whenever a file is marked done. See references/terminal-colors.md for the colored render format.


Station 3 — Decisions · divider: ── station 3 · decisions

Pick 2–3 notable choices from the diff:

Ask: *"In <file>, the author chose [X]. What would you have done differently, if anything? Why do you think they made this choice?"*

Reveal: your reading of the trade-off and its implications.

See references/walkthrough-principles.md for what makes a decision worth discussing.


Station 4 — Code Tour · divider: ── station 4 · code tour

This station always runs. Emit the Station 4 divider + meter, then fetch and render function signatures for every main file in the walkthrough tracker.

Fetching file content:

For each file in the tracker, fetch its content from the PR head:

gh api repos/{owner}/{repo}/contents/{path}?ref={headRefName}

Decode the base64 content field. Fetch one file at a time. Use owner, repo, and headRefName from the PR metadata already fetched in the pre-phase.

Extracting signatures by file extension:

ExtensionExtract
.js .mjs .cjsfunction, export function, export default function, const x =, export const x = — first line only
.ts .tsxSame as JS + type params + return type annotation — first line only
.pydef, async def, class — first line only
.gofunc, method receivers — first line only
.sh .bashfoo() or function foo() — first line only
.mdAll ## headings
.jsonTop-level keys as key: <type>, max 10
Other(no signatures — unsupported format)

Rules: Show only functions new or modified in the diff (include when unclear). First line verbatim, truncated at 120 chars + …. Skip unnamed callbacks, IIFEs, test-only helpers. If none found: (no signatures found).

Render format (plain text, no code fence):

Code tour
──────────────────────────────────────────────────────
---scripts
  |---- deploy.mjs
  |       · deployToEnvironment(env, options)
  |       · rollback(deploymentId)
  |---- validate.mjs
          · validateSchema(input)
---src
  |---- auth/middleware.ts
          · export async function authenticate(req: Request, res: Response): Promise<void>
          · export function requireRole(role: string): Middleware
README.md
  · ## Overview
  · ## Installation
──────────────────────────────────────────────────────
  N files · M signatures total

Bullet char: · (U+00B7). Spaces not tabs. No code fence.

After rendering, ask:

────────────────────────────────────────────────────
\033[94m▶  Does this give you a clear enough picture of the code structure?\033[0m

   [1]  yes — move on to Station 5 · Risk     (default)
   [2]  go deeper — walk me through the most interesting function

Affirmative / enter / "1" → proceed to Station 5.

[2] Deep dive · divider: ── station 4b · deep dive

Skill picks the single most interesting function: highest churn in the diff, or most central to the PR goal if churn is equal. Do not ask the reviewer — pick and announce:

*"The most significant change is in <file> — <function signature>. Here's what it does:"*

Narrate in 3–5 sentences: what it does (from signature + diff context, not body), what changed vs. before, why it matters to the PR goal. Do NOT show the function body. Do NOT paste code. Prose only.

After narration, proceed directly to Station 5 — no further question.


Station 5 — Risk · divider: ── station 5 · risk

Ask: *"If you had to name one thing that could go wrong in production — edge case, race condition, missing test, performance concern — what would it be?"*

Reveal: surface the risk you identified from the diff. Compare notes.


Station 6 — Ownership · divider: ── station 6 · ownership

Ask: *"Could you explain this PR to a teammate right now, confidently? What, if anything, are you still unsure about?"*

Do not proceed to Phase 2 until the reviewer confirms they feel ready. If uncertain, offer to revisit the relevant station or re-read a specific section of the diff.

Once confirmed, render the Review complete block: debt meter at 0% cleared plus the Review Depth score and flavor tags. See references/terminal-colors.md § "Review complete block" for the exact format and the score computation rules.

The Review Depth score is reviewer-facing only — never include it in the final PR comment or in any output bound for the PR author/team.


Phase 2 — Automated Quality Checks

2a — Detect toolkit availability

pr-review-toolkit is available when the host is Claude Code AND the toolkit is registered (i.e. you can dispatch pr-review-toolkit:code-reviewer, pr-review-toolkit:silent-failure-hunter, and pr-review-toolkit:pr-test-analyzer as sub-agents). Otherwise it is unavailable — for example on GitHub Copilot or in a Claude Code session where the toolkit was never installed.

This is a branch, not a block. Phase 2 always proceeds.

2b — Build Phase 1 context (two artifacts, internal — never shown)

Artifact 1 — Structured block:

PHASE_1_CONTEXT:
  goal:          <one sentence from Station 1>
  entry_point:   <file from Station 2>
  decisions:     [<decision + trade-off from Station 3>, ...]
  reviewer_risk: <risk the reviewer named in Station 5>
  skill_risk:    <risk Claude identified in Station 5>
  confidence:    <reviewer's Station 6 self-report>

Artifact 2 — Reviewer narrative: 3–5 prose sentences synthesizing the walkthrough (what the reviewer said, what surprised them, concerns voiced, what Claude observed, confidence level). This is the only input for ## [MANUAL REVIEW] in the final comment — agent findings stay out of that section.

See references/pr-review-toolkit-bridge.md for the narrative format and an example.

2c — Phase 2 menu · divider: ── phase 2 · automated checks

Ask: *"How would you like to proceed?"*

When pr-review-toolkit is available:

  [1]  full review    — code-reviewer · silent-failure-hunter · pr-test-analyzer  (toolkit, parallel)
  [2]  code only      — code-reviewer                                              (toolkit)
  [3]  inline review  — host model runs the same three prompts, no toolkit needed
  [4]  stop here      — finalize with walkthrough findings only

When pr-review-toolkit is unavailable (Copilot, or Claude Code without the toolkit):

  [1]  inline review  — host model runs the three review prompts against the diff
  [2]  stop here      — finalize with walkthrough findings only

Renumber the inline / stop-here options to [1] / [2] when the toolkit is unavailable so the menu is always contiguous.

Branch on selection:

Full review (toolkit) — run all three sub-agents in parallel, each receiving the diff and both Phase 1 artifacts. See references/pr-review-toolkit-bridge.md for the exact prompt templates, escalation rules, and framing patterns. Template: references/output-template-full.md

Code only (toolkit) — run pr-review-toolkit:code-reviewer only (same prompt). Final comment's ## [AUTOMATED] includes only those findings. Template: references/output-template-full.md

Inline review (host-driven) — the host model runs the three prompts itself as three sequential analysis passes against the diff, each prompt receiving both Phase 1 artifacts. This is a feature-parity fallback: same prompts, same merge rules, no toolkit needed. See references/pr-review-toolkit-bridge.md § "Inline mode" for details. Template: references/output-template-full.md

Stop here — skip review; go directly to Final Summary. Template: references/output-template-walkthrough.md

Before launching review (any non-stop option) announce:

"Now running automated checks — with the full walkthrough context injected."

Wait for all passes/agents to complete before synthesizing.


Final Summary

Compose the comment in two passes, in this order, to keep the sections cleanly separated:

  1. ## [MANUAL REVIEW] first — using only Phase 1 artifacts (the structured block and the reviewer narrative). Do not reference, paraphrase, summarize, or anchor to any agent finding here. This is the reviewer's voice — 4–7 sentences as an informed co-reviewer.
  2. ## [AUTOMATED] second — using only the sub-agent / inline-review output. Compress each finding to one colloquial line with a severity emoji (🔴 / 🟠 / 🟡). No verbatim agent output, no per-agent sub-headings.
  3. # Summary last — Blocking / Requests / Nice to Have — drawing from both sections, written from the walkthrough lens.

Then ask: *"Want me to post this? I'll run gh pr comment <PR> --body '...'"*

Only post on explicit confirmation.


Output format

ElementRule
Skill intro greetingPlain text, once at load — see terminal-colors.md
Station divider + meterPlain text, every station opening — see terminal-colors.md
Difficulty linePlain text, Station 1 header — see terminal-colors.md
Change treePlain text — see terminal-colors.md
File trackerPlain text — see terminal-colors.md
Questions▶ separator — see terminal-colors.md
Station reveals1–3 sentences, plain prose, cite diff lines when relevant
Review complete blockPlain text, once after Station 6 — see terminal-colors.md
Final commentFenced markdown block, structure per output template above (never includes Review Depth score)

平台分布

Codex

34.74%
按下载量换算35

Claude

30.05%
按下载量换算30

Cursor

18.92%
按下载量换算19

Gemini CLI

8.11%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

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

安装前确认

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

继续浏览同类 Skills