Push And PR — Git skill for Claude Code
Push current branch and create a pull request.
How to install Push And PR
Installs to ~/.claude/commands/defaultperson-claude-code-setup-push-and-pr.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/DefaultPerson/claude-code-setup/HEAD/.claude/commands/push-and-pr.md -o ~/.claude/commands/defaultperson-claude-code-setup-push-and-pr.md Restart Claude Code, or start a new session, for it to be picked up.
What Push And PR does
allowed-tools: Bash(git *), Bash(gh *) description: Push current branch and create a pull request.
Context
- Status: !
git status - Branch: !
git branch --show-current - Remote: !
git remote -v - Unpushed commits: !
git log @{u}..HEAD --oneline 2>/dev/null || echo "No upstream set"
Git Rules
- Trunk-based development with rebase (linear history)
- PR title = Conventional Commit format, ≤72 chars
- PR description: what / why / how to test / risks
- PR base always
main, mer
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 RepositoryRelated Skills
Git PR
Push the branch and open a pull request. Commits any pending changes automatically with an appropriate message
Project PR
Push branch and create pull request via gh CLI
Remote Claude Loop
Claude on a pull request — branch, split commits, push, PR, trigger @claude review, fix findings, until it con
Remote Codex Loop
Codex on a pull request — branch, split commits, push, PR, trigger @codex review, fix findings, until it conve
Gl Mr
Open a draft GitLab merge request for the current branch (push, title and description from the commits, "Close
PR Summary
Generate a pull request summary for the current branch.
Related Agents
Acceptance Auditor
Verifies that the work on the current issue branch satisfies every acceptance criterion written in the issue.
Step Push PR
Step agent that pushes the story branch to remote and creates a GitHub pull request. Use in pipelines after co
PR Creator
Opens a GitHub pull request for the current branch using gh pr create. Use when work is committed and pushed a