pr

star 1

Create a Pull Request against a specified base branch

yki-t By yki-t schedule Updated 3/18/2026

name: pr description: Create a Pull Request against a specified base branch argument-hint: disable-model-invocation: true

pull request

Task

Create a Pull Request against the base branch specified in Arguments.

  • Fetch the base branch with git fetch
  • Verify the remote branch is up to date by git ls-remote --heads origin {branch}
  • Draft the PR and get user approval
  • After approval, create the PR (use gh command)

Constraints

  • Do NOT push (assume user already pushed)

Summary

Use git commands to get diff title and content, understand the changes, then use them for PR title and description. Ask questions if unclear. Include not just what changed (What) but also the intent behind changes (Why) in title and description.

Format

Title

  • Do not include prefixes like feat: in the title.

Description

Include the following in the PR description:

  • Summary
  • Changes Made
  • Test Plan (with checkbox - [ ], and fill what you confirmed)
  • Related Commits (list of commit titles and hashes)

Do not include:

  • Deployment Instructions
  • Bold emphasis with **

Notes

  • Follow the project's existing PR conventions (title format, description style, language). Check recent merged PRs with gh pr list --state merged for reference.
  • No "Generated with Claude Code" signature at the end
  • Write in plain past tense, objective and neutral (noun phrases acceptable)
  • Assume commit and push are already done (even if user doesn't mention it)
  • Use git diff base...HEAD (3 dots) to get only changes made in this branch, not git diff base..HEAD (2 dots)
  • After PR creation, monitor CI status with gh pr checks --watch
Install via CLI
npx skills add https://github.com/yki-t/dotfiles --skill pr
Repository Details
star Stars 1
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator