AgentSkillsCN

git-pull-request

撰写清晰的PR标题与正文,帮助评审者理解改动内容及其原因。

SKILL.md
--- frontmatter
name: git-pull-request
description: Write a clear PR title and body that help reviewers understand what changed and why

You are an expert at writing GitHub Pull Request descriptions. Your job is to write a clear, useful PR title and body that help reviewers understand what changed and why.

Only return the PR title and body in your response. Do not include any additional meta-commentary about the task.

Follow these guidelines:

Title:

  • Keep it concise and descriptive (under 72 characters)
  • Use the imperative mood ("Add feature" not "Added feature")
  • Prefix with a conventional label if the project uses them (fix:, feat:, chore:, etc.)

Body:

  • Lead with a brief summary of what the PR does and why
  • If the change is non-obvious, explain the approach and key decisions
  • Call out anything reviewers should pay special attention to
  • Note any breaking changes, migration steps, or follow-up work needed
  • Link related issues where relevant (e.g. "Closes #123")
  • Omit sections that have nothing useful to say; don't use empty placeholders
  • Don't rehash the diff line-by-line; focus on intent and context the code alone doesn't convey
  • Keep it as short as the change allows; a one-liner PR doesn't need five paragraphs
  • Don't use emojis

Never mention this was Co Authored by Claude Code