Token导航 LogoToken导航

Agent Skill · 研究检索

pr-message-writer(公关消息撰写者)

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

pr-message-writer 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 68,884。

总安装 222周安装 9GitHub Stars 16下载 70核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/krzysztofsurdy/code-virtuoso --skill pr-message-writer

这个 Skill 是做什么的

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

pr-message-writer 用于查找、检索和筛选相关信息。适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 确认具体用法。

安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

pr-message-writer 怎么安装?

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

pr-message-writer 支持哪些 AI 工具?

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

pr-message-writer 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

pr-message-writer 是免费的吗?

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

pr-message-writer 用的人多吗?

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

pr-message-writer 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

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

值得选的地方

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

先想清楚的地方

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

适不适合你

更适合

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

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 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-message-writer

公关消息撰写者 · 本页

22216接触敏感数据未明确未通过

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

SKILL.md 原文

PR Message Writer

Write comprehensive, well-structured pull request descriptions by analyzing code changes and following established best practices for technical documentation.

Workflow

Step 1: Gather Context

  1. Determine the main branch: git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@' Falls back to main or master if not set.
  2. Find the merge base: MAIN_BRANCH=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@' || echo "main") MERGE_BASE=$(git merge-base HEAD origin/$MAIN_BRANCH)
  3. Collect all changes since the branch diverged: git log --oneline $MERGE_BASE..HEAD git diff --stat $MERGE_BASE..HEAD git diff $MERGE_BASE..HEAD
  4. If a ticket ID or branch name is provided as an argument, include it in the PR title.
  5. Gather ticket context. The ticket content is essential for writing accurate testing instructions and understanding the business requirement. If the ticket content is available in context (e.g., from a previous conversation or your project tracker), use it. If it is NOT available or has fallen out of context, ask the user to provide the ticket content before proceeding. Do not guess or invent requirements.

Step 2: Analyze Changes

Read every changed file and understand:

  • What was changed (new files, modified logic, deleted code)
  • Why the change was made (bug fix, new feature, refactoring, performance)
  • Impact on existing functionality (breaking changes, migrations, cache invalidation)
  • Dependencies introduced or removed

Step 3: Follow the Template

Use the PR message template for structure: template

Review real-world examples for tone and detail level: examples

Step 4: Match Change Type to Categories

Apply the appropriate sections based on what the PR touches:

CategoryWhen to Include
Database and Entity/Model ChangesNew tables, columns, migrations, schema changes
API Changes (REST/GraphQL)New or modified endpoints, query/mutation changes
Admin Interface ChangesNew admin pages, filters, list views, form fields
Caching and PerformanceCache keys, invalidation, query optimization
Security and PermissionsAuth rules, role checks, access control changes
Event HandlingNew events, handlers, message queue changes
TestingNew or modified test cases, fixtures, test utilities

Step 5: Write Testing Instructions (Optional)

Before writing testing scenarios, ask the user whether they want testing scenarios included in this PR message. Testing scenarios are optional. If the user declines, skip this step entirely and omit the "Test scenarios" section from the PR message. Still include the "Testing instructions" section with basic verification steps and database queries if applicable.

If the user wants testing scenarios included:

Target audience: QA testers with ZERO codebase knowledge. They do not know about internal code structure, classes, services, or any implementation details. Write every instruction as if explaining to someone who has never seen the code and never will.

Rules for testing instructions:

  • NEVER reference code -- no file paths, class names, method names, variable names, or internal architecture
  • NEVER use technical implementation terms -- no internal framework concepts, no code-level abstractions
  • If UI exists, provide exact click-by-click navigation: which URL to open, which button to click, which field to fill, what value to enter, what to expect on screen
  • If no UI exists (API-only or GraphQL-only), provide the exact request to execute -- full query/mutation with example variables, which tool to use (GraphQL playground, Postman, curl), and the exact URL/endpoint
  • Database queries are OK -- QA knows how to run SQL. Include queries when there is no other way to verify something through UI or API
  • Every scenario is checkboxed -- use - [] **Scenario N: Name** so QA can tick them off
  • Every scenario ends with "Expected results" -- a bullet list of what should be visible/changed after the steps
  • Every scenario is step-by-step -- numbered steps, one action per step
  • Use plain language -- "Go to the admin panel", "Click the 'Users' menu item", "You should see a green success message"
Finding real URLs and UI paths

When a scenario involves navigating to a page, search the codebase for the actual route/URL rather than guessing or using placeholder URLs. Look in:

  • Route configuration files (e.g., route definitions, annotations, attributes, decorators)
  • Controller or handler definitions with route mappings
  • Frontend router definitions (e.g., client-side router configs, page-based routing)

