maxitect

PR Prep — Git skill for Claude Code

Git community

Prepare a concise PR and open it on GitHub against a base branch.

How to install PR Prep

Installs to ~/.claude/skills/maxitect-claude-config-pr-prep/SKILL.md

Terminal
mkdir -p ~/.claude/skills/maxitect-claude-config-pr-prep && curl -fsSL https://raw.githubusercontent.com/maxitect/claude-config/HEAD/commands/pr-prep.md -o ~/.claude/skills/maxitect-claude-config-pr-prep/SKILL.md

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

What PR Prep does


description: Prepare a concise PR and open it on GitHub against a base branch argument-hint: "[base-branch] (default: main) [draft]" allowed-tools: Bash(git*), Bash(gh*)

Open a pull request for the current branch against base `${1:-main}`. If the second argument is `draft`, open it as a draft.

Context to gather first (run these, do not guess):

  • git branch --show-current
  • git log --oneline ${1:-main}..HEAD
  • git diff --stat ${1:-main}...HEAD
  • `gh pr list --head <current-branch

Alternatives in Git

  • Prepare Commit — Comment out inappropriate logging before commit 1.6k ★
  • CodeReview — Review local code changes against base branch 512 ★
  • GitCommit — You are a commit message generator 250 ★

Full documentation available on GitHub

View Source Repository