pr-content
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChinesePR Content
PR 内容
Generate ready-to-paste Pull Request content (Title + Description) based on branch changes.
基于分支变更生成可直接复制使用的Pull Request内容(标题+描述)。
When to apply
适用场景
- User asks: "生成 PR 内容", "写 PR 描述", "帮我整理 PR 标题和正文"
- User asks: "generate PR content", "write PR title and description", "draft pull request description"
- 用户询问:"生成 PR 内容"、"写 PR 描述"、"帮我整理 PR 标题和正文"
- 用户询问:"generate PR content"、"write PR title and description"、"draft pull request description"
Rule categories
规则分类
| Rule | Trigger | Description |
|---|---|---|
| PR 内容 / PR description / pull request draft | Summarize branch changes and produce structured Title + Description |
| 规则 | 触发词 | 描述 |
|---|---|---|
| PR 内容 / PR description / pull request draft | 汇总分支变更,输出结构化的标题+描述 |
Quick reference
快速参考
- Rule file: rules/pr-content.md
- Input sources: ,
git status,git diff --stat, plus relevant diff detailsgit log --oneline -5 - Default output language: Chinese + English
- Language override: if user explicitly asks for single language, output only that language
- 规则文件: rules/pr-content.md
- 输入来源: 、
git status、git diff --stat,以及相关的diff详情git log --oneline -5 - 默认输出语言: 中英双语
- 语言覆盖规则: 如果用户明确要求单语言输出,则仅输出对应语言
How to use
使用方法
- Match request to this skill's trigger.
- Follow rules/pr-content.md for type-specific structure and output format.
- 确认用户请求匹配本技能的触发条件。
- 遵循rules/pr-content.md要求,输出对应类型的结构和格式。