Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
dauquangthanh avatar

Git Commit

  • 23 installs
  • 14 repo stars
  • Updated January 23, 2026
  • dauquangthanh/hanoi-rainbow

git-commit is a Hanoi Rainbow agent skill that generates conventional git commit messages so developers can keep atomic, descriptive version history.

About

The git-commit skill teaches agents to write conventional commit messages with clear types, optional scopes, imperative subjects, and detailed bodies when changes need context. It emphasizes atomic commits, automation-friendly prefixes, and footers for breaking changes and issue links. Use it whenever you or an agent are about to commit and want messages that match team standards and changelog tooling instead of vague one-liners.

  • Enforces type, scope, subject, body, and footer structure
  • Documents feat, fix, docs, refactor, test, ci, and chore types
  • Loads reference guides for templates, mistakes, and team conventions
  • Supports breaking-change footers and issue references like Closes #123

Git Commit by the numbers

  • 23 all-time installs (skills.sh)
  • Ranked #377 of 733 Git & Pull Requests skills by installs in the Skillselion catalog
  • Data as of Jul 29, 2026 (Skillselion catalog sync)
npx skills add https://github.com/dauquangthanh/hanoi-rainbow --skill git-commit

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs23
repo stars14
Last updatedJanuary 23, 2026
Repositorydauquangthanh/hanoi-rainbow

How should this change be committed so the message is clear, conventional, and safe for automation?

Drafts conventional commit messages with typed prefixes, scoped subjects, bodies, and footers so staged changes are atomic and changelog-friendly.

Who is it for?

Developers and agents committing incremental code changes who want Conventional Commits formatting without guessing types or footers.

Skip if: Repositories that forbid conventional commits or tasks that only need branch strategy without writing a message.

When should I use this skill?

Users ask to commit, write a commit message, or mention conventional commits or changelog formatting.

What you get

A ready-to-use commit message with type, scope, subject, optional body, and footers matching the skill format.

Files

SKILL.mdMarkdownGitHub ↗

Git Commit

Generates well-structured git commit messages following conventional commit standards and best practices.

Key Principles

1. Be specific: Describe exactly what changed 2. Be consistent: Follow conventional commit format 3. Be atomic: One logical change per commit 4. Be clear: Write for others (including future you) 5. Be complete: Include why and context when needed 6. Be conventional: Follow standard format for automation

Standard Format

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

<body>

<footer>

Components:

  • type: Category of change (required) - feat, fix, docs, refactor, perf, test, build, ci, chore, style, revert
  • scope: Area affected (optional) - auth, api, ui, db, etc.
  • subject: Brief description (required, ≤50 chars)
  • body: Detailed explanation (optional, wrap at 72 chars)
  • footer: Breaking changes, issue refs (optional)

Basic Workflow

1. Choose the commit type:

  • feat: New user-facing functionality
  • fix: Bug fix for users
  • docs: Documentation only
  • refactor: Code restructuring without behavior change
  • perf: Performance improvement
  • test: Adding/updating tests
  • build: Dependency/build system changes
  • ci: CI/CD configuration changes
  • chore: Maintenance tasks
  • style: Code formatting
  • revert: Reverting previous commit

2. Write subject line (imperative mood, ≤50 chars):

   ✅ feat(auth): add OAuth2 authentication
   ✅ fix(api): resolve race condition in user updates
   ❌ feat: added some stuff
   ❌ fix: bug fix

3. Add body if needed (explain why, not just what):

  • Required for breaking changes
  • Recommended for complex changes
  • Wrap lines at 72 characters

4. Include footer:

  • Breaking changes: BREAKING CHANGE: description
  • Issue references: Closes #123, Fixes #456

Quick Examples

Simple feature:

feat(auth): add password reset endpoint

Bug fix with context:

fix(api): prevent null pointer in user preferences

User preferences API crashed when optional fields were null.
Added null checks and default values.

Closes #456

Breaking change:

feat(api)!: change response format to JSON:API spec

BREAKING CHANGE: API responses now follow JSON:API format.
Update client code to parse data from `data` key instead
of root level.

Closes #789

Reference Documentation

For detailed guidance, load these reference files as needed:

  • [commit-types.md](references/commit-types.md): Complete list of commit types with examples
  • [quick-reference.md](references/quick-reference.md): Decision trees and checklists
  • [best-practices.md](references/best-practices.md): Atomic commits, meaningful messages, issue references
  • [writing-guidelines.md](references/writing-guidelines.md): Subject line rules, scope selection, body formatting
  • [common-scenarios.md](references/common-scenarios.md): Examples for typical development situations
  • [common-mistakes-to-avoid.md](references/common-mistakes-to-avoid.md): Anti-patterns and how to fix them
  • [team-conventions.md](references/team-conventions.md): Customizing conventions for teams
  • [commit-message-structure.md](references/commit-message-structure.md): Detailed format specifications
  • [commit-message-templates.md](references/commit-message-templates.md): Ready-to-use templates
  • [commit-workflow.md](references/commit-workflow.md): Integration with git workflows
  • [examples-by-project-type.md](references/examples-by-project-type.md): Examples for web apps, libraries, mobile, microservices
  • [advanced-patterns.md](references/advanced-patterns.md): Complex scenarios and edge cases
  • [commit-message-convention.md](references/commit-message-convention.md): Enforcement tools and configurations

Related skills

FAQ

What commit format does it use?

It uses type(scope): subject with optional body and footer sections as documented in the skill.

Which types are supported?

It lists feat, fix, docs, refactor, perf, test, build, ci, chore, style, and revert in the basic workflow.

Where is deeper guidance?

The skill points to references such as commit-types.md, best-practices.md, and commit-workflow.md.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.