Skip to main content

commit-and-push

Creates clean conventional git commits using standard git and pushes changes to the remote repository. Use when the user asks to "commit and push", "push changes", or complete a commit followed by git push.

Source facts

Repository
FradSer/skills
Last source activity
October 12, 2026 at 14:08
Detected SKILL.md language
English
Stars
4
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
3 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
commit-and-push
description
Creates clean conventional git commits using standard git and pushes changes to the remote repository. Use when the user asks to "commit and push", "push changes", or complete a commit followed by git push.
disable-model-invocation
true
# Commit and push Use this skill only for an explicit request to commit and push. Inspect status and both diffs first, stage requested paths explicitly, and stop when there is nothing to commit. Preserve unrelated work. Use the Conventional Commit format described by `commit`; read [coauthor-attribution.md](references/coauthor-attribution.md) only when a trailer is requested. Before committing, verify that HEAD names a branch, `origin` exists, and the requested branch is safe to publish. Never push a detached HEAD or directly push a protected integration branch (`main`, `master`, `develop`, or `production`) unless the user has explicitly named that branch and repository policy permits it. Commit locally first, then push the exact branch; use `git push --set-upstream origin "$BRANCH"` only when no upstream exists. A rejected push is a reportable failure: do not force-push, amend, or retry with another remote. Report commit hash, branch, remote, and push result.
View on GitHub