
pr
โ Officialโ 3,392by brave ยท part of brave/brave-core
Create a pull request for the current branch using `gh`.
๐ฅโ VerifiedFreeQuick setup
๐งฐ Not standalone. This skill ships with brave/brave-core and only works together with that tool โ install the tool first, then add this skill.
This is the playbook your agent receives when the skill activates โ you don't need to read it to use the skill, but it's here to audit before installing.
Create Pull Request
Create a pull request for the current branch using gh.
Current State
- Branch: !
git branch --show-current - Commits on branch: !
git log master..HEAD --oneline - Changed files: !
git diff master...HEAD --stat
Steps
1. Gather context
- Review the commits and changed files above.
- Check if the branch is associated with a GitHub issue (look at branch name, commit messages, or recent context for an issue number).
2. Push the branch
Run git push -u origin HEAD.
3. Create the PR
Use gh pr create with:
- Title: Short, direct summary of the change (under 70 chars).
- Body: A brief, factual summary of what changed and why. No filler. If
there is an associated issue, include
Fix https://github.com/brave/brave-browser/issues/<number>on its own line at the top of the body.
Keep the description concise. Just state what was done.
4. Done
Print the PR URL for the user.
Copy & paste โ that's it
npx skills add brave/brave-core --skill "pr" --full-depthRun this in your project โ your agent picks the skill up automatically.
No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.
Licensed under MPL-2.0โ you can use, modify, and redistribute it under that license's terms.
View the full license file on GitHub โ