Back to skills
SKILL.md
Git Commit
ASecurity根据当前变更生成 Conventional Commits 提交信息,并按用户要求提交或推送。
- 2 stars
- 0 votes
- 0 copies
- 7 views
- Added September 6, 2026
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add dootask/skills --skill git-commit --agent claude-codeAre you the author of Git Commit?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/dootask-git-commit)---
name: git-commit
description: 根据当前变更生成 Conventional Commits 提交信息,并按用户要求提交或推送。
disable-model-invocation: true
---
# Git Commit
根据本次对话和当前工作区完成用户要求的 Git 提交任务。
1. 检查 Git 状态、已暂存与未暂存差异、当前分支和近期提交。
2. 根据实际变更生成一个符合 Conventional Commits、匹配仓库语言和风格的提交信息。
3. 仅调用技能时,暂存相关修改并创建提交,不推送;如果用户只要求提交信息,则只输出建议;只有用户明确要求时才推送。
4. 如果包含多个无关变更,先给出拆分建议并询问用户,不擅自创建多个提交。
遵守以下规则:
- 以工作区实际内容为准;没有变更时直接说明。
- 只暂存本次提交相关文件,不混入无关修改或疑似密钥、凭据。
- 不强制推送、不绕过 hooks、不改写历史、不丢弃修改,除非用户明确要求。
- 目标或范围不明确时先询问;命令失败时如实报告。
最后简洁说明使用的提交信息、执行结果和剩余修改。
Files in this skill
- SKILL.md
- agents/openai.yaml
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.