open-pull-request - Open a GitHub pull request using PR template and git diff
Pushes the current branch to origin, populates the repository PR template from git diff, and creates a GitHub pull request.
Tags
Updated: 2026-09-10Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Resolve head and base branches
- Push head branch to origin
- Check for existing open PR
- Populate PR template from diff
- Create PR via GitHub CLI
Inputs
- Current git repository and branch
- Target base branch name
- Pull request template file
Outputs
- Pushed git branch on remote
- Created GitHub pull request
- Pull request URL
Requirements
- Git CLI tool
- GitHub CLI tool (gh)
- Read access to pull request template
- GitHub repository push permissions
