create-pull-request

Use when a user requests creating a pull request, submitting changes for review, or opening a PR. Handles commit analysis, branch management, PR template usage per project conventions, and creates the GitHub pull request via the gh CLI tool.

Last repository push
GitHub Stars
212
Forks
664
Issues / PRs
21

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "create-pull-request" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-57ebb6364f90c53ee63b9ee820716ced347a22f90302a47721ed46550e70db1c. Verify the upstream source and version against https://github.com/Kilo-Org/kilo-marketplace before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Use when a user requests creating a pull request, submitting changes for review, or opening a PR. Handles commit analysis, branch management, PR template usage per project conventions, and creates the GitHub pull request via the gh CLI tool.

0 Downloads

Introduction source: third_party · Kilo-Org · 0.0.1 Reference

SkillPi interpretation

Tasks
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.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
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

Version history

  1. skills-20261103210927-6c1b454 GitHub ↗
    Original release notes

    Automated skills release from commit 6c1b4543cac1d45a80bf5904e4b69ac315117323

  2. skills-20260928190452-ff51758 GitHub ↗
    Original release notes

    Automated skills release from commit ff51758b06b8249007116184096765d47bdb7505

  3. skills-20260924105536-d31110d GitHub ↗
    Original release notes

    Automated skills release from commit d31110d62dc0bd00c22f1d6f6a630d1e702a0049

  4. skills-20260923085113-cea285e GitHub ↗
    Original release notes

    Automated skills release from commit cea285ef0e4d6ec47cd2fd9fdbca03813a3363c7

  5. skills-20260922193956-97d7333 GitHub ↗
    Original release notes

    Automated skills release from commit 97d7333d8200e5ac556c659c8669f3a83ba10866

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value95/100

Highlights

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

Highlights

  • 触发描述清晰明确,覆盖多种使用场景
  • 边界清晰,不易与其他 Skill 混淆
Structure and Standards90/100

Highlights

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

Highlights

  • 使用标准工具链,参数正确
  • 覆盖主要异常场景,不可逆操作有确认机制
Evidence Verifiability (mean of the first four)91/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

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

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.