# Commit push

> Commit push is an open-source agent skill for developer tools. Groups local changes into conventional commits and pushes the branch to origin. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/redpanda-data/ui-harness/tree/main/commit-push
- **Repository:** https://github.com/redpanda-data/ui-harness
- **GitHub stars:** 34
- **License:** MIT
- **Skill name:** commit-push
- **Collection:** https://github.com/redpanda-data/ui-harness
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill walks an agent through turning a working tree into a set of conventional commits and pushing them. It first gathers git status, the diff against HEAD, the current and default branch, and recent commit messages so the commit style matches the repository.

Before committing, the workflow checks whether a review skill such as a simplify or visual review pass has run in the session, and asks the user to confirm which files belong to the change when the worktree holds unrelated edits. Files are sorted into types like feat, fix, docs, test, or chore, and staged by explicit path rather than with a blanket add. The agent then shows the commit list and branch target before pushing with upstream tracking.

It expects a git repository with a configured remote and the GitHub CLI for looking up the default branch and any open pull request. It never force pushes, and uses force-with-lease only after a rebase.

## When your agent uses it

> Analyze changes, create categorized conventional commits, and push. Use when user asks to commit and push, invokes `/commit-push`, or requests conventional commits without a PR.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/redpanda-data/ui-harness/tree/HEAD/commit-push)
- [License: MIT](https://github.com/redpanda-data/ui-harness/tree/HEAD/commit-push)

## Features

- **Pre-commit review check:** Confirms a review pass ran or asks for an explicit skip before anything is pushed.
- **Scoped file staging:** Asks which files belong to the change when unrelated edits are present, and stages by explicit path.
- **Categorized conventional commits:** Groups changed files by purpose into typed commits with inferred scopes.
- **Branch selection:** Creates a type/description branch when work starts on the default branch.
- **Pre-push confirmation:** Shows the commit list and target branch for the user to approve before pushing.
- **Safe push handling:** Pushes with upstream tracking and avoids force pushes except force-with-lease after a rebase.

## Good for

- Commit my current changes in conventional commit style and push
- Split my worktree into feat and fix commits and push the branch
- Push my work without opening a pull request
- Check recent commit style before writing new commit messages

## Install

### Claude Code

This skill ships in the `frontend-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add redpanda-data/ui-harness
/plugin install frontend-skills@ui-harness
```

Or copy only this skill to `~/.claude/skills/commit-push`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/redpanda-data/ui-harness.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/commit-push &&
cp -R "$tmp/commit-push" ~/.claude/skills/commit-push &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/commit-push` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/commit-push` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/redpanda-data/ui-harness.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/commit-push &&
cp -R "$tmp/commit-push" ~/.agents/skills/commit-push &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/commit-push` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/commit-push` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/redpanda-data/ui-harness.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/commit-push &&
cp -R "$tmp/commit-push" ~/.cursor/skills/commit-push &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/commit-push` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/redpanda-data/ui-harness.git --path commit-push
```

Or copy the folder to `~/.gemini/skills/commit-push` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/commit-push`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/redpanda-data/ui-harness.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/commit-push &&
cp -R "$tmp/commit-push" ~/.copilot/skills/commit-push &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/commit-push` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/redpanda-data/ui-harness.git
```

Then copy `ui-harness/commit-push` into your agent's skills folder as `commit-push`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Commit push need to run?

A git repository with at least one remote. It uses the GitHub CLI to read the default branch and check for an open pull request.

### Does Commit push force push?

No. It never force pushes, and only uses --force-with-lease when needed after a rebase.

### What happens if my worktree has unrelated changes?

The agent asks which files belong to the commit instead of adding everything.

### How are commits grouped?

Changed files are sorted by purpose into types such as docs, test, refactor, fix, feat, chore, and ci, each committed separately.

### How do I install Commit push in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/commit-push to use it in all your projects, or to .claude/skills/commit-push in one project. Or install the frontend-skills plugin, which includes it: /plugin marketplace add redpanda-data/ui-harness, then /plugin install frontend-skills@ui-harness.

### Does Commit push run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Commit push?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Commit push?

The closest alternatives to Commit push are Commit push PR, Code commit, Git commit, GitHub workflow and Autocommit.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Commit push PR](https://ai-powered.com/skills/commit-push-pr-redpanda-data): Commit push PR is an open-source agent skill for developer tools.
- [Code commit](https://ai-powered.com/skills/code-commit): Code commit is an open-source agent skill for developer tools.
- [Git commit](https://ai-powered.com/skills/git-commit): Git commit is an open-source agent skill for developer tools.
- [GitHub workflow](https://ai-powered.com/skills/github-workflow): GitHub workflow is an open-source agent skill for developer tools.
- [Autocommit](https://ai-powered.com/skills/autocommit): Autocommit is an open-source agent skill for developer tools.
- [Git workflow](https://ai-powered.com/skills/git-workflow-aws-solutions): Git workflow is an open-source agent skill for developer tools.
- [Conventional commit](https://ai-powered.com/skills/conventional-commit-k1-c): Conventional commit is an open-source agent skill for developer tools.
- [Git commit](https://ai-powered.com/skills/git-commit-ivy00johns): Git commit is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/commit-push
