From aigroup-workflow
Analyzes Git changes, categorizes them, generates Conventional Commits message with Chinese description, adds relevant files, commits, and reports files, message, and hash.
npx claudepluginhub codeape-7/ai-agent-workflowgroupcommands/主会话现在需要创建一个 Git 提交。 ## 任务 $ARGUMENTS ## 执行步骤 ### 1. 检查变更 ### 2. 分析变更内容 查看所有变更的文件,理解改动的性质: - 新功能 (feat) - Bug 修复 (fix) - 重构 (refactor) - 文档 (docs) - 配置/构建 (chore) - 样式调整 (style) - 测试 (test) ### 3. 生成提交信息 遵循 Conventional Commits 规范: **规则**: - type 使用英文(feat/fix/refactor/docs/chore/style/test) - scope 根据改动范围填写(模块名/文件名) - 描述使用中文,简洁明确 - 不超过 72 字符 ### 4. 执行提交 **注意**: - 只添加相关变更文件,不要 `git add .` - 不要添加 .env、credentials 等敏感文件 - 如果变更涉及多个不相关的功能,拆分为多次提交 - 提交前确认没有遗漏的文件 ### 5. 输出 报告: 1. 提交的文件列表 2. 提交信息 3. 提交哈希
/commitCommits git changes with auto-generated Conventional Commits semantic message. Analyzes diffs, optionally stages unstaged files, confirms message, executes commit, and offers to push. Accepts optional custom message.
/commit-msgAnalyzes staged (default) or all uncommitted code changes (with 'all' arg) to generate structured Chinese commit messages in conventional format, file changes table, and quick git commit command.
/git-cmAnalyzes code changes to generate Conventional Commit messages adapted to project norms like CommitLint, previews git add/commit/push operations, and executes after user confirmation. Supports --zh for Chinese.
/commit-messageGenerates commit messages from staged git changes using project conventions (CommitLint, history analysis), auto-detects language (en/zh-tw), and copies full 'git commit -m' command to clipboard. Supports --format, --lang, --breaking options.
/commit-messageGenerates commit messages from staged git changes using project conventions and git history analysis, auto-detects language/format, copies primary 'git commit -m' command to clipboard. Supports --format, --lang, --breaking.
/git-commitAnalyzes staged changes via git diff --staged and commits them with a meaningful message following project standards in docs/git-msg-tags.md.
Share bugs, ideas, or general feedback.
主会话现在需要创建一个 Git 提交。
$ARGUMENTS
git status
git diff --stat
查看所有变更的文件,理解改动的性质:
遵循 Conventional Commits 规范:
<type>(<scope>): <简短中文描述>
<详细说明(可选)>
规则:
git add <相关文件>
git commit -m "<生成的提交信息>"
注意:
git add .报告: