Token导航 LogoToken导航

Agent Skill · 研究检索

pr(公关)

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

pr 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 66,030。

总安装 269周安装 11GitHub Stars 4,684下载 87核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/cloudflare/cloudflare-docs --skill pr

这个 Skill 是做什么的

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

pr 提供文档更改摘要,包括新页面、更新或修复等内容。适合辅助文档、README 和 Markdown 稿件的整理与改写。使用时需保留项目事实,避免写成确定结论;涉及对外文案时应控制语气。通过 github 安装,结合来源仓库和 README 核验具体用法。

pr 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/pr

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

pr 怎么安装?

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

pr 支持哪些 AI 工具?

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

pr 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

pr 是免费的吗?

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

pr 用的人多吗?

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

pr 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 来源仓库有 4,684 星,维护活跃度相对可查。

先想清楚的地方

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

适不适合你

更适合

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

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 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调用外部服务未明确有提醒
pr

公关 · 本页

2694,684操作浏览器未明确有提醒

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

SKILL.md 原文

Use this skill when creating a GitHub pull request for changes to this repository, or when editing an existing PR's title or description.

gh CLI

This skill uses the gh CLI throughout. If a gh command fails because it is not installed or not authenticated, fall back to providing the PR title and body clearly so the user can copy-paste them, along with the relevant GitHub URL:

  • New PR: https://github.com/cloudflare/cloudflare-docs/compare/production...<branch> (get branch from git branch --show-current)
  • Edit existing PR: https://github.com/cloudflare/cloudflare-docs/pull/<number> — instruct them to select Edit on the description.

Editing an existing PR

When asked to update or edit an existing PR description (or title), follow these rules strictly — then stop. Do not proceed to the "Creating a new PR" steps below.

  1. Always read the current PR description first using gh pr view <number> --json title,body before making any changes.
  2. If the description is empty, treat it as a new PR body and follow the template and guidelines in the "Creating a new PR" section below.
  3. Follow the existing format — if the author has structured their description in a particular way, preserve that structure. Do not reformat, reorder, or restructure sections they wrote.
  4. Only change what was asked — make the minimum edit necessary to fulfill the request. Do not "improve" unrelated phrasing, fix grammar elsewhere, rewrite the summary, or modify checklist items that were not part of the request.
  5. Apply the edit:

- Title: gh pr edit <number> --title "..." - Body: Write the updated body to a temp file using the Write tool, then run gh pr edit <number> --body-file /tmp/pr-body.md and clean up with rm /tmp/pr-body.md. Do not use --body "..." — shell quoting mangles backticks and other Markdown formatting.

Creating a new PR

Follow Steps 1–4 below only when creating a new PR (or when an existing PR has an empty description).

Step 1 — Gather context

Run --stat first to understand the scope without blowing up context:

git log --oneline production..HEAD
git diff production...HEAD --stat

If the stat output shows more than ~20 files changed, do not run the full diff. Instead, read specific files that are unclear from the stat output. For smaller changesets (under ~20 files), the full diff is fine:

git diff production...HEAD

Step 2 — Write the PR title

Branch: production

This repo uses production as the default branch, not main. Always use --base production when creating PRs. Contributors from other repos often expect main — this is intentional.

Format

For content changes, the dominant convention is product brackets:

[Product] Short description

For changes spanning multiple products:

[Product1, Product2] Short description

For non-content changes (tooling, CI, config, components, worker code, repo maintenance), use a conventional commit prefix instead:

chore: Short description
fix: Short description
feat: Short description

Inferring the product bracket from file paths

Do not ask the author what product bracket to use — infer it from the changed file paths.

  • src/content/docs/{slug}/ and src/content/partials/{slug}/ map directly to a product. Read the title field from src/content/docs/{slug}/index.mdx to get the display name, then strip any "Cloudflare " prefix to get the bracket (e.g. title "Cloudflare Workers" → [Workers]).
  • src/content/changelog/{slug}/ maps the same way — use the product bracket, not [Changelog]. Use [Changelog] only when the PR exclusively adds or updates changelog entries across multiple products.
  • If the change spans more than 3 products, use the 2–3 most prominent ones.

Rules

  • Use title case for product names inside brackets: [Workers], [AI Search], [Zero Trust]
  • Keep the description under ~60 characters
  • Use imperative mood: add, fix, update, remove, document, correct
  • Do not end with a period
  • Common abbreviations in brackets: [DO] for Durable Objects, [KV], [ZT] for Zero Trust, [R2], [D1]

Title examples (from real PRs)

[AI Search] Add hybrid search and boosting configuration docs
[Hyperdrive, Workers VPC] Document TCP services, TLS cert verification
[Browser Rendering] Add Wrangler CLI commands documentation
[Billing] Restructure billing docs into intent-based sections
[DMARC Management] ELI5
[Client-side security] ELI5 updates
[DNS, Fundamentals] Onboarding review and add video
[Style Guide] Adding products frontmatter to all visible examples
[Workers] Document Durable Object Facets
[Changelog] CDP + WebMCP changelog entries

