What problem does it solve?
This skill automates the creation and updating of GitHub Pull Requests using the gh CLI, applying decision rules to determine whether to create a new PR or push updates based on existing PRs and merge status.
Core Features & Use Cases
- Decision-driven PRs: checks for existing PRs on the current head, and decides between create or push-only based on mergedAt and recent activity.
- Post-merge handling: detects new commits after the last merge to avoid duplicate PRs and ensure changes are captured.
- Templates & body generation: builds PR bodies from a standard template and can integrate with references/pr-body-template.md for consistent messaging.
Quick Start
Use this skill to open a PR from your current branch to the develop base, or to update an existing PR when you push new commits.