Back to skills
SkillHub ClubWrite Technical DocsFull StackTech Writer

git-commit-message

Generates descriptive commit messages by analyzing git diffs. Use when the user asks for help writing commit messages or reviewing staged changes.

Packaged view

This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.

Stars
2
Hot score
79
Updated
March 20, 2026
Overall rating
C0.6
Composite score
0.6
Best-practice grade
S96.0

Install command

npx @skill-hub/cli install carlos-algms-dotfiles-git-commit-message

Repository

carlos-algms/dotfiles

Skill path: AI-configs/claude/skills/git-commit-message

Generates descriptive commit messages by analyzing git diffs. Use when the user asks for help writing commit messages or reviewing staged changes.

Open repository

Best for

Primary workflow: Write Technical Docs.

Technical facets: Full Stack, Tech Writer.

Target audience: everyone.

License: Unknown.

Original source

Catalog source: SkillHub Club.

Repository owner: carlos-algms.

This is still a mirrored public skill entry. Review the repository before installing into production workflows.

What it helps with

  • Install git-commit-message into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
  • Review https://github.com/carlos-algms/dotfiles before adding git-commit-message to shared team environments
  • Use git-commit-message for development workflows

Works across

Claude CodeCodex CLIGemini CLIOpenCode

Favorites: 0.

Sub-skills: 0.

Aggregator: No.

Original source / Raw SKILL.md

---
name: git-commit-message
description:
  Generates descriptive commit messages by analyzing git diffs. Use when the
  user asks for help writing commit messages or reviewing staged changes.
---

# Commit Messages

- Imperative mood, concise, clear, descriptive
- Title: ≤70 chars (including type, scope, parens, colon, spaces)
- Multi-change: bulleted description, lines ≤72 chars
- Standard markdown only, no special characters
- Never include: co-authors, sign-offs, AI attribution
- Never use `git log` to infer style from history

## Formats

**Standard:**

```
title

description...
```

**Conventional:**

```
type(scope): subject

description...
```

Conventional rules:

- Infer type from changes; if unclear → ask
- Scope: user-provided, ticket ID (`[A-Z]{3}-[0-9]+`), or branch name (not
  main/master)
- If scope unavailable → ask

## Workflow

1. Check staged files; if none → ask to stage all modified
2. Use `git add .` (not individual files)
3. Generate message per format above
4. Display full message in chat (triple backticks)
5. Request user approval before committing
git-commit-message | SkillHub