Skip to main content
skill CX Codex

git-commit · thinkinaixyz — Claude Code skill: what it does, how to install

git-commit generates commit messages following Conventional Commits — type, scope, and subject. The agent reads staged changes via git diff --staged and proposes a message.

Apache-2.0 1 installs ★ 6,407 updated 2026-10-29

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add ThinkInAIXYZ/deepchat --skill git-commit -a claude-code
Open on GitHub

What git-commit does

The skill teaches the agent to write commits in <type>(<scope>): <subject> format, where type is feat, fix, docs, refactor, or one of eight others. Subject line uses imperative mood, up to 50 characters, no period. Body wraps at 72 characters; footer references issues (Fixes #123) or marks breaking changes.

The agent runs git status or git diff --staged, analyses the changes, and builds a message. If you confirm, it executes git commit -m "message". The skill uses run_terminal_cmd, so git must be in PATH.

Fits projects where Conventional Commits is adopted and you want the agent to format commits according to the repository rules.

What it helps with

  • generate a Conventional Commits message from staged changes
  • pick the right commit type for code or documentation changes
  • format issue references and breaking change markers in the footer
  • automate commit writing in projects with a shared message standard

Example prompts for the agent

  • Check staged changes and write a commit message
  • Make a commit for staged files following Conventional Commits
  • Build a commit message with type and scope for current changes

How to install git-commit

1Skills CLI (Vercel)

npx skills add ThinkInAIXYZ/deepchat --skill git-commit -a claude-code

2Manually: put the files in place

~/.claude/skills/git-commit/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/git-commit/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about git-commit

How to install git-commit in Claude Code?

Run npx skills add ThinkInAIXYZ/deepchat --skill git-commit -a claude-code, then check the file ~/.claude/skills/git-commit/SKILL.md.

What does the git-commit skill do?

Generates commit messages following Conventional Commits: the agent reads changes via git diff --staged, picks a type (feat, fix, docs), writes the subject and optionally body with footer, then runs git commit -m after your confirmation.

Which commit types does git-commit support?

feat, fix, docs, style, refactor, perf, test, build, ci, chore. The skill selects the type based on what changed — a new feature, a bug fix, documentation, or build configuration.

Source text

SKILL.md · Apache-2.0
---
name: git-commit
description: Generate well-formatted git commit messages following conventional commit standards
allowedTools:
  - run_terminal_cmd
---

# Git Commit Message Skill

You are a git commit message expert. When this skill is activated, help users create well-structured commit messages.

## Commit Message Format

Follow the Conventional Commits specification:

```
<type>(<scope>): <subject>

[optional body]

[optional footer(s)]
```

## Types

- **feat**: A new feature
- **fix**: A bug fix
- **docs**: Documentation only changes
- **style**: Changes that do not affect the meaning of the code
- **refactor**: A code change that neither fixes a bug nor adds a feature
- **perf**: A code change that improves performance
- **test**: Adding missing tests or correcting existing tests
- **build**: Changes that affect the build system or external dependencies
- **ci**: Changes to CI configuration files and scripts
- **chore**: Other changes that don't modify src or test files

## Guidelines

1. **Subject Line**
   - Use imperative mood ("add" not "added")
   - Don't capitalize first letter
   - No period at the end
   - Limit to 50 characters

2. **Body**
   - Explain what and why, not how
   - Wrap at 72 characters
   - Separate from subject with a blank line

3. **Footer**
   - Reference issues: `Fixes #123`
   - Breaking changes: `BREAKING CHANGE: description`

## Workflow

1. Run `git diff --staged` or `git status` to see changes
2. Analyze the changes to understand what was modified
3. Generate an appropriate commit message
4. Optionally run `git commit -m "message"` if user confirms

© ThinkInAIXYZ · Apache-2.0 · ThinkInAIXYZ/deepchat

Similar skills

All skills for Git and GitHub →

git-commit by other authors comes first.

git-commit official github A GitHub Copilot skill that turns a working diff into a commit: it reads the changes, stages the related files, writes a Conventional Commits message and runs git commit. CX Codex +1 47,165installs git-commit decebals git-commit generates Conventional Commits messages for Java codebases based on staged changes inspected with git diff. CX Codex +1 264installs git-commit fvadicamo Writes git commits in Conventional Commits format with a type, a required scope and a short subject. Useful when the agent commits on your behalf. CX Codex +1 324installs git-commit ilteoood git-commit — a skill for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode that reads the diff and builds a Conventional Commits message automatically. CX Codex +1 624installs git-commit nimbalyst The git-commit skill prepares a commit proposal in Nimbalyst’s interactive widget. Use it after clicking “Commit with AI” or explicitly requesting a smart commit. CX Codex +1 ★ 2,096repo stars git-commit-helper davila7 Reads git diff --staged and drafts a commit message following Conventional Commits. It fires after every Bash tool call and appends a line to ~/.claude/git-commit-helper.log. CX Codex +1 7,093installs create_git_diff_commit danielmiessler create_git_diff_commit generates git add and git commit commands from a repository diff using Conventional Commits. GP ChatGPT ★ 44,690repo stars ce-commit EveryInc ce-commit is a Claude Code skill that automatically creates git commits with meaningful messages. It splits staged or unstaged changes into logical groups without pushing. CX Codex +1 3,600installs speckit.git.commit alfredoperez speckit.git.commit is a Claude Code command that stages and commits changes after Spec Kit commands, according to project configuration. CX Codex +1 ★ 110repo stars commit getsentry Drafts Sentry-style conventional commits with issue references and blocks direct commits to main. CX Codex +1 4,900installs conventional-commit marcelorodrigo Makes AI coding agents write commits to the Conventional Commits spec: type, scope, imperative subject. CX Codex +1 964installs

Project sponsors

Companies that keep this analytics open