gh-pr-description
它能做什么
这项技能起草并审阅 GitHub 拉取请求描述。它读取分支的改动和仓库模板,然后为审阅者编写简短的摘要。适合打开或更新拉取请求的开发者。
适用场景
- ✓当你打开 GitHub 拉取请求,需要为审阅者提供清晰的描述时。
- ✓当你更新现有拉取请求,并希望其描述与最新改动保持一致时。
- ✓当你想用通俗的语言为审阅者总结一个分支的时候。
技能链接
https://github.com/vercel/eve/blob/main/.agents/skills/gh-pr-description/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请按照仓库模板,为我的拉取请求编写描述,并为审阅者提供简短的摘要。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会阅读分支的差异、提交记录、关联议题和测试,然后用简短、通俗的摘要填写拉取请求模板,只列出实际运行过的验证。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
GitHub PR description
Inspect the branch diff, commits, related issue or discussion, tests, docs, and changesets. When updating a PR, read its current body first.
Write
Fill in .github/pull_request_template.md. Write for a reviewer, not a
changelog:
- Follow these ASD-STE100 rules where they apply:
- Use approved words from the ASD-STE100 dictionary, with one meaning per word.
- Use active voice and keep one topic in each sentence.
- Limit descriptive sentences to 25 words and procedural sentences to 20 words.
- Keep necessary technical terms, proper nouns, and code identifiers.
- Keep the Summary to one short paragraph: usually 2–4 sentences and about 100 words or fewer.
- Lead with the concrete problem, user need, or decision behind the change; follow with the solution and meaningful behavior. Split independent points into separate sentences.
- Do not list files or narrate commits. Include implementation detail only when it is necessary to assess behavior or risk.
- Mention breaking changes, preserved behavior, tradeoffs, scope boundaries, follow-ups, or stacked PRs only when they matter to review.
- Link an existing issue or discussion with
Closes #N,Related to #N, or an equivalent when one exists. Do not create an issue solely for a PR. - State only validation that actually ran, including limitations or failures.
Preserve the checklist and check only verified items.
Publish
Before publishing, confirm the Summary leads with why the change is needed.
Write the body to a file, then pass it to gh pr create or gh pr edit with
--body-file.
常见问题
它会列出我修改的每一个文件吗?
不会。它避免文件列表和提交记录式的叙述,只包括审阅者需要的细节。
它会关联相关议题吗?
会。当存在相关议题或讨论时,它会添加 Closes 或 Related 等链接。
它会声称测试通过了吗?
不会。它只说明实际运行过的验证,包括任何限制或失败情况。
详情
作者的原始描述
Drafts and reviews GitHub pull request descriptions for the eve repository. Use when opening, updating, or reviewing a PR, or when summarizing a branch for reviewers.
repo: vercel/eve
热度
- GitHub 星标
- 5.8k
- 排名
- #14657
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …