git-hex-pr-workflow
Installation
SKILL.md
Git-hex PR Workflow
Use this skill when the user wants to go from a messy feature branch to a clean, submitted (or updated) pull request. This skill combines git-hex for local commit shaping with GitHub tools or CLI for remote collaboration.
Workflow
Phase 1: Understand the branch
- Call
git-hex-getRebasePlanwithontoset to the target branch (usuallymainororigin/main) to see all commits that will be in the PR. - Call
git-hex-checkRebaseConflictswith the sameontoto predict whether rebasing will be smooth. If conflicts are predicted, warn the user before proceeding — they may want to resolve upstream changes first.