gh-pr-description
GitHub该技能用于起草和审查GitHub Pull Request描述。通过检查分支差异、提交记录和测试,遵循ASD-STE100规范撰写面向审查者的PR正文,并调用gh CLI工具发布或更新PR内容。
Trigger Scenarios
Install
npx skills add vercel/eve --skill gh-pr-description -g -y
SKILL.md
Frontmatter
{
"name": "gh-pr-description",
"metadata": {
"internal": true
},
"description": "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."
}
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.
- In PR bodies, do not list routine checks like typecheck, lint, or standard test runs as "Test plan" items (those are implied engineering hygiene).
- This also applies to reviewer-facing suggestions such as "recommended before merge: run
turbo typecheck test" or "runpnpm oxfmt-checkon the edited files" — CI already runs these on every PR, so listing them is noise. Only call out a check in Validation if it exercises change-specific behavior that CI does not cover (e.g. a manual production probe, a dashboard spot-check, a one-off data query). - Use the validation section only for change-specific verification: key scenarios exercised, expected behavioral outcomes, risk checks, and any manual/production-safe validation steps.
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.
Version History
- d1578ec Current 2026-11-07 13:40
-
f4e8ef1
2026-10-18 21:02
新增要求遵循ASD-STE100规则(使用批准词汇、主动语态、限制句子长度)以规范PR描述的写作风格。
-
9cb899d
2026-09-08 22:20
简化技能内容,强调 PR 描述应以变更原因为开头。
-
a77ae1b
2026-08-27 12:10
澄清贡献者关于 Issue 的政策,明确链接 Issue 的规则。
-
73d381e
2026-08-16 20:14
新增Diff size章节规范,要求按文档、实现、测试分类统计变更并解释原因;精简摘要写作指引。
-
5cc74a6
2026-08-12 13:15
强化精简 PR 描述的要求,增加对风险、范围及验证细节的明确指引。
- 84c3dfc 2026-08-06 12:49
- e5c9191 2026-08-05 19:10


