Agent Skillsmohitagw15856/pm-claude-skills › pr-description-writer

pr-description-writer

GitHub

根据 git diff、提交记录或笔记生成结构化 PR 描述,包含标题、摘要、变更详情、测试步骤及审查指南。

exports/openclaw/pr-description-writer/SKILL.md mohitagw15856/pm-claude-skills

Trigger Scenarios

编写 Pull Request 描述 起草 PR 文档 基于代码变更生成说明

Install

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

Non-standard path

npx skills add https://github.com/mohitagw15856/pm-claude-skills/tree/main/exports/openclaw/pr-description-writer -g -y

Use without installing

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

指定 Agent (Claude Code)

npx skills add mohitagw15856/pm-claude-skills --skill pr-description-writer -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-writer",
    "homepage": "https:\/\/mohitagw15856.github.io\/pm-claude-skills\/skill\/pr-description-writer.html",
    "metadata": {
        "openclaw": {
            "emoji": "⚙️"
        }
    },
    "description": "Write a clear, structured pull request description from a git diff, branch summary, or commit list. Use when asked to write a PR description, draft a pull request, or document code changes. Produces a description with summary, motivation, changes made, testing steps, and reviewer guidance."
}

PR Description Writer Skill

Writes structured, reviewer-friendly pull request descriptions from a diff, commit list, or informal notes. Covers the what, why, and how-to-review so reviewers can start immediately.

Required Inputs

Ask for these if not provided:

  • What changed (paste a git diff, git log --oneline, or describe the changes in plain English)
  • Why it was changed (the problem being solved or feature being added)
  • How to test it (any specific steps a reviewer needs to verify it works)
  • Risk level (low / medium / high — affects how much reviewer guidance to include)
  • PR type (feature / bug fix / refactor / dependency upgrade / config change / hotfix)
  • Target branch (e.g. main / develop / release/2.4 — affects risk framing and reviewer guidance)
  • Linked issue or ticket (e.g. JIRA-1234, GitHub #567 — or "none")

Output Format

Title

A clear, imperative-mood title under 72 characters: [type]: [concise description of what changed]

Examples:

  • feat: add rate limiting to the public API
  • fix: resolve race condition in session expiry
  • refactor: extract payment logic into PaymentService

Summary

2–3 sentences covering:

  • What this PR does (the change)
  • Why it was needed (the problem or goal)
  • The approach taken (at a high level)

Changes Made

Bullet list of specific changes — one bullet per logical change, not per file:

  • Added [X] to handle [Y]
  • Refactored [A] to reduce [B]
  • Removed [C] as it was replaced by [D]
  • Updated [E] to fix [F]

Screenshots / Demo

[If UI change: include before/after screenshots or a screen recording] [If API change: include example request/response] [If no visual change and no API contract change: omit this section entirely — do not leave it as a placeholder]

How to Test

Step-by-step instructions a reviewer can follow:

  1. [Setup step if needed]
  2. [Action to take]
  3. [What to verify]
  4. [Edge case to check]

Include any specific commands, test data, or environment flags needed.

Testing Checklist

  • Unit tests added/updated
  • Integration tests added/updated
  • Edge cases covered
  • Manual testing completed
  • No regressions in existing tests

Reviewer Notes

Flag anything that warrants extra attention:

  • Areas of uncertainty where a second opinion is welcome
  • Deliberate trade-offs made (and why)
  • Out-of-scope items noticed but not addressed
  • Dependencies on other PRs (link them)

Related

  • Closes #[issue number] (if applicable)
  • Related to #[PR/issue number]

Scoring Rubric (0–40)

Score any output of this skill before handing it over; 32+ is ship-quality.

Dimension 0 5 10
Why over what Description only restates the diff; no motivation given The what is clear, but the why is thin or generic ("improves the code") Problem, goal, and approach are explicit; the description adds context the diff cannot convey
Title & structure Single unstructured paragraph; title vague, missing a type prefix, or over 72 characters Structured with headers, but the title or section usage slips (placeholder sections left in) Valid type prefix, imperative mood, under 72 characters; sections let a reviewer navigate straight to what they need
Testing reproducibility No testing steps Steps exist but assume codebase familiarity or skip edge cases Someone unfamiliar with the code can reproduce verification — commands, test data, flags, and at least one edge case included
Risk-calibrated reviewer guidance High-risk PR with no reviewer notes, or notes that are pure boilerplate Notes exist but name no specific trade-off, uncertainty, or out-of-scope item Guidance matches risk: high-risk flags specific concerns and deliberate trade-offs; low-risk keeps notes to one line or omits them

Quality Checks

  • Title is imperative mood and under 72 characters
  • Summary explains what AND why (not just what)
  • Changes list describes logical changes (not file-by-file changes)
  • Title starts with a valid type prefix (feat / fix / refactor / chore / deps / config / hotfix) and is under 72 characters
  • Testing steps are reproducible by someone unfamiliar with the code
  • For high-risk PRs, Reviewer Notes flags at least one specific area of concern or deliberate trade-off; for low-risk PRs, Reviewer Notes is either omitted or kept to one line

Anti-Patterns

  • Do not write a description that only restates what changed — explain why the change was made
  • Do not skip the testing steps — reviewers need to know how to verify the change works
  • Do not omit the reviewer notes for high-risk PRs — flag deliberate trade-offs and areas needing careful review
  • Do not describe implementation details that are obvious from the diff — add context that the diff cannot convey
  • Do not produce a single paragraph — structure with headers so reviewers can navigate to what they need

Usage Examples

  • "Write a PR description for these changes" + [paste diff or description]
  • "Draft a pull request for [feature]"
  • "I need a PR description — here's what I changed"
  • "Summarise these commits into a PR description"
  • "Write the PR body for this branch"

Version History

  • 54fad50 Current 2026-07-19 12:27

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-hiring-panel/SKILL.md
exports/openclaw/agent-observability-spec/SKILL.md
exports/openclaw/agent-severance/SKILL.md
exports/openclaw/agent-spec/SKILL.md
exports/openclaw/agm-in-a-box/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/awkward-message-helper/SKILL.md
exports/openclaw/behavior-intervention-plan/SKILL.md
exports/openclaw/benefits-decoder/SKILL.md
exports/openclaw/bennett-time-audit/SKILL.md
exports/openclaw/bid-tender-review/SKILL.md
exports/openclaw/board-deck-narrative/SKILL.md
exports/openclaw/board-game-designer/SKILL.md
exports/openclaw/board-game-night-planner/SKILL.md
exports/openclaw/board-minutes/SKILL.md
exports/openclaw/board-pre-read/SKILL.md
exports/openclaw/body-double-session/SKILL.md
exports/openclaw/bom-cost-review/SKILL.md
exports/openclaw/bookkeeping-categorization/SKILL.md

Metadata

Files
0
Version
a462f61
Hash
b74d3871
Indexed
2026-07-19 12:27

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-17 12:23
浙ICP备14020137号-1 $mapa de visitantes$