create-pull-request

当用户要求创建拉取请求、提交更改以供审查或打开 PR 时使用。依据项目规范处理提交分析、分支管理、PR 模板使用,并通过 gh CLI 工具创建 GitHub 拉取请求。

仓库最近推送
GitHub Stars
212
Forks
664
Issues / PRs
21

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "create-pull-request":https://skillpi.com/zh/skills/deepskill-57ebb6364f90c53ee63b9ee820716ced347a22f90302a47721ed46550e70db1c。安装前核对上游来源和版本:https://github.com/Kilo-Org/kilo-marketplace。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

当用户要求创建拉取请求、提交更改以供审查或打开 PR 时使用。依据项目规范处理提交分析、分支管理、PR 模板使用,并通过 gh CLI 工具创建 GitHub 拉取请求。

0 下载

介绍来源: third_party · Kilo-Org · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: create-pull-request
description: Use when creating a pull request for the current branch — gathers branch context, generates a PR description following the repo's pull_request_template.md, and creates the PR with a Plane work item ID prefix in the title.
user_invocable: true

Create PR

Create a pull request using the repo's PR template, a Plane work item ID as the title prefix, and a fully filled-out description based on the actual diff.

Workflow

  1. Determine the base branch: Default to preview unless the user specifies otherwise.

  2. Gather context (in parallel):

    • git status -s — check for uncommitted changes
    • git diff <base>...HEAD --stat — files changed
    • git log <base>...HEAD --oneline — all commits on the branch
    • git diff <base>...HEAD --no-color — full diff for understanding changes (if very large, focus on the most important files first)
    • git rev-parse --abbrev-ref --symbolic-full-name @{u} — check if branch tracks a remote
    • Read .github/pull_request_template.md from the repo root
  3. Determine work item ID:

    • Extract from branch name if it contains an identifier (e.g., chore/silo-1146-foo → SILO-1146, feat/web-1234-x → WEB-1234)
    • If not found in branch name, ask the user
  4. Draft the PR using the template from step 2:

    Title: [WORK-ITEM-ID] <type>: <concise summary> (under 70 chars)

    • Type reflects the change: fix, feat, chore, refactor, docs, perf, etc.

    Body: Fill in every section from the PR template based on the actual diff:

    • Description — Clear, concise summary of what the PR does and why. Focus on the "what" and "why", not line-by-line changes. Mention important implementation decisions.
    • Type of Change — Check the appropriate box(es): Bug fix, Feature, Improvement, Code refactoring, Performance improvements, Documentation update.
    • Screenshots and Media — Leave a placeholder: <!-- Add screenshots here -->
    • Test Scenarios — Suggest concrete scenarios grounded in the actual changes (e.g., "Navigate to project settings and verify the new toggle works"), not generic ones.
    • References — Include the work item ID, any linked issues the user mentions, and any Sentry issue links/IDs (e.g., SENTRY-ABC123 or Sentry URLs) referenced earlier in the conversation.

    Append a Claude Code session line at the bottom of the body.

  5. Push and create (in parallel where possible):

    • Push branch with -u if no upstream is set
    • Create PR via gh pr create using a HEREDOC for the body
  6. Return the PR URL to the user.

Example Title

[SILO-1146] fix: allow relative URLs for configuration_url and improve app tile visibility

Guidelines

  • Keep the description concise but informative
  • Use bullet points when listing multiple changes
  • Focus on user-facing impact, not implementation details
  • Don't fabricate test scenarios that aren't relevant to the actual changes

Common Mistakes

  • Summarizing only the latest commit instead of all commits on the branch
  • Forgetting to check for an upstream before pushing
  • Using a work item ID format that doesn't match the branch convention
  • Wrapping the PR body in a code fence when passing it to gh pr create

版本历史

  1. skills-20261103210927-6c1b454 GitHub ↗
    原版更新说明

    Automated skills release from commit 6c1b4543cac1d45a80bf5904e4b69ac315117323

  2. skills-20260928190452-ff51758 GitHub ↗
    原版更新说明

    Automated skills release from commit ff51758b06b8249007116184096765d47bdb7505

  3. skills-20260924105536-d31110d GitHub ↗
    原版更新说明

    Automated skills release from commit d31110d62dc0bd00c22f1d6f6a630d1e702a0049

  4. skills-20260923085113-cea285e GitHub ↗
    原版更新说明

    Automated skills release from commit cea285ef0e4d6ec47cd2fd9fdbca03813a3363c7

  5. skills-20260922193956-97d7333 GitHub ↗
    原版更新说明

    Automated skills release from commit 97d7333d8200e5ac556c659c8669f3a83ba10866

此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值95/100

亮点

  • 解决开发者高频刚需场景,显著提升代码协作效率
  • 功能完整闭环,包含分支分析、PR 模板填充、gh CLI 调用等全流程
触发精准90/100

亮点

  • 触发描述清晰明确,覆盖多种使用场景
  • 边界清晰,不易与其他 Skill 混淆
结构规范90/100

亮点

  • 步骤划分清晰,包含完整的工作流程和出口条件
  • 提供端到端示例和常见错误指南,文档结构完整
执行可靠90/100

亮点

  • 使用标准工具链,参数正确
  • 覆盖主要异常场景,不可逆操作有确认机制
证据可验 (前四项均值)91/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。