# Commit

> Commit is an open-source agent skill for developer tools. Stages named files and writes Conventional Commits messages with secret scanning. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/tjmonsi/assist-marketplace-plugin/tree/main/plugins/assist-plugin/skills/commit
- **Repository:** https://github.com/tjmonsi/assist-marketplace-plugin
- **GitHub stars:** 11
- **License:** AGPL-3.0
- **Skill name:** commit
- **Collection:** https://github.com/tjmonsi/assist-marketplace-plugin
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill guides an agent through creating git commits that follow the Conventional Commits format. It lists changed paths, stages only the files the user names, and proposes a type, optional scope and subject line, with an optional body and footer. Options cover squashing commits and amending the last commit.

Before any commit is created, the skill runs a bundled Node.js script over the staged diff to look for secret patterns. The script reports only file paths and rule names, never the matched values. A finding or a failed scan stops the commit so the user can remove the secret first.

The skill is written for Claude Code and runs with Bash as its only tool grant. It is set to use a small, low-cost model tier, and it forbids AI attribution lines such as co-author trailers in commit messages. Commits use the developer's own git identity.

## When your agent uses it

> Create conventional commits with git. Stages files, composes messages using conventional commits format, and supports squash/amend.

## What it can access

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

- [Instructions only, no scripts](https://github.com/tjmonsi/assist-marketplace-plugin/tree/HEAD/plugins/assist-plugin/skills/commit)
- [Asks for: Bash](https://github.com/tjmonsi/assist-marketplace-plugin/blob/HEAD/plugins/assist-plugin/skills/commit/SKILL.md)
- [License: AGPL-3.0](https://github.com/tjmonsi/assist-marketplace-plugin/tree/HEAD/plugins/assist-plugin/skills/commit)

## Features

- **Conventional message format:** Composes subjects with a type, optional scope and imperative wording from a fixed list of commit types.
- **Selective staging:** Lists changed paths and stages only the files the user names, avoiding blanket adds.
- **Staged secret scan:** Runs a bundled script over staged changes and blocks the commit on findings or scan errors.
- **Squash and amend options:** Supports squashing earlier commits or amending the last commit with a scope override.
- **No AI attribution:** Keeps assistant co-author lines, generated-by notes and session trailers out of commit messages.

## Good for

- Commit my staged changes with a conventional message
- Split my edits into fix and docs commits
- Amend the last commit message without adding attribution
- Check my staged files for leaked secrets before committing
- Squash my recent local commits into one clean commit

## Install

### Claude Code

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

```sh
/plugin marketplace add tjmonsi/assist-marketplace-plugin
/plugin install assist-plugin@assist-plugin-marketplace
```

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tjmonsi/assist-marketplace-plugin.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/commit &&
cp -R "$tmp/plugins/assist-plugin/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/tjmonsi/assist-marketplace-plugin.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/commit &&
cp -R "$tmp/plugins/assist-plugin/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/tjmonsi/assist-marketplace-plugin.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/commit &&
cp -R "$tmp/plugins/assist-plugin/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/tjmonsi/assist-marketplace-plugin.git --path plugins/assist-plugin/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/tjmonsi/assist-marketplace-plugin.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/commit &&
cp -R "$tmp/plugins/assist-plugin/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/tjmonsi/assist-marketplace-plugin.git
```

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

## FAQ

### Which tools does Commit need?

It uses only the Bash tool, and its secret scan runs under that same grant.

### What does the secret scan check?

It reads the staged diff, matches added lines against rules in hooks/lib/secret-rules.js, and prints the file path and rule name of each finding without showing the value.

### Will the skill add an AI co-author line to my commits?

No. The skill forbids Co-Authored-By lines for AI tools, generated-by notes and session trailers, and commits use the developer's own git identity.

### Does Commit stage all my changes automatically?

No. It lists changed paths and stages only the paths the user names or accepts, and it never runs git add with a dot or --all.

### 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 assist-plugin plugin, which includes it: /plugin marketplace add tjmonsi/assist-marketplace-plugin, then /plugin install assist-plugin@assist-plugin-marketplace.

### 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 Code commit, Conventional commit, Commit, Git commit and Autocommit.

## Where this comes from

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

## Alternatives

- [Code commit](https://ai-powered.com/skills/code-commit): Code commit 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.
- [Commit](https://ai-powered.com/skills/commit-prathamdby): 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.
- [Autocommit](https://ai-powered.com/skills/autocommit): Autocommit 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 commit review](https://ai-powered.com/skills/conventional-commit-review): Conventional commit review is an open-source agent skill for developer tools.
- [Git commit](https://ai-powered.com/skills/git-commit-eduardo-sl): Git commit is an open-source agent skill for developer tools.

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