Habilidades git-commit
🔧
创建有意义的git提交有助于跟踪项目历史,并启用自动化的变更日志生成。此技能会自动分析暂存的更改并生成规范化的提交消息。
Suporta: Claude Codex Code(CC)
1
Baixar o ZIP da skill
2
Upload no Claude
Vá em Configurações → Capacidades → Skills → Upload skill
3
Ative e comece a usar
Testar
A utilizar "git-commit". Commit my changes
Resultado esperado:
- ✓ 已分析3个已更改的文件
- ✓ 生成的提交消息: feat(auth): add user authentication module
- ✓ 已创建提交: a1b2c3d
- ✓ 添加1个文件,修改2个文件
Auditoria de Segurança
Segurov3 • 1/10/2026
This is a pure prompt-based skill containing only documentation and instructions for git commit workflow. No executable code, scripts, or network activity. The skill uses standard git operations through Claude Code tools which are controlled by the user.
1
Arquivos analisados
100
Linhas analisadas
0
achados
3
Total de auditorias
Nenhum problema de segurança encontrado
Auditado por: claude Ver Histórico de Auditoria →
Pontuação de qualidade
38
Arquitetura
100
Manutenibilidade
81
Conteúdo
24
Comunidade
100
Segurança
78
Conformidade com especificações
O Que Você Pode Construir
自动化提交消息
快速为任何暂存的更改创建格式正确的提交消息,无需记忆规范化的提交规则。
强制执行提交标准
确保所有团队提交遵循规范化提交格式,以便生成自动化的变更日志和发布说明。
标准化版本历史
生成一致的提交历史,可与语义化版本工具和自动化发布流水线配合使用。
Tente Estes Prompts
基本提交
Commit my changes
指定类型
Create a fix type commit for my staged changes
带范围
Create a commit for the authentication module
完整规范
Create a feat commit for the user profile component with message: Add avatar upload feature
Melhores Práticas
- 在允许提交执行之前审查生成的提交消息
- 使用与项目结构匹配的具体范围
- 验证暂存的更改与预期的提交内容一致
Evitar
- 对包含密码或API密钥的敏感文件使用此技能
- 在共享分支上请求强制推送
- 跳过提交消息审查步骤
Perguntas Frequentes
什么是规范化提交?
标准格式为类型(范围): 描述。类型包括feat、fix、docs、style、refactor、test和chore。
我可以编辑生成的消息吗?
可以。传递自定义消息参数以覆盖自动生成的提交消息。
这会推送到远程吗?
不能。此技能仅创建本地提交。在审查更改后需要单独推送。
这对于敏感代码安全吗?
此技能在本地运行git命令。在提交前审查暂存的文件以避免暴露敏感信息。
这支持哪些工具?
通过Claude、Codex和Claude Code的标准git和文件访问功能工作。
这与git add -a && git commit -m有什么区别?
此技能会自动分析更改并遵循行业规范生成有意义的消息。
Detalhes do Desenvolvedor
Autor
21pounderLicença
MIT
Repositório
https://github.com/21pounder/terminalAgent/tree/main/deepresearch/.claude/skills/git-commitReferência
main
Estrutura de arquivos
📄 SKILL.md