create-pr
Installation
SKILL.md
Create GitHub Pull Request
Analyze code changes on the current branch and create a well-structured pull request using gh.
Workflow
1. Verify prerequisites
Check that you're in a git repo, on a feature branch (not main/master), gh is authenticated, and warn about uncommitted changes:
git rev-parse --is-inside-work-tree
git branch --show-current
gh auth status
git status --porcelain
If any check fails, report the specific error and stop. If git status --porcelain returns output, warn the user: "You have uncommitted changes — they won't be included in this PR." Then continue (don't stop).