Use the [Product] bracket format as your default for content changes. Use conventional commit prefixes for non-content changes.

Step 3 — Write the PR body

Read the PR template from the repository before writing the body:

cat .github/pull_request_template.md

Use that file as the exact base for the PR body. Do not rely on any hardcoded version of the template — always read it fresh from disk in case it has changed.

How to fill out each section

Summary

Write a short explanation covering:

  • What type of documentation is being changed (new page, update, fix, restructure, changelog entry)
  • Why the change is needed or what prompted it
  • Links to any relevant public context: GitHub issues, Jira tickets, related PRs, or public docs pages.

Keep it factual. Do not repeat what the checklist items say. For small, focused PRs 1-2 sentences is enough. For larger PRs touching many files or multiple areas, a longer description is appropriate — use tables, lists, or code blocks over paragraphs of prose where it makes the summary easier to scan.

Good examples:

Small, focused PR:

Adds a caution note for the active attribute mapping behavior in SCIM provisioning. Fixes https://github.com/cloudflare/cloudflare-docs/issues/1234

Medium PR:

Updates the Access policies index to reflect the new policy grouping UI. Fixes stale screenshots and outdated step ordering.

Larger PR spanning multiple areas:

Restructures the billing docs into intent-based sections to make it easier for users to find pricing and usage information. | Before | After | | --- | --- | | billing/usage.mdx | billing/usage-and-limits.mdx | | billing/limits.mdx | *(merged into above)* | | billing/overview.mdx | billing/index.mdx | - Updated all internal links pointing to moved pages - Added redirects for all renamed files

Screenshots (optional)

Skip this section entirely unless the PR changes something visual — new pages, rearranged navigation, updated UI steps, or modified images. Do not leave the empty comment placeholder if screenshots are not needed.

If the PR does change something visual, include the section with a <!-- TODO: add screenshots before requesting review --> comment so the human knows to fill it in before the PR is ready for review.

Documentation checklist

Go through each item and decide whether it applies:

  1. Changelog entry — Required if the PR documents a new feature, enhancement, or noteworthy change to a Cloudflare product. Remove this item if the PR is a fix, typo correction, internal restructure, or style update.
  2. Style guide adherence — Check the diff for files under src/content/ or authored component files (.mdx, .astro, .css). Keep this item only if at least one such file was added or modified. Remove this item if the PR exclusively changes source code (.ts, .tsx, .js), tooling, CI, configuration files, agent skills, or any other non-content assets — even if those files live under src/ or happen to be Markdown.
  3. Issue opened for larger changes — Keep this item if the PR adds a new page, restructures a section, or addresses known inaccuracies. Remove it for small focused changes.
  4. Redirects for renamed/moved files — Keep this item if any .mdx files were renamed, moved, or deleted. Remove it if no files changed location.

Remove individual checklist items that genuinely do not apply. Do not leave unchecked items that are irrelevant — they create noise for reviewers. Only remove the entire Documentation checklist section if none of the items apply (e.g. a pure CI or tooling change). If even one item applies, keep the section and remove only the irrelevant items.

What not to do

These patterns create review friction and will result in the PR being sent back:

  • Context-free rewrites — If the PR significantly changes or restructures content, the summary must explain what changed and why. A diff with no explanation forces reviewers to reverse-engineer intent.
  • Diff narration — Do not summarise the PR by listing what changed line by line ("changed X to Y on line 42", "updated heading from A to B"). Explain why the change was made, not what it mechanically did.
  • Cross-product changes without explanation — If the PR touches files across multiple product areas, explain the connection. Unrelated-looking changes with no stated reason are a red flag for reviewers.
  • Pruning the checklist wrong — Remove individual items that do not apply. Do not delete the entire checklist section unless none of the items are relevant. Reviewers use the remaining items to quickly verify coverage.

Step 4 — Create the PR

Build the PR body by starting from the template read in Step 3 — replace the summary placeholder comment with your actual summary, remove checklist items that do not apply, and handle the screenshots section per the guidance above.

Important: Do not pass the body via --body "$BODY" or --body '...' — shell quoting mangles backticks and other Markdown formatting. Instead, write the body to a temporary file and use --body-file:

# 1. Write the PR body to a temp file using the Write tool (not echo/cat)
# 2. Create the PR referencing that file
gh pr create --base production --draft --title "[Product] short description" --body-file /tmp/pr-body.md
# 3. Clean up
rm /tmp/pr-body.md

All PRs MUST be created as drafts. Most contributors should not land straight into the review queue — the author should review the deploy preview first and mark the PR ready when it looks correct.

Output

Share the PR URL and let the user know it has been created as a draft — they should verify the changes and deploy preview look correct, then mark it as ready for review when they are satisfied. Do not push follow-up commits, do not request reviewers, do not make further edits to the PR unprompted. The human takes it from here.

平台分布

Codex

37.41%
按下载量换算33

Claude

32.39%
按下载量换算28

Cursor

17%
按下载量换算15

Gemini CLI

9.52%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

继续浏览同类 Skills