create-pr

Installation
SKILL.md

Create a pull request

Tool routing

  • Use local Git for repository identity, branch, diff, staging, commits, and push.
  • Prefer the GitHub connector for repository and PR context and for PR creation after the branch is pushed.
  • Use gh for authentication checks, Actions logs, current-branch PR discovery, forked-head syntax, or PR creation when connector coverage is insufficient.

Prepare the branch

  1. Read repository instructions and resolve the repository root, current branch, remotes, upstream, and remote default branch.
  2. Inspect git status --short --branch, the merge base, git log --oneline <base>..HEAD, git diff --stat <base>...HEAD, and the full diff.
  3. Confirm scope only when the worktree mixes unrelated changes. Preserve user changes outside the requested scope.
  4. Stay on an existing feature branch. If currently on the default branch, create a descriptive branch using the repository or host convention.
  5. Fetch the target remote when current remote state matters. Rebase or merge only when requested or required by repository policy.

Validate and commit

Installs
27
GitHub Stars
130
First Seen
Jan 23, 2026
create-pr — jmerta/codex-skills