360 Secure SkillHub
360 安全技能中心

codely-git-conventional-commit

读取当前 Git 变更上下文(状态、差异、未跟踪文件、分支、近期提交),依据附带资源中的提交信息规范生成提交信息,创建单次 Git 提交,并按给定格式追加 Co-Authored-By 协作者尾注。需在已初始化的 Git 仓库中运行。

CodelyTV
热度 0.00
最近更新 2026-10-18 16:50:51
分类:开发依赖:代码执行应用场景:DevOps

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add codelytv/agent-harness/codely-git-conventional-commit
Metadata
name
codely-git-conventional-commit
description
Create a git commit following the team's Conventional Commit conventions. Use when the user asks to commit changes or create a commit.
disable-model-invocation
false
user-invocable
true
metadata
{"author":"Codely <support@codely.com> (https://codely.com)","version":"1.0","license":"MIT"}

Context

If the user does not specify the commit message, gather context about the current Git changes to determine it: git status, git diff HEAD, the untracked files, the current branch and the recent commits.

Your task

Create a single Git commit. Follow the conventions in resources/commit-messages.md to determine the commit message if it has not been already specified.

Co-authors

Always add a co-author trailer to the commit message with the following format:

Co-Authored-By: {tool} - {model.name} {model.version} ({model.reasoning_effort}) <{tooling_email}>
  • tool: The AI coding tool used (e.g. Claude Code, Cursor, Copilot, Codex)
  • model.name: The name of the model used to make the change (e.g. Claude Opus, Cursor Composer, OpenAI GPT)
  • model.version: The version of the model used to make the change (e.g. 4.6, 1.5, 5.4)
  • model.reasoning_effort: The reasoning effort of the model used to make the change (e.g. low, medium, high)
  • tooling_email:
    • Claude Code: noreply@anthropic.com
    • Cursor: cursoragent@cursor.com
    • Copilot: copilot@github.com
    • Codex: codex@openai.com