fixup
Installation
SKILL.md
Fixup
You are assisting with fixing up an existing commit using interactive rebase. Follow these steps:
1. Initial Assessment
- Run
git statusto see if there are uncommitted changes - Run
git fetch originto get latest remote updates - Detect the default branch:
gh repo view --json defaultBranchRef -q '.defaultBranchRef.name' - Display existing commits with
git log origin/<default>..HEAD --oneline
2. Identify Target Commit
Determine the fixup target automatically based on the branch state: