# Commit

> Commit is an open-source agent skill for developer tools. Writes conventional commit messages for jj changes, without Claude attribution. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/jeffh/claude-plugins/tree/main/jj/skills/commit
- **Repository:** https://github.com/jeffh/claude-plugins
- **GitHub stars:** 12
- **License:** Apache-2.0
- **Skill name:** commit
- **Collection:** https://github.com/jeffh/claude-plugins
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill has the agent write Jujutsu (jj) change descriptions for work done in the current session, phrased as the user would write them. It uses a conventional commit format with a short imperative subject and a wrapped body that explains why the change was made. It can describe the working copy and any undescribed parent commits, or a specific revset that the user supplies.

The skill checks for a configured commit-message template, either the jj draft_commit_description setting or the git commit template, and follows its structure when one exists. Otherwise it matches the style of recent log messages. When invoked without pre-gathered context, it first runs jj status, jj diff and a log query for undescribed changes, then applies the new messages with jj describe and reviews the result with jj log. Splitting a change into several commits is only done when no revset is given.

The skill expects a repository managed with Jujutsu and the jj command-line tool. It is not meant for plain git repositories or for pushing and opening pull requests, which are handled by other skills.

## When your agent uses it

> Describe jj (Jujutsu) changes with conventional commit messages written as the user, never adding Claude attribution or co-authors. This skill should be used when committing session work in a jj repo — "commit this", "describe my changes", "jj commit", or when handed pre-gathered jj status/diff context. Honors a configured commit-message template when present. Not for git repos (use the git commit flow) and not for pushing or opening PRs (use jj:commit-push-pr).

## What it can access

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

- [Instructions only, no scripts](https://github.com/jeffh/claude-plugins/tree/HEAD/jj/skills/commit)
- [License: Apache-2.0](https://github.com/jeffh/claude-plugins/tree/HEAD/jj/skills/commit)

## Features

- **Conventional commit format:** Writes subjects in a type-prefixed imperative style with a wrapped explanatory body.
- **Template awareness:** Follows a configured jj or git commit-message template when one is set.
- **Revset targeting:** Describes only the working copy or the specific revisions a user names.
- **Change splitting:** Can divide a working copy into several described changes by file path when no revset is given.
- **No attribution:** Leaves out Claude attribution and co-author lines from messages.
- **Result review:** Lists recent changes with jj log so the new descriptions can be checked.

## Good for

- Describe my uncommitted changes in this jj repo
- Write a commit message for the revision with a given change ID
- Split my working copy into two commits by directory
- Reword the messages of my undescribed parent commits
- Commit the work from this session using our repo's commit template

## Install

### Claude Code

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

```sh
/plugin marketplace add jeffh/claude-plugins
/plugin install jj@jeffh-claude-plugins
```

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

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

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

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/jeffh/claude-plugins.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/commit &&
cp -R "$tmp/jj/skills/commit" ~/.agents/skills/commit &&
rm -rf "$tmp"
```

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

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/jeffh/claude-plugins.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/commit &&
cp -R "$tmp/jj/skills/commit" ~/.cursor/skills/commit &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/commit` 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/jeffh/claude-plugins.git --path jj/skills/commit
```

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

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/jeffh/claude-plugins.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/commit &&
cp -R "$tmp/jj/skills/commit" ~/.copilot/skills/commit &&
rm -rf "$tmp"
```

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/jeffh/claude-plugins.git
```

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

## FAQ

### When does Commit trigger?

It is used when committing session work in a jj repo, for requests such as "commit this", "describe my changes" or "jj commit", or when it is handed pre-gathered jj status and diff context.

### Does Commit work with plain git repositories?

No. The skill says git repositories should use the git commit flow instead.

### Does Commit push changes or open pull requests?

No. Pushing and opening PRs are handled by a separate jj:commit-push-pr skill.

### Will the commit messages include Claude attribution?

No. The skill states it never adds co-author information or Claude attribution.

### What happens if a commit template is configured?

The skill follows the template's structure and section headings, using templates.draft_commit_description in jj or commit.template in git.

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

Copy the skill folder from GitHub to ~/.claude/skills/commit to use it in all your projects, or to .claude/skills/commit in one project. Or install the jj plugin, which includes it: /plugin marketplace add jeffh/claude-plugins, then /plugin install jj@jeffh-claude-plugins.

### Does Commit 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?

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?

The closest alternatives to Commit are Conventional commit, Commit, Commit message storyteller, Conventional commit and Conventional commits.

## Where this comes from

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

## Alternatives

- [Conventional commit](https://ai-powered.com/skills/conventional-commit-k1-c): Conventional commit is an open-source agent skill for developer tools.
- [Commit](https://ai-powered.com/skills/commit): Commit is an open-source agent skill for developer tools.
- [Commit message storyteller](https://ai-powered.com/skills/commit-message-storyteller): Commit message storyteller is an open-source agent skill for developer tools.
- [Conventional commit](https://ai-powered.com/skills/conventional-commit): Conventional commit is an open-source agent skill for developer tools.
- [Conventional commits](https://ai-powered.com/skills/conventional-commits): Conventional commits is an open-source agent skill for developer tools.
- [Conventional commit review](https://ai-powered.com/skills/conventional-commit-review): Conventional commit review is an open-source agent skill for developer tools.
- [Commit](https://ai-powered.com/skills/commit-denysdovhan): Commit 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.

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