/claude-plugin-frontend:commit 可选:提交范围或类型提示from claude-plugin-frontend
生成英文 conventional commit 消息
Ships in claude-plugin-frontend. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
分析 git 变更并生成符合 Conventional Commits 规范的英文提交消息
在 Claude Code 中通过命令面板或快捷键调用此命令:
/commit # 分析所有变更
/commit feat # 指定类型为 feat
/commit fix: login # 指定类型和范围
分析 git 变更并生成符合 Conventional Commits 规范的英文提交消息。 当变更涉及多个不相关的改动时,必须拆分为多个独立的提交。
运行以下命令查看变更:
git status
git diff # unstaged 变更
git diff --cached # staged 变更
git log -3 --oneline # 参考最近的提交风格
分析变更内容,按逻辑关联性分组:
<type>: <subject>
<type>: <subject>
<body>
- 要点1
- 要点2
- 要点3
何时使用多行格式:
feat: 新功能/comfix: 修复 bugrefactor: 重构(无功能变更)docs: 文档更新test: 测试相关chore: 配置/依赖维护style: 代码格式调整perf: 性能优化当需要拆分为多个提交时,按以下格式输出:
### Commit 1
涉及文件: file1.ts, file2.vue
<commit message>
### Commit 2
涉及文件: file3.ts
<commit message>
feat: add user authentication
refactor: remove redundant default Vite/Nuxt configurations
Remove explicit configurations that match framework defaults:
- cssCodeSplit (defaults to true in Vite)
- typescript.strict (defaults to true in Nuxt 3.12+)
docs: update API documentation
chore: upgrade dependencies to latest versions
最后更新: 2026-06-09 版本: 1.3.0
7-day visitors to each command page
4 commands in this plugin
npx claudepluginhub pancake-q/claude-plugin-frontend --plugin claude-plugin-frontendOther plugins' commands for the same job