# Commit And Push

> Check, commit, and push current Git changes with a branch-derived Conventional Commit scope.

- Skill: `travis-south/commit-and-push` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add travis-south/commit-and-push`
- Raw SKILL.md: https://api.skillmd.com/api/skills/travis-south/commit-and-push/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: travis-south (https://skillmd.com/u/travis-south)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/travis-south/commit-and-push

---


# Commit and Push

1. Run `git status --short` and inspect the uncommitted diff once. Stage the current task's files, then run `git diff --cached --check`. This is the complete check; continue when it passes and the staged set is non-empty.
2. Create one commitlint-compatible commit using only `<type>(<scope>): <terse imperative summary>`. When the branch contains a tracker identifier, use it unchanged as `<scope>`, such as `BILLING-2819`, `CPA-1411`, or `#48`. Otherwise use the concise branch topic, then the narrowest changed component. Keep the summary terse and imperative.
3. Push to the configured upstream. If none exists, run `git push -u origin HEAD`.
4. Return `<short-sha> <subject>` and `Pushed <branch> -> <upstream>`.

