feat(commands): add AI git commit message generator

Add comprehensive slash command for generating conventional commit
messages using AI. The command analyzes staged git changes and creates
well-structured commit messages following best practices.

Features:
- Conventional commit format (type, scope, description)
- Interactive message editing and regeneration
- Context-aware analysis of git diffs
- Learning from existing commit history style
- Support for custom type and scope hints
- Multi-step workflow with user confirmation

Command supports multiple usage patterns:
- Basic: /git-commit-msg
- With hints: /git-commit-msg fix
- With context: /git-commit-msg "feat(api)"

Also updates command README with documentation for the new command.

🤖 Generated with Claude Code
This commit is contained in:
windyboy
2026-01-05 21:38:47 +08:00
parent 8e3943f064
commit 79de88d25c
9 changed files with 446 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
{
"activeConversationId": "conv-1767607708938-lh0h0m9vo",
"activeConversationId": "conv-1767620030117-cqj3f0arx",
"lastEnvHash": "",
"lastClaudeModel": "sonnet",
"lastCustomModel": ""