Prompt file imported from loqwai/paper-cranes (
.claude/commands/pr.md). Fill in{{arguments}}before use. Copyright stays with the author.
Create Pull Request
Create a pull request for the current branch, request a review from @redaphid, and open it in the browser.
Steps
-
Push the current branch to origin (with
-uto set upstream tracking):git push -u origin (git branch --show-current) -
Determine the base branch. Use
mainunless{{arguments}}specifies a different base. -
Run
git logandgit diff main...HEADto understand all the changes on this branch. -
Create the PR using
gh pr create:- Write a clear, concise title (under 70 chars)
- Write a summary body with
## Summarysection describing the changes - Add a
## Test plansection - Add the
🤖 Generated with [Claude Code](https://claude.com/claude-code)footer - Request review from
redaphidusing--reviewer redaphid - Use a HEREDOC for the body to preserve formatting
-
Open the PR in the browser:
gh pr view --web -
Return the PR URL to the user.
-
After the PR is created, review the commits in the PR. If it introduces a feature a user would be excited about (new capability, new query param, new UI — not just a fix or refactor), ask the user: "This PR adds [feature]. Want me to update the changelog?" If they say yes, invoke
/changelog.
