Commit Push Pr

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

MartinoPolo Updated

File contents

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

MartinoPolo/mxp-claude-code/tree/main/plugins/gh/skills/mp-commit-push-pr commit 0a8e65c8ab

Frequently asked questions

npx skillmds@latest add martinopolo/commit-push-pr