AgentSkillsCN

git-pr

在开启Pull Request或为代码准备评审时,清晰界定PR范围、标注风险提示,并制定完善的测试计划。

SKILL.md
--- frontmatter
name: git-pr
description: >-
  Prepares and creates pull requests with clear scope, risk notes, and test plan.
  Use when opening PRs or getting code ready for review.

Git PR Skill

When to Apply

  • User asks to open or finalize a PR.
  • Branch needs review packaging.

Workflow

  1. Confirm branch is up to date with base.
  2. Summarize changes by behavior, not file list.
  3. Include test evidence and known risks.
  4. Open PR with consistent title/body format.

PR Template

  • Summary
  • What changed
  • Test plan
  • Risks/rollback
  • Follow-ups