# Commit Push Pr

> Stages, commits, pushes, then creates or updates the pull request.

- Skill: `martinopolo/commit-push-pr` (Agent Skill)
- Install (CLI): `npx skillmds@latest add martinopolo/commit-push-pr`
- Raw SKILL.md: https://api.skillmd.com/api/skills/martinopolo/commit-push-pr/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: MartinoPolo (https://skillmd.com/u/martinopolo)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/martinopolo/commit-push-pr

---


# Commit, Push, and Create/Update PR

Full workflow: stage → commit → push → find issue → create/update PR. $ARGUMENTS

Pass `draft` as argument to create a draft PR instead of a normal PR.

## Workflow

1. Read `${CLAUDE_PLUGIN_ROOT}/../mp/skills/shared/GIT_COMMIT_WORKFLOW.md` now.
2. Run **Phase A** (commit via `mp-git-committer`) with `push: true`. Delta: on **SKIP** (nothing to commit), check if the branch is already pushed; if yes, continue to Phase B.
3. Run **Phase B** (find linked issue).
4. Run **Phase C** (create or update PR via `mp-pr-manager`), passing `description_hint` from $ARGUMENTS or the Phase A summary. Its PR rules and troubleshooting apply.

## Output

After completion, display:

- Commit hash and message (if committed)
- Push status
- Base branch used
- PR URL and number
- Whether PR was created or updated
- Steps skipped (if any)
- **Session Activity:** list agents dispatched

