smart-commit-gen
Installation
SKILL.md
Git Commit Helper
分析当前 git diff,自动生成符合 Conventional Commits 规范的 commit message,并智能检测 scope。
Quick Start
# 分析未暂存的改动,生成 commit message
python3 scripts/analyze_diff.py
# 分析已暂存(staged)的改动
python3 scripts/analyze_diff.py --staged
# 指定仓库路径
python3 scripts/analyze_diff.py --repo /path/to/repo
# JSON 格式输出(便于程序集成)
python3 scripts/analyze_diff.py --staged --format json