git-commit
生成语义化 git 提交
Também disponível em: Bae-ChangHyun,21pounder,21pounder,Chemiseblanc
开发者花费太多时间来编写提交信息。该技能通过分析 git diff 并创建标准化的、可搜索的提交信息来自动化 conventional commit 消息的生成。
Baixar o ZIP da skill
Upload no Claude
Vá em Configurações → Capacidades → Skills → Upload skill
Ative e comece a usar
Testar
A utilizar "git-commit". 用户要求提交已暂存的更改
Resultado esperado:
feat(auth): add OAuth2 login flow
Implement Google and GitHub OAuth authentication with JWT tokens.
Closes #42
A utilizar "git-commit". 用户请求 bug 修复提交
Resultado esperado:
fix: resolve null pointer in user profile rendering
The profile component now handles missing avatar images gracefully.
A utilizar "git-commit". 破坏性更改提交
Resultado esperado:
feat(api)!: remove v1 endpoints
BREAKING CHANGE: All v1 API endpoints have been removed. Migrate to v2 by March 1st.
Auditoria de Segurança
SeguroAll 37 static findings are false positives. External command patterns are legitimate git commands documented for commit workflow. Security warnings about secrets are protective documentation, not vulnerabilities. No cryptographic code or secret access exists.
Problemas de Alto Risco (2)
Problemas de Risco Médio (1)
Fatores de risco
⚙️ Comandos externos (3)
Pontuação de qualidade
O Que Você Pode Construir
快速功能提交
在添加新功能时自动生成标准化提交信息,节省信息格式化的时间。
团队一致性
使用 conventional commit 格式在整个开发团队中强制执行一致的提交信息标准。
自动化流水线
使用 conventional commit 元数据系统地生成变更日志和跟踪更改。
Tente Estes Prompts
根据 diff 为我的已暂存更改创建一个 conventional commit 消息。
创建一个类型为 'feat'、范围为 'authentication' 且描述新登录功能的提交。
将此更改提交为破坏性更改,并包含关于 API 弃用的描述。
为我的已暂存 README 更新生成一个 docs 提交消息。
Melhores Práticas
- 在确认执行之前审查生成的提交消息
- 对于跨越多个区域的复杂更改,使用交互式暂存选项
- 在适用的情况下包含问题引用(Closes #123, Fixes #456)
Evitar
- 使用模糊的提交消息,如 'fix stuff' 或 'updates'
- 在单个提交中提交多个不相关的更改
- 跳过重要更改的提交消息审查步骤