https://github.com/pardnio/skill-commit-generate
https://github.com/pardnio/skill-commit-generate
agentskills ai-generated
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/pardnio/skill-commit-generate
- Owner: pardnio
- License: mit
- Created: 2026-01-23T09:51:09.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2026-04-24T15:49:40.000Z (about 2 months ago)
- Last Synced: 2026-04-24T17:26:48.794Z (about 2 months ago)
- Topics: agentskills, ai-generated
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> [!NOTE]
> This README was generated by [SKILL](https://github.com/pardnchiu/skill-readme-generate), get the ZH version from [here](./doc/README.zh.md).
***
WRITE BILINGUAL COMMITS FROM STAGED DIFF WITH STRICT TAG DISCIPLINE!
***
> A Claude Code skill that generates bilingual commit messages from staged diff with mandatory tag escalation and multi-topic detection
## Table of Contents
- [Features](#features)
- [Built With](#built-with)
- [Architecture](#architecture)
- [License](#license)
## Features
> `/commit-generate` · [Documentation](./doc/doc.md)
- **Bilingual One-Shot Output** — Emits English subject and Traditional Chinese body in a single pass so the two never drift apart.
- **Staged-Only Strict Input** — Reads only `git diff --cached`; aborts with an error when nothing is staged instead of silently falling back to the working tree.
- **Mandatory Tag Escalation** — Scans Breaking and Security signals; any hit forces the tag up and blocks downgrades to `feat` or `update`.
- **Multi-Topic Detection** — Warns and recommends splitting when a diff touches 2+ primary tags or 3+ unrelated topics before emitting a rollup message.
- **13 Classification Tags** — Resolves intent through a fixed priority of `BREAKING` > `FEAT` > `FIX` > `SECURITY` > `UPDATE` > `REFACTOR` > `PERF`.
## Built With
## Architecture
> [Full Architecture](./doc/architecture.md)
```mermaid
graph TB
A[git diff --cached] --> B{Staged empty?}
B -->|Yes| E[Error & stop]
B -->|No| C[Multi-topic detection]
C --> D[Tag escalation scan]
D --> F[Emit bilingual commit message]
```
## License
This project is licensed under the [MIT LICENSE](LICENSE).