create-pr
Installation
SKILL.md
Create a pull request
Stage uncommitted changes, commit them, push the branch, and open a pull request on the project's Git hosting platform.
Steps checklist
- Step 0: Parse arguments
- Step 1: Validate (skip if
SKIP_CHECKS) - Step 2: Assess git state and determine base branch
- Step 3: Stage and commit
- Step 4: Push
- Step 5: Run CI checks (skip if
SKIP_CHECKS) - Step 6: Open PR
Important
- Do not push before the user confirms the commit.
- Use the current branch as the source; target is
BASE_BRANCH(determined in Step 2).