git-commit-generator

Installation
SKILL.md

Git Commit Generator

分析暂存区变更,生成 Conventional Commits 规范的中文提交消息并自动提交。

流程概述

  1. 检查前置条件 - 确认暂存区有内容可提交
  2. 收集变更信息 - 获取暂存区 diff 和文件列表
  3. 推断 type 和 scope - 根据变更内容智能推断
  4. 生成并提交 - 生成中文消息后直接执行 git commit

完整规范参考:references/conventional-commits-spec.md


Step 1: 检查前置条件

运行 git status --porcelain 检查暂存区状态。

Related skills
Installs
13
Repository
ynz012x/skills
GitHub Stars
1
First Seen
Mar 1, 2026
Security Audits