Habilidades git-commit
📦

git-commit

Seguro ⚙️ Comandos externos

生成语义化 git 提交

Também disponível em: Bae-ChangHyun,21pounder,21pounder,Chemiseblanc

开发者花费太多时间来编写提交信息。该技能通过分析 git diff 并创建标准化的、可搜索的提交信息来自动化 conventional commit 消息的生成。

Suporta: Claude Codex Code(CC)
⚠️ 67 Ruim
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". 用户要求提交已暂存的更改

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

Seguro
v1 • 2/11/2026

All 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.

1
Arquivos analisados
125
Linhas analisadas
4
achados
1
Total de auditorias

Problemas de Alto Risco (2)

False Positive: Secret Access Warning
Static scanner flagged 'Never commit secrets (.env, credentials.json, private keys)' at line 83 as sensitive data access. This is a security best practice warning in documentation, not actual secret access.
False Positive: Weak Cryptographic Algorithm
Scanner misidentified commit type keywords (feat, fix, docs) and documentation text as weak crypto algorithms. No cryptographic code exists in this skill.
Problemas de Risco Médio (1)
False Positive: Git Command Documentation
Scanner flagged bash command examples (git diff, git add, git commit) as external command execution. These are hardcoded documentation examples for legitimate git operations.

Fatores de risco

Auditado por: claude

Pontuação de qualidade

38
Arquitetura
100
Manutenibilidade
85
Conteúdo
32
Comunidade
80
Segurança
91
Conformidade com especificações

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'
  • 在单个提交中提交多个不相关的更改
  • 跳过重要更改的提交消息审查步骤

Perguntas Frequentes

什么是 conventional commits?
Conventional commits 是一种以标准化格式编写提交信息的规范。它们包括类型、可选的范围、描述以及可选的正文和页脚。此格式支持自动变更日志生成和语义化版本控制。
此技能会推送到远程吗?
不,此技能仅创建本地提交。你需要单独运行 'git push' 将提交发送到远程仓库。
我可以编辑生成的消息吗?
是的,生成的消息只是一个建议。你可以在确认提交执行之前修改任何部分。
支持哪些提交类型?
该技能支持所有 conventional commit 类型:feat, fix, docs, style, refactor, perf, test, build, ci, chore 和 revert。
该技能如何处理多文件更改?
该技能分析所有已暂存的更改并生成一个总结主要类型和范围的消息。对于复杂更改,你可以使用交互式暂存来逻辑地分组文件。
这适用于所有 git 主机吗?
是的,conventional commits 是跨平台的。生成的消息可与 GitHub、GitLab、Bitbucket 和任何 git 托管服务配合使用。

Detalhes do Desenvolvedor

Estrutura de arquivos

📄 SKILL.md