pr-sync
Installation
SKILL.md
PR Sync Skill
Sync local changes to GitHub in a single command. Detects current state (main vs feature branch, staged vs unstaged changes, existing PRs), then executes the minimum steps needed: branch, commit, push, and create PR. Execute only the steps needed for the current state -- do not add extra commits, rebase, or reorganize history beyond what is required to sync.
Usage
/pr-sync # Auto-detect everything
/pr-sync feature/new-auth # Specify branch name
/pr-sync fix/bug-123 "Fix login" # Specify branch and PR title
Instructions
Step 0: Read CLAUDE.md and Classify Repo
Read and follow the repository CLAUDE.md before any git operations, because repo-specific branch conventions, commit formats, or CI requirements override defaults in this skill.
Then determine repo type: