pactkit

Project PR — Git skill for Claude Code

Git community

Push branch and create pull request via gh CLI.

How to install Project PR

Installs to ~/.claude/skills/pactkit-claude-code-plugin-project-pr/SKILL.md

Terminal
mkdir -p ~/.claude/skills/pactkit-claude-code-plugin-project-pr && curl -fsSL https://raw.githubusercontent.com/pactkit/claude-code-plugin/HEAD/commands/project-pr.md -o ~/.claude/skills/pactkit-claude-code-plugin-project-pr/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Project PR does


description: "Push branch and create pull request via gh CLI" allowed-tools: [Read, Write, Edit, Bash, Glob]

Command: PR (v1.4.0)

  • Usage: /project-pr
  • Agent: Repo Maintainer

🧠 Phase 0: Pre-flight Check

  1. Branch Check:
    • Run git branch --show-current to get current branch name
    • If branch is main or master: print "Skipping PR: working on main branch" and do not push or create a PR.
  2. Existing PR Check:
    • Run `gh pr list --head --s

Alternatives in Git

  • Worktree Deliver — Commit all work, push, and create a pull request from the current worktree 23.4k ★
  • Yeet — Stage, commit, push code, and open a GitHub pull request via CLI 14.6k ★
  • Generate PR Description — You are tasked with generating a comprehensive pull request description following the repository's standard te 10k ★

Full documentation available on GitHub

View Source Repository