根据当前变更生成 Conventional Commits 提交信息,并按用户要求提交或推送。
Scanned 9/6/2026
Install to Claude Code
npx -y skills add dootask/skills --skill git-commit --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Git Commit?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/dootask-git-commit)More formats (shields.io, HTML) on the badges page.
---
name: git-commit
description: 根据当前变更生成 Conventional Commits 提交信息,并按用户要求提交或推送。
disable-model-invocation: true
---
# Git Commit
根据本次对话和当前工作区完成用户要求的 Git 提交任务。
1. 检查 Git 状态、已暂存与未暂存差异、当前分支和近期提交。
2. 根据实际变更生成一个符合 Conventional Commits、匹配仓库语言和风格的提交信息。
3. 仅调用技能时,暂存相关修改并创建提交,不推送;如果用户只要求提交信息,则只输出建议;只有用户明确要求时才推送。
4. 如果包含多个无关变更,先给出拆分建议并询问用户,不擅自创建多个提交。
遵守以下规则:
- 以工作区实际内容为准;没有变更时直接说明。
- 只暂存本次提交相关文件,不混入无关修改或疑似密钥、凭据。
- 不强制推送、不绕过 hooks、不改写历史、不丢弃修改,除非用户明确要求。
- 目标或范围不明确时先询问;命令失败时如实报告。
最后简洁说明使用的提交信息、执行结果和剩余修改。
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!