# Smart commit message (/git--commit)

/git--commit is a Claude Code skill in the Code section. Analyzes your staged changes and writes a Conventional Commits message, then creates the commit once you approve it.

- Web version: https://skills.sgomez.dev/en/s/git--commit
- Section: [Code](https://skills.sgomez.dev/en/code.md)
- Author: Santiago Gómez de la Torre
- License: MIT
- Source: https://github.com/sgomez-dev/claude-skills/blob/main/skills/git/commit.md
- Updated 26 Mar 2026

## How to ask for it

- `/git--commit write the commit message for these changes`
- `/git--commit generate a conventional commit for what I staged`
- `/git--commit I need a clear commit message for this fix`

## Install

macOS · Linux:

```
curl -fsSL https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.sh | bash
```

Windows:

```
irm https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.ps1 | iex
```

Claude Code plugin:

```
/plugin marketplace add sgomez-dev/claude-skills
/plugin install git-skills@claude-skills-collection
```

## Permissions

- Reads: `.git/**`
- Writes: —
- Runs: `git diff`, `git log`, `git commit`
- Network: No
- Destructive: No

## Author's description

Generate a smart conventional commit message analyzing staged changes

## Pairs well with

- [Full code review (/code-quality--review)](https://skills.sgomez.dev/en/s/code-quality--review.md): Reviews your changed files or the ones you name, rating issues in correctness, security, performance and maintainability by severity with fix suggestions.
- [OWASP security audit (/security--security-audit)](https://skills.sgomez.dev/en/s/security--security-audit.md): Audits your codebase against the OWASP Top 10 and returns each finding with severity, file and line, a description and a fix.
- [Unit tests for your code (/testing--test-gen)](https://skills.sgomez.dev/en/s/testing--test-gen.md): Reads a file and writes unit tests covering normal use, edge cases and errors in your existing framework, then runs them to check they pass.
- [Complete pull request (/git--pr-create)](https://skills.sgomez.dev/en/s/git--pr-create.md): Builds a pull request from your commits and diff, with a title, summary, test plan and labels, pushes the branch and returns the PR URL.
- Recipe: [/pipeline--feature-complete](https://github.com/sgomez-dev/claude-skills/blob/main/pipelines/feature-complete.yaml): Feature Complete

- [How we review this](https://skills.sgomez.dev/en/methodology.md)
