Agent skill

Git Commit Formatter

by rominirani in rominirani/antigravity-skills

Makes the agent write every git commit message in the Conventional Commits format, with a type, optional scope, short description and breaking-change footer.

No licenceAuto-check passedDevelopment

Install Git Commit Formatter

skills CLI
$ npx skills add rominirani/antigravity-skills --skill git-commit-formatter -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install rominirani/antigravity-skills git-commit-formatter --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/rominirani/antigravity-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills_tutorial/git-commit-formatter .claude/skills/git-commit-formatter && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
git-commit-formatter
GitHub stars
591
Token cost
~311 tokens
SKILL.md length
146 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
None found

At a glance

Makes the agent write every git commit message in the Conventional Commits format, with a type, optional scope, short description and breaking-change footer.

  • Works in 4 steps: Analyze the changes to determine the… → Identify the scope if applicable (e.g.,… → Write a concise description in… → …
  • Writing a commit message for staged changes
  • SKILL.md covers Format, Allowed Types, Instructions and Example
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Every commit message follows one shape: a type, an optional scope in parentheses, a colon and a short description, as in feat(auth): implement login with google. Eight types are allowed, each defined in a line: feat, fix, docs, style, refactor, perf, test and chore.

The agent first analyzes the changes to choose the main type, then identifies a scope such as a component or file when one applies. It writes a concise description in the imperative mood (add feature, not added feature) and adds a footer beginning with BREAKING CHANGE: when the change breaks compatibility.

When your agent uses it

  • Writing a commit message for staged changes
  • Committing a bug fix or new feature with a conventional type
  • Marking a breaking change in the commit footer

Example prompts

  • “Commit my staged changes with a proper commit message.”
  • “Write a commit message for the new login with Google flow in the auth module.”
  • “The API now rejects empty names, so commit it and flag the breaking change.”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Analyze the changes to determine the primary type.
  2. Identify the scope if applicable (e.g., specific component or file).
  3. Write a concise description in imperative mood (e.g., "add feature" not "added feature").
  4. If there are breaking changes, add a footer starting with BREAKING CHANGE:.

What it can do on your machine

Read from SKILL.md and the folder at commit 731acca. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Git Commit Formatter loads about 311 tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 146 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~43
When it runs · the whole SKILL.md, loaded when a task matches
~311

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 146 words (~311 tokens).

“When writing a git commit message, you MUST follow the Conventional Commits specification.”

— opening of SKILL.md by rominirani
name
git-commit-formatter

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills_tutorial/git-commit-formatter of rominirani/antigravity-skills.

Open the folder on GitHubat commit 731acca

Compare with similar skills

Git Commit Formatter next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Git Commit Formatter compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Git Commit Formatter this skillrominirani/antigravity-skills591—~311Automated safety check: PassNone
ToolJet Multi-Repo CommitToolJet/ToolJet41k—~1.3kAutomated safety check: PassAGPL-3.0
Git Workflow and Versioningaddyosmani/agent-skills102k2 repos~3.5kAutomated safety check: NotesMIT
React Router Pull Request Creatorremix-run/react-router57k—~2.5kAutomated safety check: PassMIT
Saleor Commit Workflowsaleor/saleor23k—~575Automated safety check: PassBSD-3-Clause
Emoji Commit ConventionsbaptisteArno/typebot.io11k—~424Automated safety check: PassCustom licence

Similar skills

  • Commits changes across ToolJet's root repo and its server/ee and frontend/ee submodules, writing messages from the diffs and updating submodule pointers in order.

    41k GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Git Workflow and Versioning

    addyosmani/agent-skills

    Sets git habits for every change: short-lived branches, atomic commits with descriptive messages, clean pull requests, plus versioning, tagging and changelogs for releases.

    102k GitHub starsUsed in 2 repos~3.5k tokens
    DevelopmentAuto-check: notes
  • React Router Pull Request Creator

    remix-run/react-router

    Packages finished React Router work into a draft pull request: branch, commit, push, a written PR body and the right GitHub labels.

    57k GitHub stars~2.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Commits changes in the Saleor codebase and works through pre-commit hook failures from ruff, mypy, the GraphQL schema check and the migrations check.

    23k GitHub stars~575 tokensUpdated today
    DevelopmentAuto-check passed
  • Emoji Commit Conventions

    baptisteArno/typebot.io

    Sets the repository's convention for commit messages and pull request titles: one emoji prefix for the main intent, a concise title and clean follow-up commits.

    11k GitHub stars~424 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Draft Pull Request Creator

    wordpress-mobile/WordPress-Android

    Commits and pushes current changes, writes a pull request title and body from the branch history and template, and opens a draft PR on GitHub after you approve it.

    3.2k GitHub stars~881 tokensUpdated today
    DevelopmentAuto-check: notes

More from rominirani/antigravity-skills

  • SQL Schema Policy Validator

    rominirani/antigravity-skills

    Validates SQL schema files for compliance with internal safety and naming policies.

    591 GitHub stars~264 tokensUpdated 3 mo ago
    Auto-check passed
  • Always Verify GCP

    rominirani/antigravity-skills

    A workflow for Google Cloud changes: pick gcloud, bq or gsutil, check the command against official docs, preview with a dry run and ask for approval before executing.

    591 GitHub stars~804 tokensUpdated 3 mo ago
    Auto-check passed
  • License Header Adder

    rominirani/antigravity-skills

    Adds the standard open-source license header to new source files. Use involves creating new code files that require copyright attribution.

    591 GitHub stars~294 tokensUpdated 3 mo ago
    Auto-check passed
  • JSON To Pydantic

    rominirani/antigravity-skills

    Converts JSON data snippets into Python Pydantic data models.

    591 GitHub stars~249 tokensUpdated 3 mo ago
    Auto-check passed

Works with

Categories

Questions about Git Commit Formatter

What does Git Commit Formatter do?

Makes the agent write every git commit message in the Conventional Commits format, with a type, optional scope, short description and breaking-change footer. Every commit message follows one shape: a type, an optional scope in parentheses, a colon and a short description, as in feat(auth): implement login with google. Eight types are allowed, each defined in a line: feat, fix, docs, style, refactor, perf, test and chore.

When should I use Git Commit Formatter?

Git Commit Formatter fits situations like: writing a commit message for staged changes; committing a bug fix or new feature with a conventional type; marking a breaking change in the commit footer.

How do I install Git Commit Formatter in Claude Code?

Run `npx skills add rominirani/antigravity-skills --skill git-commit-formatter -a claude-code`. Or copy the skill folder (skills_tutorial/git-commit-formatter in rominirani/antigravity-skills) into .claude/skills/git-commit-formatter in your project. Claude Code loads it when a task matches its description.

How do I install Git Commit Formatter in Codex?

Run `npx skills add rominirani/antigravity-skills --skill git-commit-formatter -a codex`. Or copy the skill folder (skills_tutorial/git-commit-formatter in rominirani/antigravity-skills) into .agents/skills/git-commit-formatter in your project. Codex loads it when a task matches its description.

Can I use Git Commit Formatter in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rominirani/antigravity-skills --skill git-commit-formatter -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/git-commit-formatter, .gemini/skills/git-commit-formatter, .github/skills/git-commit-formatter and .opencode/skills/git-commit-formatter in your project.

What does Git Commit Formatter need to run?

SKILL.md names no scripts, command-line tools or credentials: Git Commit Formatter is instructions for the agent only.

Does Git Commit Formatter access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Git Commit Formatter safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Git Commit Formatter use?

No licence was found for Git Commit Formatter or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Git Commit Formatter use?

About 311 tokens (SKILL.md is roughly 1.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Git Commit Formatter?

Skills that share tags, products or a category with Git Commit Formatter: ToolJet Multi-Repo Commit (ToolJet/ToolJet, 41k stars), Git Workflow and Versioning (addyosmani/agent-skills, 102k stars), React Router Pull Request Creator (remix-run/react-router, 57k stars) and Saleor Commit Workflow (saleor/saleor, 23k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Git Commit Formatter?

rominirani (a GitHub user) maintains it in rominirani/antigravity-skills, which has 591 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on June 27, 2026.

Source: rominirani/antigravity-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.