Skip to content
Back to skills

Commit Push

ASecurity

Quick-workflow push. Commits the current branch's changes and pushes them as they are, with no rebase and no PR, without asking for confirmation except in the warning cases. Use when the user asks to "commit and push", or after review-and-fix in the quick workflow. Step workflows ship with takeoff instead.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 23, 2026
ai-agentsbashgit

Security analysis

A100/100

Scanned October 23, 2026

npx -y skills add enebin/groundwork --skill commit-push --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Commit Push?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Commit Push
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/enebin-commit-push/badge)](https://www.skillsdirectory.com/skills/enebin-commit-push)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "commit-push"
description: Quick-workflow push. Commits the current branch's changes and pushes them as they are, with no rebase and no PR, without asking for confirmation except in the warning cases. Use when the user asks to "commit and push", or after review-and-fix in the quick workflow. Step workflows ship with takeoff instead.
allowed-tools: Bash, Read, Grep, Glob, AskUserQuestion
argument-hint: [commit message hint]
---

Commit the current branch's changes and push them. The argument, if any, is a hint for the commit message.

## 0. Read the config

Read `reference/config.md` under the plugin root (two directories above this skill's directory), then `GROUNDWORK.md` at the repository root as it says. Stop if the file is missing or a key this skill needs is missing.

Talk to the user in `language.conversation`. Write the commit message in `language.artifacts`.

Run only when the user asked in so many words to commit and push. A vague request ("ship it", "upload this", "wrap it up") is not enough; ask first.

`commit-push` belongs to the `quick` workflow: it pushes the current branch as it is, with no rebase and no PR. When `workflow.bundle` is `step-loop`, `design-first`, or `tdd-loop`, point the user to `/groundwork:takeoff <id>`, which rebases, re-verifies, and opens the PR, and continue only if they still want a plain push.

In plan mode, do not refuse. Inspect with read-only tools, write the concrete plan (files to stage, commit message, push command), and ask for approval. After approval, carry it out as planned.

If `docs.rules` and this skill disagree, follow `docs.rules`.

## Steps

1. **Status.** `git status`. If nothing changed, tell the user and stop.
2. **Diff.** Read `git diff` and `git diff --staged`.
3. **Style.** Read `git log --oneline -5` to match recent commits.
4. **Message.** Use the commit message format in `docs.rules`. If it defines none, write a short imperative subject. Use the argument as a hint.
5. **Stage** changed files one by one. Leave out `.env`, credential files, and other secrets, and tell the user you left them out.
6. **Commit.** Never bypass hooks (`--no-verify` and the like). If a hook fails, fix the cause or report it.
7. **Push.** If the branch tracks a remote branch, `git push`. Otherwise `git push -u origin <branch>`. If the push is rejected, report why and stop. Never force-push.

## Warnings

Proceed without asking unless one of these applies:

- The current branch is `branches.integration` or `branches.production`: warn and ask before committing.
- A secret file is among the changes: leave it out and tell the user.
- Changed files contain leftover debug output, such as stray print or console log calls: tell the user.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.