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!
An agent skill with bilingual commit messages, mandatory tag escalation, and multi-topic split detection
/commit-generate· Documentation
- Staged-Only Content — Describes nothing but
git diff --cachedand 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
featorupdate. - 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 adddecision to the user. - Repo-Consistent Wording — Borrows module names and phrasing from
git logand the branch name while tag choice stays rule-driven.
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]
This project is licensed under the MIT LICENSE.