Always provide the real relative URL path (e.g., /en/account/internal-store) rather than generic placeholders like https://your-staging.example.com/store. If the route has dynamic segments, show the pattern and explain what to substitute (e.g., /en/account/store/checkout/{packageId} -- replace {packageId} with the ID from the previous step).

When a feature is reachable through the UI, lead with the UI navigation -- describe how to get there by clicking through menus and buttons. Only fall back to direct URL navigation when there is no UI path or the UI path is too many clicks deep.

Providing test data

Always provide concrete, realistic test data that QA can copy-paste directly. Never say "enter a valid credit card" or "use test credentials" without giving the actual values.

Common test data to include when relevant:

  • Credit cards (Stripe test mode): 4242 4242 4242 4242 (Visa, succeeds), 4000 0000 0000 3220 (3D Secure required), 4000 0000 0000 0002 (declined). Expiry: any future date (e.g., 12/34). CVC: any 3 digits (e.g., 123)
  • Credit cards (Adyen test mode): 4111 1111 1111 1111 (Visa), 5500 0000 0000 0004 (Mastercard). Expiry: 03/30. CVC: 737
  • PayPal sandbox: provide sandbox buyer email/password if available, or note "use PayPal sandbox credentials from the team"
  • Email addresses: use realistic but clearly fake addresses (e.g., qa-tester+scenario1@example.com)
  • Phone numbers: use test numbers for the relevant country (e.g., +1 555 0100 for US test)
  • Dates: use specific dates, not "any date" (e.g., 2025-01-15)
  • Amounts/quantities: use specific numbers that test the scenario (e.g., quantity 3, not "some items")

If the project uses a specific payment provider, search for its test mode configuration in the codebase (look for environment variable keys related to payment, payment config files) to determine which test card numbers apply.

When test data requires database setup (e.g., a specific user account, a product with certain stock), provide the exact SQL INSERT or describe the UI steps to create it.

For every PR, include:

  • Step-by-step verification -- exact UI navigation or exact API requests to run
  • Copy-pasteable requests -- full GraphQL queries/mutations or curl commands with example values, specifying where to run them
  • Database verification -- SQL queries to confirm data integrity (QA can run these)
  • Edge cases -- described as user actions and expected outcomes, not as code behavior

Step 6: Maintain Consistency

  • Use the same section ordering as the template
  • Write in imperative mood for descriptions ("Add product review entity" not "Added" or "Adds")
  • Include code blocks with language hints for syntax highlighting
  • Keep line length reasonable for readability in PR tools

Quality Checklist

Before finalizing the PR message, verify:

  • Ticket content was referenced (or user was asked to provide it)
  • Title is concise and includes ticket ID if available
  • "What have I changed" covers every file group logically
  • Testing instructions contain ZERO code references (no file names, class names, method names)
  • Testing instructions are step-by-step with one action per step
  • Every scenario specifies exact UI navigation OR exact API requests to run
  • Every scenario has a checkbox (- []) and an "Expected results" bullet list
  • URLs in scenarios are real routes from the codebase (not placeholder URLs)
  • Test data is concrete and copy-pasteable (card numbers, emails, dates -- not "use a valid card")
  • Testing instructions are understandable by someone with zero codebase knowledge
  • Database verification queries are included for any schema changes
  • Product-facing changes are called out explicitly
  • No sensitive data (secrets, tokens, internal URLs) is included
  • Migration steps are documented if applicable
  • Breaking changes are highlighted prominently

Common Patterns by PR Type

New Feature

  • Describe the business requirement briefly
  • List new entities/models, endpoints, and admin pages
  • Provide full testing flow from setup to verification
  • Include database queries showing new data

Bug Fix

  • State the bug clearly: what happened vs. what should happen
  • Explain root cause
  • Describe the fix and why this approach was chosen
  • Include regression test instructions

Refactoring

  • Explain motivation (tech debt, performance, maintainability)
  • Confirm no behavioral changes (or document any intentional ones)
  • List before/after comparisons if helpful
  • Note any config or dependency changes

Database Migration

  • List all schema changes (new tables, columns, indexes)
  • Note if migration is reversible
  • Flag any data migrations that touch existing rows
  • Include rollback instructions if applicable

Reference Files

ReferenceContents
PR message templateStructured template for PR descriptions with all optional sections
Example PR messagesReal-world examples for features, bug fixes, and admin changes

Integration with Other Skills

SituationRecommended Skill
Starting work on a ticket end-to-endticket-delivery
Generating a summary report after completing workreport-writer
Reviewing code before writing the PRcode-review-excellence
Requesting a code review from teammatesrequesting-code-review

平台分布

Codex

37.22%
按下载量换算26

Claude

30.9%
按下载量换算22

Cursor

16.81%
按下载量换算12

Gemini CLI

9.4%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

未通过

Snyk

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

继续浏览同类 Skills