Skip to content
Skill

Code commit

Writes and checks conventional commit messages and guides safe staging before committing

Code commit is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
53
Last commit
License
MIT
Listing updated

Similar skills

About Code commit

This skill guides an agent through making a git commit that follows the Conventional Commits format. Before writing anything, it has the agent review the full worktree, including staged, unstaged and untracked files, and check recent commit subjects so new messages match the repository's existing scopes and wording. It also flags likely secrets or local configuration files and keeps them out of the commit unless the user says otherwise.

The workflow asks the agent to propose each commit with its file list and full message, then wait for approval before staging only the approved files. It covers when to split changes and when to keep related code, tests, docs and dependency lockfiles together. It also sets rules for titles and bodies, including lowercase scopes, imperative titles and breaking-change markers.

The skill can also validate a message the user pastes in, returning specific corrections and a revised version. If the repository has commitlint or commit hooks configured, those take precedence, and the agent must not bypass a failing hook. It works through standard git commands and has no bundled scripts. Pull request creation is handed off to a separate code-pull-request skill.

When your agent uses it

Generate and validate conventional commit messages following the conventionalcommits.org spec. Use whenever the user wants to commit code, mentions commit messages, git commit, or asks to create a commit. Triggers on "commit", "git commit", "conventional", or when reviewing commit message format.

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 (6 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 atelier plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add martinffx/atelier
/plugin install atelier@atelier

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/martinffx/atelier.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/code-commit &&
cp -R "$tmp/skills/code-commit" ~/.claude/skills/code-commit &&
rm -rf "$tmp"

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

Claude Code docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/martinffx/atelier.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/code-commit &&
cp -R "$tmp/skills/code-commit" ~/.agents/skills/code-commit &&
rm -rf "$tmp"

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

Codex docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/martinffx/atelier.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/code-commit &&
cp -R "$tmp/skills/code-commit" ~/.cursor/skills/code-commit &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/code-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/martinffx/atelier.git --path skills/code-commit

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

Gemini CLI docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/martinffx/atelier.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/code-commit &&
cp -R "$tmp/skills/code-commit" ~/.copilot/skills/code-commit &&
rm -rf "$tmp"

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

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/martinffx/atelier.git

Then copy atelier/skills/code-commit into your agent's skills folder as code-commit. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Worktree review
Inspects staged, unstaged and untracked changes before proposing any commit.
Conventional message drafting
Writes titles and bodies in the type(scope) format with a defined list of commit types.
Commit splitting guidance
Suggests separate commits only when changes are independent and each group stands alone.
Approval before writing
Shows the files and full message for each commit and waits for approval before staging.
Message validation
Checks a pasted commit message against the format rules and suggests a corrected version.
Secret and config screening
Flags likely credentials, local configuration and generated output before they are staged.

Good for

  • Commit my current changes with a clear conventional message
  • Check whether this commit message follows conventional commit format
  • Split my pending work into sensible commits before pushing
  • Write a commit message for a breaking API change
  • Review recent commit subjects and match their scope style

Code commit FAQ

When does the skill trigger?

It triggers when the user wants to commit code, mentions commit messages or git commit, asks to create a commit, or wants to review commit message format, including on words like commit, conventional or git commit.

Does Code commit commit without asking?

No. It shows the files and full message for each proposed commit and waits for approval unless the user explicitly authorizes committing immediately.

What happens if a commit hook fails?

The skill reports the error and leaves the changes intact. It is told not to bypass failing hooks.

Does Code commit create pull requests?

Not directly. After committing, it can hand off to the code-pull-request skill if the user wants a PR.

How do I install Code commit in Claude Code?

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

Does Code 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 Code commit?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Code commit?

The closest alternatives to Code commit are Conventional commit, Conventional commit, Git commit, Commit and Conventional commit review.

Where this comes from

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

More from martinffx/atelier

  1. Routes an agent to the right planning mode and workflow skill for each task

    • Open source
    • 53 GitHub stars
    • Developer tools
  2. Guides a repo's setup for Atelier's workflow, previewing edits before writing

    • Open source
    • 53 GitHub stars
    • Developer tools
  3. Condenses the current conversation into a handoff document for a fresh agent

    • Open source
    • 53 GitHub stars
    • Developer tools
  4. Lets your agent open, read, comment on and merge GitHub PRs or GitLab MRs

    • Open source
    • 53 GitHub stars
    • Developer tools
  5. Reviews a branch or PR for human corrections and proposes repo fixes to prevent them

    • Open source
    • 53 GitHub stars
    • Developer tools
  6. Runs a multi-agent code review of a diff, filtering findings by reachable failures

    • Open source
    • 53 GitHub stars
    • Developer tools