# Commit push PR

> Commit push PR is an open-source agent skill for developer tools. Commits changes in categorized conventional commits, pushes, and opens a pull request. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/redpanda-data/ui-harness/tree/main/commit-push-pr
- **Repository:** https://github.com/redpanda-data/ui-harness
- **GitHub stars:** 34
- **License:** MIT
- **Skill name:** commit-push-pr
- **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 local git changes into a reviewed pull request. It inspects the working tree, diff, current branch, default branch and any existing PR on the branch, then checks that the GitHub CLI is installed and authenticated before doing anything.

The workflow groups changed files by conventional commit type, stages each group with explicit file paths rather than a blanket add, and creates commits with inferred scopes. It asks the user to confirm scope when unrelated changes are present, creates a feature branch when starting from the default branch, and pushes with upstream tracking. Pull requests are opened with gh, labeled from commit types, and given a structured body, with a screenshots section added when frontend files change.

The skill also watches CI checks with gh until they finish and reports failures for diagnosis and fixes. It expects git, the GitHub CLI and access to a GitHub remote. Its reference file defines the commit type table, label map and PR template.

## When your agent uses it

> Analyze changes, create categorized conventional commits, push, and open a PR. Use when user asks to open a PR, invokes `/commit-push-pr`, or requests a full commit -> push -> PR flow with CI monitoring.

## 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-pr)
- [License: MIT](https://github.com/redpanda-data/ui-harness/tree/HEAD/commit-push-pr)

## Features

- **Categorized conventional commits:** Groups changed files by commit type and writes scoped, terse commit messages for each group.
- **Explicit scope confirmation:** Asks which files belong to the change when the worktree mixes unrelated edits.
- **Branch creation and push:** Creates a type-prefixed branch from the default branch and pushes with upstream tracking.
- **Pull request creation:** Opens a PR with the GitHub CLI, auto-labels it and fills a structured body template.
- **CI check monitoring:** Watches PR checks until completion and works through failures by fixing and re-pushing.
- **Safety guardrails:** Blocks silent staging, unconfirmed mixed scope and force pushes, except lease-protected pushes after rebase.

## Good for

- Open a pull request for my current changes
- Split my uncommitted work into conventional commits and push them
- Create a branch, commit, push and open a PR with CI monitoring
- Fix failing CI checks on my pull request and push the fix

## 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-pr`:

```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-pr &&
cp -R "$tmp/commit-push-pr" ~/.claude/skills/commit-push-pr &&
rm -rf "$tmp"
```

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

### Codex

Copy the skill folder to `~/.agents/skills/commit-push-pr` 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-pr &&
cp -R "$tmp/commit-push-pr" ~/.agents/skills/commit-push-pr &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/commit-push-pr` 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-pr &&
cp -R "$tmp/commit-push-pr" ~/.cursor/skills/commit-push-pr &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/commit-push-pr` 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-pr
```

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

### VS Code

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

```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-pr &&
cp -R "$tmp/commit-push-pr" ~/.copilot/skills/commit-push-pr &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/commit-push-pr` 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-pr` into your agent's skills folder as `commit-push-pr`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Commit push PR need installed?

It requires the GitHub CLI (gh), an authenticated session via gh auth login, and a git repository with a remote.

### When does Commit push PR trigger?

It triggers when the user asks to open a PR, invokes /commit-push-pr, or requests a full commit, push and PR flow with CI monitoring.

### Will Commit push PR stage all my files automatically?

No. It stages files by explicit path and asks the user which files belong when the worktree has unrelated changes.

### Does Commit push PR force push?

No. It never force pushes, though --force-with-lease is allowed after a rebase.

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

Copy the skill folder from GitHub to ~/.claude/skills/commit-push-pr to use it in all your projects, or to .claude/skills/commit-push-pr 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 PR 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 PR?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

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

The closest alternatives to Commit push PR are Commit push, GitHub workflow, Make PR, Git PR and Make PR easy to review.

## Where this comes from

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

## Alternatives

- [Commit push](https://ai-powered.com/skills/commit-push): Commit push 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.
- [Make PR](https://ai-powered.com/skills/make-pr): Make PR is an open-source agent skill for developer tools.
- [Git PR](https://ai-powered.com/skills/git-pr): Git PR is an open-source agent skill for developer tools.
- [Make PR easy to review](https://ai-powered.com/skills/make-pr-easy-to-review): Make PR easy to review 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.
- [Commit push PR](https://ai-powered.com/skills/commit-push-pr): Commit push PR is an open-source agent skill for developer tools.

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