Skip to content
Skill

Commit

Writes conventional commit messages for jj changes, without Claude attribution

Commit is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
12
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Commit

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).

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (2 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

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

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

gemini skills install https://github.com/jeffh/claude-plugins.git --path jj/skills/commit

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

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Commit 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.

More from jeffh/claude-plugins

  1. Lets Claude hand desktop and browser UI tasks to a Codex agent that drives apps

    • Open source
    • 12 GitHub stars
    • Browser automation
  2. Hands a coding task to a Codex subagent that edits files in the working directory

    • Open source
    • 12 GitHub stars
    • Developer tools
  3. Gets a read-only second code review from a Codex subagent via codex exec

    • Open source
    • 12 GitHub stars
    • Developer tools
  4. Sets up an isolated git or jj worktree with dependencies ready for a feature or fix

    • Open source
    • 12 GitHub stars
    • Developer tools
  5. Collects timestamp and git or jj repo metadata for research and handoff documents

    • Open source
    • 12 GitHub stars
    • Developer tools
  6. Takes jj commits through description, bookmarks, push, and stacked GitHub PRs

    • Open source
    • 12 GitHub stars
    • Developer tools