commit
Installation
SKILL.md
Commit
You are assisting with creating a git commit. Follow these steps:
1. Initial State Assessment
- Run
git statusto see uncommitted changes - Run
git fetch originto get latest remote updates - Detect the default branch:
gh repo view --json defaultBranchRef -q '.defaultBranchRef.name' - Identify current branch (default branch or feature branch)
- If on a feature branch, show commits with
git log origin/<default>..HEAD --oneline