pr

GitHub

用于在指定仓库创建或更新内部 Pull Request,包括编写符合规范的描述、关联 Issue 及验证结果,确保 Reviewer 能独立理解变更背景与实现细节。

.agents/skills/pr/SKILL.md ccch1mneyyy/dsh-Go

触发场景

需要提交新的内部 PR 编辑或更新现有 PR 描述

安装

npx skills add ccch1mneyyy/dsh-Go --skill pr -g -y
更多选项

非标准路径

npx skills add https://github.com/ccch1mneyyy/dsh-Go/tree/main/.agents/skills/pr -g -y

不安装直接使用

npx skills use ccch1mneyyy/dsh-Go@pr

指定 Agent (Claude Code)

npx skills add ccch1mneyyy/dsh-Go --skill pr -a claude-code -g -y

安装 repo 全部 skill

npx skills add ccch1mneyyy/dsh-Go --all -g -y

预览 repo 内 skill

npx skills add ccch1mneyyy/dsh-Go --list

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 一律不接受,本技能只用于维护者自己的分支。

  1. 一个 PR 一个主题。确认改动有明确目标;不要因为某个 issue 存在就自动把实现包装成 PR。关联 issue(如有)。
  2. 提交并推送分支,分支 upstream 是它自己,绝不推 main。提交信息用 type(scope): summary(conventional commits,中文或英文与周边一致)。只暂存明确路径。
  3. 读完整 diff 与相关代码,确认能解释所有权与行为;收集实际跑过的验证。
  4. 用仓库内的 PR 模板 写正文:
    • Why the change:一句话。
    • Special things to note:1–3 条 reviewer 提醒;未运行的检查也写这里。
    • Change outline:最少的图(文件树/调用链/关键形状),每图一句说明,不写逐文件流水账。
    • Verification:实际执行的命令与结果;真机/桌面区分写清。 正文用中文,一个人对另一个人说话。
  5. 用 gh pr create --body-file / gh pr edit --body-file 发布,再 gh pr view 确认渲染结果;报告 PR URL、关联 issue 和 CI 状态。

版本历史

  • e0c9670 当前 2026-11-16 01:36

同 Skill 集合

.agents/skills/audit/SKILL.md
.agents/skills/bug/SKILL.md
.agents/skills/vuln-check/SKILL.md
app/assets/skills/companion-adapt/SKILL.md
app/assets/skills/dsh-go-guide/SKILL.md
app/assets/skills/dsh-go-plugin/SKILL.md
app/assets/skills/dsh-go-support/SKILL.md
app/assets/skills/dsh-go-ui/SKILL.md
app/assets/skills/pet-theme/SKILL.md
docs/guide/SKILL.md
sdk/plugin-kit/skill/SKILL.md
.agents/skills/review/SKILL.md

元信息

文件数
0
版本
e0c9670
Hash
47050602
收录时间
2026-11-16 01:36

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-16 02:22
浙ICP备14020137号-1