Agent skill

Git Commit Formatter

by einverne in einverne/dotfiles

生成符合 Conventional Commits 规范的 Git 提交信息。当用户要求生成提交、创建 commit 或写提交信息时使用

GPL-3.0Auto-check passedDevelopment

Install Git Commit Formatter

skills CLI
$ npx skills add einverne/dotfiles --skill git-commit-formatter -a claude-code

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

GitHub CLI
$ gh skill install einverne/dotfiles git-commit-formatter --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/einverne/dotfiles.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/git-commit-formatter .claude/skills/git-commit-formatter && 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-formatter
GitHub stars
121
Token cost
~182 tokens
SKILL.md length
65 words
Files
1
Skills in repo
39
Repo updated
First seen
Licence
GPL-3.0

At a glance

生成符合 Conventional Commits 规范的 Git 提交信息。当用户要求生成提交、创建 commit 或写提交信息时使用

  • Works in 5 steps: 运行 git diff --cached 查看暂存的变更 → 分析文件变更,识别主要修改类型 → 确定影响范围(scope) → …
  • Tasks that involve Commit messages
  • SKILL.md covers 任务说明, 规范说明, 执行步骤 and 质量标准, plus 1 more section
  • Calls git

What it does

Git Commit Formatter is an agent skill from einverne/dotfiles. 生成符合 Conventional Commits 规范的 Git 提交信息。当用户要求生成提交、创建 commit 或写提交信息时使用

Its SKILL.md is about 180 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 and Linting and formatting. The repository describes itself as: my personal dotfiles managed by dotbot, zinit. The licence is GPL-3.0.

When your agent uses it

  • Tasks that involve Commit messages
  • Tasks that involve Linting and formatting

Example prompts

  • “/git-commit-formatter”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. 运行 git diff --cached 查看暂存的变更
  2. 分析文件变更,识别主要修改类型
  3. 确定影响范围(scope)
  4. 生成简洁的主题(subject),限制在 50 字符内
  5. 如有重大变更,添加 BREAKING CHANGE 说明

What it can do on your machine

Read from SKILL.md and the folder at commit c6c0686. 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

    Shell commands in SKILL.md call:

    • git

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

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    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 Formatter loads about 182 tokens when it runs. Until then it costs about 22 tokens; SKILL.md has 65 words of instructions outside code blocks.

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

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 einverne/dotfiles at commit c6c0686, republished under its GPL-3.0 licence (© einverne). 65 words, ~182 tokens.

