commit-push
Installation
SKILL.md
Commit & Push
Commit already-staged changes and push to the current branch.
Steps
- Run
git diff --cached --statto review what will be committed. - Write the commit message:
- If
$ARGUMENTSis provided, use it verbatim. - Otherwise inspect
git diff --cachedand write a short imperative-mood summary (50 chars max subject line).
- If
- Show the proposed commit message and ask the user to confirm before committing. Wait for approval.
- Commit:
git commit -m "<message>"— no Co-Authored-By line - Push:
git push - Confirm with
git log --oneline -1.