Skip to content
Skill

Commit

Stages named files and writes Conventional Commits messages with secret scanning

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

Scripts
None
Platforms
Claude Code
GitHub stars
11
Last commit
License
AGPL-3.0
Listing updated

Similar skills

About Commit

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.

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 2 files (8 KB) on GitHub on 4 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 assist-plugin plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

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

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

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.

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

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

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/tjmonsi/assist-marketplace-plugin.git --path plugins/assist-plugin/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/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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

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

More from tjmonsi/assist-marketplace-plugin

  1. Generates black-box acceptance-criteria tests from specs without reading implementation

    • Open source
    • 11 GitHub stars
    • Developer tools
  2. Guides an agent through integration and Playwright E2E testing across several languages

    • Open source
    • 11 GitHub stars
    • Developer tools
  3. Runs existing test suites, captures coverage and writes a consolidated test report

    • Open source
    • 11 GitHub stars
    • Developer tools
  4. Answers repo questions with cited sources, optionally adding web research

    • Open source
    • 11 GitHub stars
    • Developer tools
  5. Create, switch, list and clean up git branches with standard naming and stash support

    • Open source
    • 11 GitHub stars
    • Developer tools
  6. Bumps project versions, writes changelog entries, and optionally commits and tags

    • Open source
    • 11 GitHub stars
    • Developer tools