About pr-submit
A skill that submits the current repository changes as a GitHub pull request. It guides branch and commit preparation, prose review, PR creation, and follow-up changelog and description updates.
Key features
- 01Checks repository status and recent commits
- 02Creates a branch and commits changes
- 03Runs prose review before pushing
- 04Creates a pull request with gh
- 05Updates changelog and PR description
Use cases
- 01Submitting local changes as a pull request
- 02Preparing commits and PR text for review
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ pipecat-ai/ pipecat --skill pr-submitAfter installing, type/pr-submitin Claude Code to confirm it loaded.
Details
From the project READMESubmit the current changes as a GitHub pull request.
Instructions
-
Check the current state of the repository:
- Run
git statusto see staged, unstaged, and untracked changes - Run
git diffto see current changes - Run
git log --oneline -10to see recent commits
- Run
-
If there are uncommitted changes relevant to the PR:
- Ask the user if they want a specific prefix for the branch name (e.g.,
alice/,fix/,feat/) - Create a new branch based on the current branch
- Commit the changes using multiple commits if the changes are unrelated
- Ask the user if they want a specific prefix for the branch name (e.g.,
-
Run
/prose-review branchand fix anything it flags. Do this before pushing, while corrections are still cheap. -
Push the branch and create the PR:
- Push with
-uflag to set upstream tracking - Create the PR using
gh pr create
- Push with
-
After the PR is created:
- Run
/changelog <pr_number>to generate changelog files, then commit and push them - Run
/pr-description <pr_number>to update the PR description
Both skills review their own prose — no separate pass is needed here.
- Run
-
Return the PR URL to the user.
Commit messages are prose too — /prose-review reads diffs and so won't see them.
Read the messages in git log main..HEAD against the same standard before pushing.