create-pr
Installation
SKILL.md
create-pr
Create a branch, commit staged changes with a signed commit, and push to open a pull request.
When to use
- When the user asks to create a pull request
- When the user wants to commit and push their changes as a PR
- When the user runs
/create-pr
Instructions
-
Identify the default branch:
- Run
git remote show originor checkgit symbolic-ref refs/remotes/origin/HEADto determine the default branch (e.g.,mainormaster).
- Run
-
Review the current changes:
- Run
git statusandgit diffto understand what has been modified. - If there are no changes, inform the user and stop.
- Run