Skip to content
Back to skills

Git Commit

ASecurity

根据当前变更生成 Conventional Commits 提交信息,并按用户要求提交或推送。

  • 2 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added September 6, 2026
ai-agentsgit

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add dootask/skills --skill git-commit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Git Commit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Git Commit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dootask-git-commit/badge)](https://www.skillsdirectory.com/skills/dootask-git-commit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.md1.1 KB
  • agents/openai.yaml297 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.