create-pr
Installation
SKILL.md
Create PR
This skill creates or updates a GitHub PR for the current branch. If you are on main, it creates a feature branch first. It handles the full rebase chain, push, and PR creation with a description focused on what deeply changed.
Scripts live in .claude/skills/create-pr/:
build-chain.shdiscovers the branch chain from the current branch to main (JSON output).rebase-branch.sh <branch> <base>rebases a single branch onto its base, then pushes it.
Argument: $ARGUMENTS
Step 0: Detect the current state
CURRENT_BRANCH=$(git branch --show-current)
- If you are on
main, go to Step 1. - Otherwise, skip to Step 2.