# Commit Push Pr

> Commit, push, and open a PR. Use when the user wants to ship changes, create a pull request, or says things like 'commit and push', 'open a PR', 'ship it', 'send it', 'create a PR for this', or 'push this up'. Use when this capability is needed.

- Skill: `tomevault-io/commit-push-pr-4` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/commit-push-pr-4`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/commit-push-pr-4/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/commit-push-pr-4

---


## Context

- Current branch: !`git branch --show-current`
- Git status: !`git status --short`
- Diff summary: !`git diff HEAD --stat`
- Full diff: !`git diff HEAD`

## Your task

Based on the above changes:

1. Create a new branch if on main (e.g., `feat/add-user-validation`, `fix/null-check-in-parser`)
2. Create a single conventional commit message
3. Push the branch to origin
4. Check for an existing PR with `gh pr view`.
   - No PR exists: Create with `gh pr create`. Title = commit subject line. Description = brief explanation of **why**, not what.
   - PR exists: Report the URL and move on.
5. You have the capability to call multiple tools in a single response. You MUST do all of the above in a single message. Do not use any other tools or do anything else.
6. After tool calls complete, send one short final text response with the branch name and PR URL (or the reason PR creation was skipped).

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/clipboardhealth) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

