commit-message-generator

A guide for writing Git commit messages in the Conventional Commits format. Git commits are saved snapshots of code changes, and this format labels their purpose, such as a feature, fix, or documentation change.

In plain words
What is it for?
Use it to inspect git diff and git status, choose a commit type and optional scope, and write a correctly structured message with a title, explanation, and relevant footnotes.
Why use it?
It makes commit history easier to scan and helps tools identify the kind of change, including breaking changes and issue references.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/363045841/klinechartquant/commit
Any agent
npx skills add 363045841/KLineChartQuant --skill commit
Clone the repo
git clone --depth 1 https://github.com/363045841/KLineChartQuant

Made for: Claude Code, Codex.

Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 441 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00015 $0.00441
Opus 5 $0.00008 $0.00220
Sonnet 5 $0.00003 $0.00088
Haiku 4.5 $0.00002 $0.00044

Measured yesterday against content hash f108d4d25a7f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

commit-message-generator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.opencode/skills/commit/SKILL.md · 63 lines

What it actually says

提交信息生成器

流程

  1. 查看 git diffgit status,弄清改动范围、类型与原因
  2. 按改动性质选类型
  3. 写标题(type(scope): 描述)
  4. 复杂改动补正文
  5. 破坏性改动 / 关联 issue 补脚注

类型

类型 适用
feat 新功能
fix 修复 bug
docs 仅文档
style 格式、分号等,不影响逻辑
refactor 重构,非修 bug 非加功能
perf 性能优化
test 增改测试
build 构建系统或依赖
ci CI 配置
chore 其他不涉及 src/test 的改动
revert 回滚

scope 可选:模块/组件名,如 feat(auth):fix(api):

格式

<type>(<scope>)!: <描述>

<正文:为什么改、之前行为、之后行为>

<脚注:BREAKING CHANGE: / Closes #123>

要点

  • 标题用祈使语气("add" 而非 "added"),≤72 字符,结尾无句号
  • 正文解释 WHY 而非 WHAT(WHAT 在 diff 里)
  • 破坏性改动加 !feat(api)!:
  • 一次提交只做一件事
  • 提交前确认测试通过

示例

feat(auth): add password reset

feat(api)!: switch to JWT authentication

fix(api): handle null email in user validation

refactor(parser): extract validation to validator module
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 63 lines · 15 tokens per session scan A f108d4d25a7f

Subscribe to this mod's changes

commit-message-generator is a skill published in the GitHub repository 363045841/KLineChartQuant (21 stars, last pushed yesterday), licensed MIT. It adds 15 tokens to every session and 441 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

lightweight-charts

Use when working with TradingView's lightweight-charts — creating charts, adding series (Line/Area/Bar/Candlestick/Histogram), configuring time and price scales, streaming realtime or historical data, panes, markers, per-bar/per-point colors, tooltips, coordinate conversion, custom plugins or primitives, non-financial…

tradingview/lightweight-charts · 106 tokens

tinyvue-develop-spec

在当前仓库进行组件的开发,主题开发,国际化开发,测试脚本开发时,必须遵守以下规范。.

opentiny/tiny-vue · 12 tokens

agent-upkeep

Perform one small, scoped maintenance improvement to the Elements monorepo and open a single reviewable pull request. Use this skill for scheduled or unattended upkeep runs that improve unit test coverage for one file, fix one behavioral bug in one module, or move one off ESLint rule toward enforcement to reduce…

NVIDIA/elements · 115 tokens

agent-dependencies

Perform one conservative dependency or toolchain upgrade in the Elements monorepo and open a validated pull request. Use for nightly or unattended dependency maintenance, outdated package checks, first-party actions/ GitHub Actions updates, and pinned mise tool updates. Use the github-dependabot skill instead when the…

NVIDIA/elements · 73 tokens

agent-debug-ci

Investigate failed scheduled or nightly GitHub Actions runs on the default branch, determine whether the failure is reproducible and repository-owned, implement the smallest evidence-backed fix, validate it, and open a pull request. Use when a failed nightly CI event starts an agent, or when the standard CI or…

NVIDIA/elements · 80 tokens

audit-ci

Run and analyze Elements cold CI performance profiles and propose evidence-backed build, test, lint, and dependency-graph improvements. Use whenever asked to profile or benchmark pnpm run ci, rerun ci:profile, create a CI performance audit, compare CI timings, find bottlenecks or the completion path, investigate a CI…

NVIDIA/elements · 78 tokens