Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.9 KB

README.md

File metadata and controls

50 lines (35 loc) · 1.9 KB

Note

This README was generated by SKILL, get the ZH version from here.
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 with bilingual commit messages, mandatory tag escalation, and multi-topic split detection

Table of Contents

Features

/commit-generate · Documentation

  • 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.
  • Mandatory Tag Escalation — Scans Breaking and Security signals top-down; any hit forces the tag up and blocks downgrades to feat or update.
  • Multi-Topic Split Detection — Lists a split plan before the rollup message when a diff spans 2+ primary tags or 3+ unrelated topics.
  • Unstaged File Reminder — Flags same-module files left unstaged above the message, leaving the git add decision to the user.
  • Repo-Consistent Wording — Borrows module names and phrasing from git log and the branch name while tag choice stays rule-driven.

Architecture

Full Architecture

graph TB
    A[Parallel read<br/>diff / status / log / branch] --> B{Staged empty?}
    B -->|Yes| E[Error and stop]
    B -->|No| C[Multi-topic detection]
    C --> D[Tag escalation scan]
    D --> F[Emit bilingual commit message]
Loading

License

This project is licensed under the MIT LICENSE.