Download SKILL.mdSave it as .claude/skills/git-commit-formatter/SKILL.md (or your agent's skills folder).
name
git-commit-formatter
description
生成符合 Conventional Commits 规范的 Git 提交信息。当用户要求生成提交、创建 commit 或写提交信息时使用

Git 提交信息格式化器

任务说明

分析暂存区的代码变更,生成符合 Conventional Commits 规范的提交信息。

规范说明

提交信息格式:<type>(<scope>): <subject>

类型定义:

  • feat: 新功能
  • fix: 修复缺陷
  • docs: 文档更新
  • style: 代码格式调整(不影响逻辑)
  • refactor: 重构代码
  • perf: 性能优化
  • test: 测试相关
  • build: 构建系统或依赖更新
  • ci: CI 配置更新
  • chore: 其他不修改源代码的更改

执行步骤

  1. 运行 git diff --cached 查看暂存的变更
  2. 分析文件变更,识别主要修改类型
  3. 确定影响范围(scope)
  4. 生成简洁的主题(subject),限制在 50 字符内
  5. 如有重大变更,添加 BREAKING CHANGE 说明

质量标准

必须遵守:

  • subject 使用动词开头,现在时态
  • subject 不以句号结尾
  • scope 用括号包裹,可选但建议提供
  • 如有详细说明,body 每行不超过 72 字符

示例输出

feat(auth): 实现 JWT 令牌认证

- 添加 JWT 生成和验证逻辑
- 实现令牌刷新机制
- 添加相关单元测试

© einverne, GPL-3.0. 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 skills/git-commit-formatter of einverne/dotfiles.

Open the folder on GitHubat commit c6c0686

Compare with similar skills

Git Commit Formatter 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 Formatter compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Git Commit Formatter this skilleinverne/dotfiles121—~182Automated safety check: PassGPL-3.0
Saleor Commit Workflowsaleor/saleor23k—~575Automated safety check: PassBSD-3-Clause
Lint Commit PRTresjs/tres3.8k—~1.1kAutomated safety check: PassMIT
PR Pushicebear0828/codex-proxy1.8k—~2.2kAutomated safety check: NotesCustom licence
PR Pushicebear0828/codex-proxy1.8k—~2.3kAutomated safety check: NotesCustom licence
Create PRRLinf/RLinf5.5k—~2.2kAutomated safety check: PassApache-2.0

Similar skills

  • Commits changes in the Saleor codebase and works through pre-commit hook failures from ruff, mypy, the GraphQL schema check and the migrations check.

    23k GitHub stars~575 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • 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
  • PR Push

    icebear0828/codex-proxy

    Package the current working changes into a standards-compliant codex-proxy pull request: branch hygiene, commit message linting, CHANGELOG prompt, conventional commit, push, and gh pr create against…

    1.8k GitHub stars~2.2k tokensUpdated today
    DevelopmentAuto-check: notes
  • PR Push

    icebear0828/codex-proxy

    Package the current working changes into a standards-compliant codex-proxy pull request: branch hygiene, commit message linting, CHANGELOG prompt, conventional commit, push, and gh pr create against…

    1.8k GitHub stars~2.3k tokensUpdated today
    DevelopmentAuto-check: notes
  • Create PR

    RLinf/RLinf

    Open a GitHub pull request for RLinf, or fix an existing one — checks the PR title against Conventional Commits, writes a precise description that follows .github/PULLREQUESTTEMPLATE.md, and lints…

    5.5k GitHub stars~2.2k tokensUpdated today
    DevelopmentAuto-check passed
  • SWIG source and contribution conventions: clang-format / code formatting, C/C++ comment style (quotes, widths, function header blocks), parser.y new-code rules, alphabetical ordering of makefile…

    6.3k GitHub stars~2.7k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from einverne/dotfiles

All 39 skills in this repo
  • Chrome Devtools

    einverne/dotfiles

    Browser automation, debugging, and performance analysis using Puppeteer CLI scripts.

    121 GitHub starsUsed in 2 repos~1.6k tokens
    Auto-check: notes
  • DOCX

    einverne/dotfiles

    Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction.

    121 GitHub starsUsed in 35 repos~2.5k tokens
    Auto-check: notes
  • PDF

    einverne/dotfiles

    Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms.

    121 GitHub starsUsed in 47 repos~1.8k tokens
    Auto-check passed
  • Gemini Audio

    einverne/dotfiles

    Guide for implementing Google Gemini API audio capabilities - analyze audio with transcription, summarization, and understanding (up to 9.5 hours), plus generate speech with controllable TTS.

    121 GitHub starsUsed in 1 repo~2k tokens
    Auto-check: notes
  • Gemini Image Gen

    einverne/dotfiles

    Guide for implementing Google Gemini API image generation - create high-quality images from text prompts using gemini-2.5-flash-image model.

    121 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check: notes
  • Gemini Vision

    einverne/dotfiles

    Guide for implementing Google Gemini API image understanding - analyze images with captioning, classification, visual QA, object detection, segmentation, and multi-image comparison.

    121 GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check: notes

Categories

Questions about Git Commit Formatter

What does Git Commit Formatter do?

生成符合 Conventional Commits 规范的 Git 提交信息。当用户要求生成提交、创建 commit 或写提交信息时使用. Git Commit Formatter is an agent skill from einverne/dotfiles.

When should I use Git Commit Formatter?

Git Commit Formatter fits situations like: tasks that involve Commit messages; tasks that involve Linting and formatting.

How do I install Git Commit Formatter in Claude Code?

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

How do I install Git Commit Formatter in Codex?

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

Can I use Git Commit Formatter 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 einverne/dotfiles --skill git-commit-formatter -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-formatter, .gemini/skills/git-commit-formatter, .github/skills/git-commit-formatter and .opencode/skills/git-commit-formatter in your project.

What does Git Commit Formatter need to run?

Going by SKILL.md and its folder, Git Commit Formatter needs the command-line tools its instructions call (git).

Does Git Commit Formatter access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Git Commit Formatter 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 Formatter use?

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

How many tokens does Git Commit Formatter use?

About 182 tokens (SKILL.md is roughly 728 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 Formatter?

Skills that share tags, products or a category with Git Commit Formatter: Saleor Commit Workflow (saleor/saleor, 23k stars), Lint Commit PR (Tresjs/tres, 3.8k stars), PR Push (icebear0828/codex-proxy, 1.8k stars) and PR Push (icebear0828/codex-proxy, 1.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Git Commit Formatter?

einverne (a GitHub user) maintains it in einverne/dotfiles, which has 121 GitHub stars. The repository holds 39 skills in this directory. The repository was last updated on September 9, 2026.

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