RohiRIK

Commit Push PR — Git skill for Claude Code

Git community

Stage, commit, push, and open a pull request.

How to install Commit Push PR

Installs to ~/.claude/skills/rohirik-claude-code-config-commit-push-pr/SKILL.md

Terminal
mkdir -p ~/.claude/skills/rohirik-claude-code-config-commit-push-pr && curl -fsSL https://raw.githubusercontent.com/RohiRIK/claude-code-config/HEAD/commands/commit-push-pr.md -o ~/.claude/skills/rohirik-claude-code-config-commit-push-pr/SKILL.md

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

What Commit Push PR does


description: "Stage, commit, push, and open a pull request." disable-model-invocation: true

/commit-push-pr — Commit, Push, and Open PR

Precomputes all git context inline so Claude doesn't have to discover it.

Instructions

Run these bash commands to gather context, then act:

# Gather context
git status --short
git diff --stat HEAD
git log --oneline -5
git branch --show-current

Then:

  1. Stage files: git add specific changed files (never git add . blindly) 2

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