Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description or website provided.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages