agenvoy

Skill Commit Generate — Git skill for Claude Code

Git community

An agent skill git commit message generator with bilingual output, contract-based breaking detection, and multi-topic split hints.

How to install Skill Commit Generate

This entry records only its repository, not the path inside it, so there is no exact command to give. Open agenvoy/skill-commit-generate and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Skill Commit Generate does

An agent skill git commit message generator with bilingual output, contract-based breaking detection, and multi-topic split hints.

Alternatives in Git

  • Commit Msg — 生成 Git Commit Message 1k ★
  • Create GitHub Issue — Create GitHub issue for mikopbx/core with English title and bilingual description 571 ★
  • Husky — by evmts - Sets up and manages Husky Git hooks by configuring pre-commit hooks, establishing commit message st 440 ★

README

Last updated: 2026-11-30

[!NOTE] This README was generated by [SKILL](https://github.com/agenvoy/skill-readme-generate), get the ZH version from [here](./doc/README.zh.md).
This skill's implementation was fully agent-generated; the developer only tuned its input/output.


WRITE BILINGUAL COMMITS FROM STAGED DIFF WITH STRICT TAG DISCIPLINE!

License


An agent skill git commit message generator with bilingual output, contract-based breaking detection, and multi-topic split hints

Table of Contents

Features

`/commit-generate` · [Documentation](./doc/doc.md)

  • Staged-Only Content — Describes nothing but git diff --cached and stops with an error when nothing is staged, never falling back to the working tree.
  • Contract-Based Breaking Detection — Escalates to breaking only when outside users lose the old usage with no compatibility path; internal renames and same-diff caller updates map to feat, fix, or refactor by user impact.
  • Split Only What Decouples — Suggests a split for diffs spanning 2+ primary tags or unrelated modules only when each topic builds on its own; otherwise emits one message for the main intent.
  • Unstaged File Reminder — Flags same-module files left unstaged above the message, leaving the git add decision to the user.
  • Repo-Consistent Scope — Marks the main module as tag(Scope):, borrowing scope names and phrasing from git log and the branch name while tag choice stays rule-driven.

Architecture

[Full Architecture](./doc/architecture.md)

graph TB
    A[Parallel read
diff / status / log / branch] --> B{Staged empty?} B -->|Yes| E[Error and stop] B -->|No| C[Multi-top