Agent skill

Git Commit

by pddzl in pddzl/td27-admin

Generate clear and conventional commit messages from git diffs

MITAuto-check passedDevelopment

Install Git Commit

skills CLI
$ npx skills add pddzl/td27-admin --skill git-commit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install pddzl/td27-admin git-commit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/pddzl/td27-admin.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.opencode/skills/git-commit .claude/skills/git-commit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
git-commit
GitHub stars
112
Token cost
~147 tokens
SKILL.md length
56 words
Files
1
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Generate clear and conventional commit messages from git diffs

  • Tasks that involve Commit messages
  • SKILL.md covers Instructions, Usage and Output
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Git Commit is an agent skill from pddzl/td27-admin. Generate clear and conventional commit messages from git diffs

Its SKILL.md is about 150 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Commit messages. It works with Git, Vue.js, Vite and Go. The repository describes itself as: 基于Goalng、Gin、Casbin & Vue3、TypeScript、Element Plus、Pinia 的前后端分离的动态路由权限管理系统. The licence is MIT.

When your agent uses it

  • Tasks that involve Commit messages

Example prompts

  • “/git-commit”

What it can do on your machine

Read from SKILL.md and the folder at commit 982e971. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Git Commit loads about 147 tokens when it runs. Until then it costs about 18 tokens; SKILL.md has 56 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~18
When it runs · the whole SKILL.md, loaded when a task matches
~147

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from pddzl/td27-admin at commit 982e971, republished under its MIT licence (© pddzl). 56 words, ~147 tokens.

Download SKILL.mdSave it as .claude/skills/git-commit/SKILL.md (or your agent's skills folder).
name
git-commit
description
Generate clear and conventional commit messages from git diffs

Instructions

  • Analyze git diff
  • Group related changes
  • Generate commit message using Conventional Commits:
    • feat 增加新功能
    • fix 修复问题/BUG
    • style 代码风格相关无影响运行结果的
    • perf 优化/性能提升
    • refactor 重构
    • revert 撤销修改
    • test 测试相关
    • docs 文档/注释
    • chore 依赖更新/脚手架配置修改等
    • workflow 工作流改进
    • ci 持续集成
    • types 类型定义文件更改
    • wip 开发中
  • Keep message concise but meaningful

Usage

Generate a commit message for this diff: <diff>

Output

  • Commit message

© pddzl, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .opencode/skills/git-commit of pddzl/td27-admin.

Open the folder on GitHubat commit 982e971

Compare with similar skills

Git Commit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Git Commit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Git Commit this skillpddzl/td27-admin112—~147Automated safety check: PassMIT
Lint Commit PRTresjs/tres3.8k—~1.1kAutomated safety check: PassMIT
Commit Msgyaklang/yakit7.8k—~559Automated safety check: PassAGPL-3.0
Markbind Typescript MigrationMarkBind/markbind158—~2kAutomated safety check: PassMIT
Guarded Git Commit and Pushjerrywu001/cc-sessions-viewer394—~603Automated safety check: NotesMIT
Branch SyncChenyCHENYU/Robot_Admin1k—~883Automated safety check: PassMIT

Similar skills

  • Lint Commit PR

    Tresjs/tres

    Lint local changes, auto-fix, conventional commit, and optionally create PR

    3.8k GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Commit Msg

    yaklang/yakit

    为 Yakit 仓库完成一次本地提交:确定提交范围(暂存区优先,空则弹框确认)、基于 diff 归纳一行符合仓库风格的 message、commit 前弹窗确认、执行 git commit(不推送)。只要 message 时仅输出文本。用户说「提交」「commit 代码」或输入 /commit-msg,或被 create-pr 等 skill 调用时使用。

    7.8k GitHub stars~559 tokensUpdated 7 days ago
    DevelopmentAuto-check passed
  • Complete guide for migrating JavaScript files to TypeScript in the MarkBind project, including the two-commit strategy, import/export syntax conversion, and best practices.

    158 GitHub stars~2k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Guarded Git Commit and Push

    jerrywu001/cc-sessions-viewer

    Commits and pushes only on an explicit request, pulling first, running the project's CI checks locally, and stopping cold on any conflict or failure.

    394 GitHub stars~603 tokensUpdated today
    DevelopmentAuto-check: notes
  • Branch Sync

    ChenyCHENYU/Robot_Admin

    A skill your agent uses when: upgrading dependencies, adding common features, or when the user explicitly requests branch sync check.

    1k GitHub stars~883 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Release Notes

    Aivis-Project/AivisSpeech

    AivisSpeech の新バージョンリリース時に updateInfos のリリースノートドラフトを作成・更新するスキル。「リリースノート」「updateInfos」「アップデート情報」「リリース準備」などのキーワードが出たら使う。updateInfos.draft.json の作成・更新、エンジン側リリースノートとの統合、漏れチェックまでを包括的にサポートする。

    483 GitHub stars~745 tokensUpdated 2 mo ago
    DevelopmentAuto-check passed

Categories

Questions about Git Commit

What does Git Commit do?

Generate clear and conventional commit messages from git diffs. Git Commit is an agent skill from pddzl/td27-admin.

When should I use Git Commit?

Git Commit fits situations like: tasks that involve Commit messages.

How do I install Git Commit in Claude Code?

Run `npx skills add pddzl/td27-admin --skill git-commit -a claude-code`. Or copy the skill folder (.opencode/skills/git-commit in pddzl/td27-admin) into .claude/skills/git-commit in your project. Claude Code loads it when a task matches its description.

How do I install Git Commit in Codex?

Run `npx skills add pddzl/td27-admin --skill git-commit -a codex`. Or copy the skill folder (.opencode/skills/git-commit in pddzl/td27-admin) into .agents/skills/git-commit in your project. Codex loads it when a task matches its description.

Can I use Git Commit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pddzl/td27-admin --skill git-commit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/git-commit, .gemini/skills/git-commit, .github/skills/git-commit and .opencode/skills/git-commit in your project.

What does Git Commit need to run?

SKILL.md names no scripts, command-line tools or credentials: Git Commit is instructions for the agent only.

Does Git Commit access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Git Commit safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Git Commit use?

Git Commit is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Git Commit use?

About 147 tokens (SKILL.md is roughly 588 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Git Commit?

Skills that share tags, products or a category with Git Commit: Lint Commit PR (Tresjs/tres, 3.8k stars), Commit Msg (yaklang/yakit, 7.8k stars), Markbind Typescript Migration (MarkBind/markbind, 158 stars) and Guarded Git Commit and Push (jerrywu001/cc-sessions-viewer, 394 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Git Commit?

pddzl (a GitHub user) maintains it in pddzl/td27-admin, which has 112 GitHub stars. The repository was last updated on September 30, 2026.

Source: pddzl/td27-admin on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.