gh-pr
Originally fromfredrikaverpil/dotfiles
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
gh-pr
Open a pull request from the current branch with a title and body that reflect what actually changed, not just the last commit message. The goal is a PR a reviewer can understand without reading the diff first.
Use gh for everything. It handles auth, the API, and returns a URL at the end. Do not script raw API calls.
The shape of the work
Three phases, in order. The hard rule that drives the ordering: nothing gets pushed until the work is confirmed to be on the right branch. Phase 2 is entirely local and reversible; the first irreversible-ish action (push) is the top of Phase 3.