Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计通过

create-pull-requests创建拉取请求

Agent Skill

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力。它适合让 Agent 查询项目状态、整理变更、辅助创建或检查协作事项,并把仓库中的信息转成可执行的下一步。使用时需要区分只读查询和写入操作;涉及创建 PR、修改 Issue、推送分支或访问私有仓库时,应确认 token 权限、目标仓库范围和用户授权。

总安装

1,022

周安装

43

GitHub Stars

1

下载量

358
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:create-pull-requests(创建拉取请求)
来源仓库:https://github.com/tenzir/skills
仓库路径:skills/create-pull-requests
安装命令:
npx skills add https://github.com/tenzir/skills --skill create-pull-requests
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/tenzir/skills --skill create-pull-requests

简介

批量创建并保持拉取请求更新日志实时更新。

  • 适用于多变更关联处理和文档同步场景。create-pull-requests 属于开发类 Skill,可作为该场景下的辅助能力补充。
  • 结合 commit-changes 技能拆分提交并扫描相关议题。
  • 安装需确认 Linear issue tracker 集成和分支命名规则。
  • 仅引用主议题,伴生文档 PR 应单独处理避免混淆。

SKILL.md

Create Pull Requests

Create pull requests and keep their changelog current.

Workflow

  1. Ensure changes are committed in coherent units. Use the commit-changes skill for staging, splitting, and writing commit messages.
  2. Scan the current context for related issues before drafting the PR body. Check the user request, surrounding conversation, branch name, commit messages, any existing changelog entry, existing PR text, and any available issue-tracker context. If the tracker is available, identify the main Linear issue(s) this code PR should close; companion docs PRs should only reference them.
  3. Create a pull request from the current worktree branch.
  4. Add and commit a changelog entry. Do not create or edit changelog entries manually here; use the tenzir-ship skill for generating, formatting, and updating the entry.
  5. If the change affects user-facing behavior documented on docs.tenzir.com, follow the update-documentation skill to open a companion docs PR, cross-link the two PRs, and have the docs PR reference the same Linear issue(s).
  6. Push the branch.

When doing follow-up edits, ensure that the changelog entries remain in sync with the changed functionality by routing any entry updates through tenzir-ship rather than editing changelog files by hand.

PR footer

Always look for related issues and companion PRs before finalizing the PR description.

  • Scan the current context first: user prompt, branch name, recent commits, existing changelog text if any, PR title/body draft, and companion docs or follow-up PRs.
  • If tracker context is available, confirm which issue(s) this code PR should close.
  • Use one compact <sub>...</sub> footer at the very end of the PR body.
  • Put that footer in the PR description itself, not in a PR comment.
  • If a footer already exists, extend it instead of creating a new section or a second footer.
  • Keep it terse and machine-readable: prefer one directive or link per line and join lines with <br>.
  • If no reliable issue reference or companion PR is available after scanning, omit that line or ask the user when the linkage matters.

For Linear, use its magic words explicitly in that footer:

  • In the main code PR, use a closing word such as closes so the primary issue moves toward done on merge.
  • Reserve non-closing words such as references, related to, or part of for companion docs PRs or secondary issues this PR should not close.
  • Emojis may prefix a line for readability, but they do not replace Linear's magic words. Keep the actual keyword text intact.
  • Even if the branch name or PR title already mentions the issue ID, still add the footer when you want the close-vs-link intent to be explicit.
  • When multiple issues share the same relationship, enumerate them after one magic word on one line to keep the footer compact, for example ✅ Closes TNZ-82, TNZ-499, TNZ-108, TNZ-109.
  • Use separate lines only when the relationship differs, for example one line for closes and another for references.
  • When there is a companion docs PR, add a plain line such as 📚 Docs PR: tenzir/docs#261 to the same footer block rather than creating a dedicated section.
  • When linking GitHub PRs in that footer, use GitHub shorthand such as tenzir/tenzir#5999 or tenzir/docs#261 instead of full URLs. Use a full URL only for deep links that shorthand cannot express, such as a specific issue comment.

Example footer:

<sub>
📚 Docs PR: tenzir/docs#261<br>
✅ Closes TNZ-150, TNZ-151<br>
🎫 References TNZ-152<br>
📎 Related: tenzir/tenzir#5999
</sub>

PR body

Use this template for the pull request description:

## 🔍 Problem

<!-- What is the problem, gap, or pain point this PR addresses? -->

## 🛠️ Solution

<!-- How does this PR address the problem? -->

## 💬 Review

<!-- Where should reviewers focus? Architecture decisions, trade-offs, risks, open questions. -->

<!-- Append a final <sub>...</sub> footer here for issue and companion-PR links. -->

Instructions:

  • The target audience is a senior software engineer. Be brief and to the point.
  • Replace each HTML comment with a terse explanation.
  • Prefer bullet lists over elaborate prose.
  • The diff speaks for itself, don't explain what files you changed.
  • Put the footer at the very end of the PR body so issue trackers can parse it reliably and related PR links stay visually compact.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.27%
按下载量换算133

Claude

28.11%
按下载量换算101

Cursor

17.01%
按下载量换算61

Gemini CLI

9.65%
按下载量换算35

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills