commit-and-push
Create atomic conventional git commit and push to remote
SKILL.mdgit/skills/commit-and-push/SKILL.md
GitHubCommit and Push Skill (Standard Git)
Create clean, atomic Conventional Commits using standard git commands and push them to origin.
Workflow
- Inspect status and diff:
git status --porcelain git diff --staged git diff - Stage files:
git add <file1> <file2> ... - Commit:
Formulate a Conventional Commit message and commit:
git commit -m "<type>(<scope>): <summary>" - Push:
Detect current branch and push:
If pushing a new branch for the first time, appendBRANCH=$(git branch --show-current) git push origin "$BRANCH"-u:git push -u origin "$BRANCH"