Token导航 LogoToken导航TokenDH.com
前端设计只读github未标认证来源可访问许可证需确认审计异常

pr-description-writer公关描述作家

Agent Skill

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

总安装

815

周安装

35

GitHub Stars

10

下载量

286
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/joyco-studio/skills --skill pr-description-writer

简介

pr-description-writer 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 确认具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

PR Description Writer Skill

This skill generates clean, structured, production-ready Pull Request descriptions in Markdown format.

The user provides context about their PR (changes, bug, feature, architecture, etc). The skill determines or asks for the PR type and generates the correct template.


Proactive PR Detection

Before generating anything, always check if an open Pull Request already exists for the current branch using the gh CLI:

gh pr view --json number,title,url,body 2>/dev/null
  • If a PR is found, note its number, current title, URL, and body. Inform the user that an open PR was detected and show the PR URL.
  • If no PR is found (command exits non-zero), skip this step and proceed normally.

This detection is automatic — do not ask the user whether to check. Always check.


PR Types

Supported types:

  • issue
  • feature
  • big-feature

If the user does not specify the type, ask them to choose one.


General Writing Rules

  • Write in English.
  • Be concise and high-signal.
  • Avoid generic filler text.
  • Focus on why + impact, not only what changed.
  • Use clean, professional technical writing.
  • Prefer clear technical explanations over marketing language.

PR Title Rules

The skill must always generate a PR title before the description.

Rules:

  • Must be concise and descriptive
  • Must reflect intent and impact (not only change)
  • Prefer conventional PR style when possible

Examples:

  • fix(auth): prevent session reset on refresh
  • feat(payments): add MercadoPago checkout support
  • refactor(ui): migrate layout system to grid tokens

Output Mode

This skill ONLY generates Markdown output.

It always:

  • Generates PR title
  • Generates PR description
  • Formats everything as Markdown
  • Is ready for manual copy/paste into GitHub

Final Output Format

# <PR Title>

<PR Description using the selected template>

Linear Issue / Issue Link

Always ask if there is a related issue (Linear, Jira, GitHub Issues, or similar).

If an issue exists, add this section at the top of the PR description:

## Issue

[Issue link here]

If there is no issue, omit this section.


Template --- Issue

Use for:

  • Bugs
  • Fixes
  • Regressions
  • Performance problems
  • Technical corrections
## Problem

<Explain the bug or problem clearly. What was happening? When did it occur?>

## Root Cause

<Explain the technical cause if known.>

## Solution

<Explain what was changed and why it fixes the problem.>

## Result

<Explain impact. Add demo links, videos, screenshots if available.>

Template --- Feature (Small / Medium)

Use for:

  • Normal features
  • Improvements
  • Small UX additions
  • Non-architectural changes
## Problem

<Explain the need, limitation, or missing capability.>

## Root Cause

<Optional. Only include if there was a technical limitation to solve.>

## Result

<Explain what the new feature enables and its impact.>

Rules:

  • Do NOT include Solution section for features.
  • Root Cause is optional.

Template --- Big Feature

Use for:

  • New systems
  • Architectural changes
  • Major UX flows
  • New platform capabilities
  • Large refactors
### Summary

<High level explanation of what this PR introduces and why it matters.>

### Key Changes

- <Main change>
- <Main change>
- <Main change>

---

## Architecture Overview

### 1. Concept / Strategy

<Explain main architectural idea>

### 2. Implementation

<Folders, routing, state, patterns, infra, etc>

### 3. Components / Systems

<Main modules or domains involved>

### 4. Data / State Flow

<How data moves through the system>

### 5. Navigation / UX Flow

<If applicable>

### 6. Migration / Breaking Changes

<If applicable>

---

### Notes

<Tradeoffs, future improvements, known limitations>

Output Delivery

After generating the PR Title and PR Description, the skill must ask the user how they want to receive the output.

If an open PR was detected for the current branch, present these options:

"Do you want me to update the open PR directly, generate a .md file, or just show it here?"

Options:

  • Update the open PR (recommended when a PR was detected) — uses gh pr edit to update title and body directly on GitHub.
  • Show in chat
  • Generate .md file

If no open PR was detected, present the standard options:

"Do you want me to generate a .md file with this content, or just show it here?"

Options:

  • Show in chat (default)
  • Generate .md file

Updating an Open PR

When the user confirms they want to update the open PR, use the gh CLI:

gh pr edit <number> --title "<new title>" --body "<new body>"

Rules:

  • Never update the PR without explicit user confirmation. Always ask first using AskUserQuestion.
  • The <number> comes from the PR detected in the Proactive PR Detection step.
  • The <new title> is the generated PR title.
  • The <new body> is the generated PR description body (Markdown). Pass it via a heredoc to preserve formatting:
gh pr edit <number> --title "<new title>" --body "$(cat <<'EOF'
<generated PR description body>
EOF
)"
  • After a successful update, confirm to the user and show the PR URL.
  • If the update fails, show the error and fall back to displaying the output in chat so the user can copy/paste manually.

Markdown File Rules

If the user requests a .md file:

  • The file must contain:

- PR Title as H1 - PR Description body

  • No extra text outside Markdown
  • File must be ready to upload or commit

Behavior Rules

When running this skill:

  1. Proactively check for an open PR on the current branch using gh pr view. This is automatic — do not ask the user whether to check. If a PR is found, inform the user (show PR URL and number).
  2. Detect PR type from context OR ask user to choose:

- issue - feature - big-feature

  1. Always ask if there is a related issue link.
  2. If issue exists, add Issue section at the top.
  3. Generate:

- PR Title - PR Description (Markdown body)

  1. Ask how to deliver the output:

- If an open PR was detected: offer to update the PR directly, show in chat, or generate .md file. Use AskUserQuestion to confirm. - If no open PR: offer to show in chat or generate .md file.

  1. If the user chose to update the open PR, run gh pr edit with the generated title and body. Never run this without confirmation.
  2. If .md file is requested, generate file-ready Markdown content.

Quality Bar

The generated PR description must:

  • Be copy-paste ready for GitHub PR
  • Be technically accurate
  • Be easy to scan
  • Be useful for reviewers and future maintainers

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.62%
按下载量换算96

Claude

29.54%
按下载量换算84

Cursor

19.71%
按下载量换算56

Gemini CLI

9.83%
按下载量换算28

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills