Token导航 LogoToken导航

Agent Skill · 研究检索

generate-pr-description(生成公关描述)

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

generate-pr-description 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为可写文件;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 48,496。

总安装 685周安装 28GitHub Stars 公开资料未说明下载 222核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/lichens-innovation/skills --skill generate-pr-description

这个 Skill 是做什么的

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

generate-pr-description 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。

安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。当前顶部介绍为空,原始 SKILL.md 摘录未提供。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要可写文件,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

generate-pr-description 怎么安装?

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

generate-pr-description 支持哪些 AI 工具?

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

generate-pr-description 需要什么权限?

权限级别是可写文件。该 Skill 可能写入或修改本地文件,使用前需要确认目标目录和修改范围。

generate-pr-description 是免费的吗?

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

generate-pr-description 用的人多吗?

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

generate-pr-description 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 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调用外部服务未明确有提醒
generate-pr-description

生成公关描述 · 本页

685—可写文件未明确通过

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

SKILL.md 原文

Generate PR Description

Generate a concise pull request description by analyzing git changes and using the project's PR template.

Language: Always generate PR titles and descriptions in English, regardless of the user's language or the language of commit messages.

Workflow

  1. Identify parent branch

- Check current branch: git rev-parse --abbrev-ref HEAD - Determine parent (usually main or master): git show-branch | grep '*' | grep -v "$(git rev-parse --abbrev-ref HEAD)" | head -1 | sed 's/.*\[\(.*\)\].*/\1/' | sed 's/[\^~].*//' - Or use: git merge-base HEAD main to find common ancestor

  1. Analyze changes

- Get diff stats: git diff --stat <parent-branch>..HEAD - Get commit messages: git log --oneline <parent-branch>..HEAD - Get file changes: git diff --name-status <parent-branch>..HEAD

  1. Generate semantic commit title

- Analyze changes to determine type: - feat: - New features - fix: - Bug fixes - docs: - Documentation changes - style: - Code style changes (formatting, no logic change) - refactor: - Code refactoring - perf: - Performance improvements - test: - Adding or updating tests - chore: - Maintenance tasks (deps, config, etc.) - Format: <type>(<scope>): <short description> - Keep title under 72 characters

  1. Load PR template

- Check for .github/pull_request_template.md first - If not found, check .gitlab/merge_request_template.md - If still not found, use the template in this skill: templates/pull_request_template.md (relative to the skill directory) - Read the template file

  1. Build the change hierarchy — follow these rules strictly Step A — Extract raw changes List every meaningful change from the diff and commit log (files modified, features added, bugs fixed, etc.). Do not group yet. Step B — Group into themes Assign each raw change to a theme. A theme maps to a functional area or concern, for example: Auth, API, UI, Tests, Config, Docs, DB, CI. One change belongs to exactly one theme. Use at most 6 themes; merge minor themes into the closest major one. Step C — Decide the hierarchy level for each theme Apply the rule below to each theme independently: Number of distinct sub-changes in the theme Structure to use 1 (single, simple change) Level-1 bullet only — no sub-bullets 2 or more distinct sub-changes Level-1 bullet (theme label) + one Level-2 sub-bullet per distinct sub-change A "distinct sub-change" is a change that affects a different component, file group, or behavior within the same theme. Two commits that both touch the same component count as one sub-change. Step D — Write the bullets Step E — Validate before writing Re-read your draft and check:

- Level-1: - **ThemeLabel:** one-line summary of what changed in this theme. - Level-2 (when applicable): - Sub-change description (one line). - Never nest deeper than Level-2. - Never duplicate information between a Level-1 line and its Level-2 children: the Level-1 line states the theme + overall impact; Level-2 lines state the individual sub-changes. - No theme appears more than once at Level-1. - Every Level-2 bullet belongs to a different component/behavior within its theme. - No sub-change is repeated across different themes. - Themes with only one sub-change have no Level-2 bullets.

  1. Fill template

- Use the hierarchy built in step 5 for the "Changes Description" section. - Keep each bullet point brief (one line when possible). - Use emojis sparingly (🚧 for WIP, ✅ for done, etc.). - Mark checklist items appropriately: - Documentation: check the box if the PR introduces documentation (JSDoc in changed files, or markdown files .md detected in the diff). - Tests: check the box if the PR adds or updates unit tests. Detect test changes using common conventions: file names matching *.test.* or *.spec.*, or paths under test/, __tests__/, tests/, or similar directories. - Leave "Screen capture(s)" as 🚫 if not applicable.

  1. Related tickets

- Ticket IDs source: The user may provide ticket IDs in their request (e.g. "generate PR description, tickets: NN-123, TB-456"). If none were given, ask the user: "Ticket IDs for this PR (comma-separated, e.g. PROJ-123, PROJ-456). Leave empty if none." - Parsing: Accept ticket IDs in forms like tickets: NN-123, TB-456 or inline (e.g. NN-123, TB-456). Normalize to a trimmed list. - Jira MCP availability: Before filling related issues, determine whether a Jira-capable Atlassian MCP server is enabled (e.g. tools such as getJiraIssue in the workspace MCP descriptors). If it is not available, tell the user explicitly that the Atlassian/Jira MCP is not connected and they should install and enable it if they want ticket rows with fetched summaries and correct Jira URLs. Still proceed with the rest of the PR; for "Related Issue(s)" use plain text keys only (e.g. - PROJ-123) or - 🚫 if they confirm there are no tickets. - If one or more IDs are available and the Jira MCP is available: - For each ticket key, use the MCP to load the issue (e.g. getJiraIssue with the appropriate cloudId and issueIdOrKey; resolve cloudId via MCP resources or tools such as getAccessibleAtlassianResources when needed, following each tool’s schema in the MCP folder). - Derive fullTicketUrl from the MCP response or the known Jira browse URL pattern for that site (must be a complete URL, not shortened). - Derive the link label from MCP issue fields: use the summary field (the issue title — always a plain string). If the summary is empty or missing, fall back to the issue key as {label}. - Translate the label to English if it is in another language — the entire PR must be in English. - Fill "Related Issue(s)" with one bullet per ticket using a Markdown link: - [summary](fullTicketUrl). - Important: the output must always be a Markdown hyperlink in the form [label](url), never a bare URL or plain key. - If one or more IDs are available without Jira MCP (user notified as above): list keys as plain bullets, e.g. - PROJ-123, or a single line listing keys—do not invent browse URLs. - If none, keep "Related Issue(s)" as - 🚫.

  1. Enforce 1000 character limit

- Count total characters including markdown syntax. - If over limit, apply in order: 1. Keep the title. 2. Keep all Level-1 theme bullets. 3. Shorten or remove Level-2 sub-bullets starting from the least critical theme. 4. Condense remaining lines.

  1. Write file, copy to clipboard, remove file

- At PR project root, create or overwrite pr-description.md with the full PR output. - Call: node <skill-dir>/scripts/copy-to-clipboard.mjs "<full-path-to-pr-description.md>" - On success: remove the file and tell the user: "The full PR description is in the clipboard; you can paste it into your PR." - On error: leave pr-description.md in place and tell the user they can open it or copy manually.

Output Format

## PR Description

<semantic-commit-style-title>

<filled-template-markdown>

Extended Example

See examples/checkout-flow.md (relative to this skill directory) for a fully worked example covering Steps A–E with a realistic multi-theme PR.

平台分布

Codex

38.19%
按下载量换算85

Claude

28.59%
按下载量换算63

Cursor

18.25%
按下载量换算41

Gemini CLI

9.38%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

可写文件

该 Skill 可能写入或修改本地文件,使用前需要确认目标目录和修改范围。

安装前确认

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

继续浏览同类 Skills