Agent Skills
› ccch1mneyyy/dsh-Go
› pr
pr
GitHub用于在指定仓库创建或更新内部 Pull Request,包括编写符合规范的描述、关联 Issue 及验证结果,确保 Reviewer 能独立理解变更背景与实现细节。
触发场景
需要提交新的内部 PR
编辑或更新现有 PR 描述
安装
npx skills add ccch1mneyyy/dsh-Go --skill pr -g -y
SKILL.md
Frontmatter
{
"name": "pr",
"description": "Open or update an internal pull request in ccch1mneyyy\/dsh-Go, including writing or rewriting its description. Use for every PR the maintainer creates or edits here, and for \/pr. External pull requests are not accepted (see AGENTS.md)."
}
Ship the current change as an internal pull request a reviewer can understand from the description alone: why it exists, the shape of the implementation, and what was actually verified. 外部 PR 一律不接受,本技能只用于维护者自己的分支。
- 一个 PR 一个主题。确认改动有明确目标;不要因为某个 issue 存在就自动把实现包装成 PR。关联 issue(如有)。
- 提交并推送分支,分支 upstream 是它自己,绝不推
main。提交信息用type(scope): summary(conventional commits,中文或英文与周边一致)。只暂存明确路径。 - 读完整 diff 与相关代码,确认能解释所有权与行为;收集实际跑过的验证。
- 用仓库内的 PR 模板 写正文:
- Why the change:一句话。
- Special things to note:1–3 条 reviewer 提醒;未运行的检查也写这里。
- Change outline:最少的图(文件树/调用链/关键形状),每图一句说明,不写逐文件流水账。
- Verification:实际执行的命令与结果;真机/桌面区分写清。 正文用中文,一个人对另一个人说话。
- 用
gh pr create --body-file/gh pr edit --body-file发布,再gh pr view确认渲染结果;报告 PR URL、关联 issue 和 CI 状态。
版本历史
- e0c9670 当前 2026-11-16 01:36


