pr-description

GitHub

用于生成结构化PR描述的技能,帮助快速获得审查。通过总结变更内容、原因、测试方法、风险及回滚方案,并提供审查指南,提升代码审查效率与通过率。

skills/pr-description/SKILL.md mohitagw15856/pm-claude-skills

Trigger Scenarios

创建或更新Pull Request时 需要为代码变更编写合并请求描述时 向他人总结变更以获取审查意见时

Install

npx skills add mohitagw15856/pm-claude-skills --skill pr-description -g -y
More Options

Use without installing

npx skills use mohitagw15856/pm-claude-skills@pr-description

指定 Agent (Claude Code)

npx skills add mohitagw15856/pm-claude-skills --skill pr-description -a claude-code -g -y

安装 repo 全部 skill

npx skills add mohitagw15856/pm-claude-skills --all -g -y

预览 repo 内 skill

npx skills add mohitagw15856/pm-claude-skills --list

SKILL.md

Frontmatter
{
    "name": "pr-description",
    "description": "Write a clear pull-request description that gets reviewed fast and merged with confidence. Use when opening a PR, summarizing a change for review, or asked to write a PR\/merge-request description. Produces a structured PR: what changed and why, how it was tested, risk and rollout, and a focused reviewer guide — so the reviewer understands intent before reading a single diff line."
}

PR Description Skill

A good PR description is a gift to the reviewer: it explains intent before they read the diff, so review is fast and confident. This skill turns a change into a structured PR write-up — what and why, how it was tested, the risk, and where to focus — the difference between a one-pass approval and three rounds of confused back-and-forth.

Required Inputs

Ask for these only if they aren't already provided:

  • The change — what was done (the diff summary, commits, or a description).
  • The why — the problem/issue it solves (link the ticket).
  • Testing — how it was verified (tests added, manual steps, edge cases checked).
  • Risk & rollout — blast radius, migrations, flags, backward compatibility, how to roll back.

Output Format

[Concise, imperative PR title] (e.g. "Add rate limiting to the login endpoint")

What & why — 2–4 sentences: the problem and what this change does about it. Link the issue (Closes #123).

Changes — the key changes as bullets (the substantive ones, not every file). Group if large.

How it was tested — tests added/updated, and the manual verification + edge cases checked. Be specific enough that the reviewer trusts it works.

Risk & rollout — blast radius, any migration/flag/config, backward-compatibility notes, and how to roll back if it goes wrong. Say "low risk, no migration" if so.

Reviewer guide — where to start, what to scrutinize, anything intentionally out of scope or deferred (with a follow-up note). Call out anything you're unsure about and want eyes on.

Screenshots / output (if UI or user-facing) — before/after.

Keep it proportional — a one-line fix gets a short description; a big change earns the full structure.

Quality Checks

  • Title is concise and imperative; the why and linked issue are clear up front
  • Changes summarize intent, not a file-by-file dump
  • Testing is specific (what was run, which edge cases) — not "tested locally"
  • Risk, rollout, and rollback are addressed (even if "low risk, none")
  • A reviewer guide points to where to focus and flags anything uncertain
  • Length is proportional to the size of the change

Anti-Patterns

  • Do not just paste the commit list — explain intent the diff can't convey
  • Do not say "tested" without saying how — give the reviewer something to trust
  • Do not hide risk or migrations — surface them so they're reviewed deliberately
  • Do not write a novel for a one-line change — match effort to size
  • Do not omit the "what to focus on" — undirected review is slow review

Based On

Code-review and PR best practices (explain intent, make review easy, surface risk) — modern engineering norms.

Version History

  • a38bc30 Current 2026-07-05 11:40

Same Skill Collection

exports/openclaw/360-feedback-template/SKILL.md
exports/openclaw/401k-plan-decoder/SKILL.md
exports/openclaw/ab-test-planner/SKILL.md
exports/openclaw/ab-test-readout/SKILL.md
exports/openclaw/accessibility-audit/SKILL.md
exports/openclaw/account-plan/SKILL.md
exports/openclaw/acquirer-red-team/SKILL.md
exports/openclaw/ad-copy/SKILL.md
exports/openclaw/aeo-optimizer/SKILL.md
exports/openclaw/agenda-or-cancel/SKILL.md
exports/openclaw/agent-design-review/SKILL.md
exports/openclaw/agent-observability-spec/SKILL.md
exports/openclaw/agent-spec/SKILL.md
exports/openclaw/ai-ethics-review/SKILL.md
exports/openclaw/ai-eval-plan/SKILL.md
exports/openclaw/ai-feature-prd/SKILL.md
exports/openclaw/ai-product-canvas/SKILL.md
exports/openclaw/air-quality/SKILL.md
exports/openclaw/altitude-shifter/SKILL.md
exports/openclaw/ambiguity-resolver/SKILL.md
exports/openclaw/analyst-relations-brief/SKILL.md
exports/openclaw/announcement-card/SKILL.md
exports/openclaw/api-docs-writer/SKILL.md
exports/openclaw/api-test-plan/SKILL.md
exports/openclaw/api-versioning-strategy/SKILL.md
exports/openclaw/apology-letter/SKILL.md
exports/openclaw/architecture-decision-record/SKILL.md
exports/openclaw/architecture-diagram/SKILL.md
exports/openclaw/archive-strategy/SKILL.md
exports/openclaw/assumption-bounty/SKILL.md
exports/openclaw/assumption-mapper/SKILL.md
exports/openclaw/async-update-format/SKILL.md
exports/openclaw/auto-repair-estimate-decoder/SKILL.md
exports/openclaw/autopilot-charter/SKILL.md
exports/openclaw/benefits-decoder/SKILL.md
exports/openclaw/bid-tender-review/SKILL.md
exports/openclaw/board-deck-narrative/SKILL.md
exports/openclaw/board-minutes/SKILL.md
exports/openclaw/board-pre-read/SKILL.md
exports/openclaw/bom-cost-review/SKILL.md
exports/openclaw/bookkeeping-categorization/SKILL.md
exports/openclaw/boolean-search-builder/SKILL.md
exports/openclaw/brag-doc/SKILL.md
exports/openclaw/brainstorming/SKILL.md
exports/openclaw/brief-builder/SKILL.md
exports/openclaw/briefing-note/SKILL.md
exports/openclaw/budget-builder/SKILL.md
exports/openclaw/budget-variance-analysis/SKILL.md
exports/openclaw/bug-diagnosis/SKILL.md
exports/openclaw/bug-report/SKILL.md

Metadata

Files
0
Version
471c606
Hash
640b7471
Indexed
2026-07-05 11:40

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-30 18:10
浙ICP备14020137号-1 $방문자$