commit-style

commit-style is a skill for Claude Code from ncaq/konoka. It costs 28 tokens per session (1,511 once invoked), scanned A, original, Apache-2.0.

A style guide for writing Git commit messages in Japanese. It covers the title, body, tone, line length, punctuation, and checks against existing project conventions.

In plain words
What is it for?
Use it when writing or proposing a Git commit message, including commits made outside a dedicated commit tool. Git records code changes and their descriptions.
Why use it?
It reduces commit-message formatting errors and keeps new messages consistent with the repository's established style.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the commit plugin — 2 skills shipped together

Good fit Use it when writing or proposing a Git commit message, including commits made outside a dedicated commit tool. Git records code changes and their descriptions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ncaq/konoka/commit-style
View source ↗ ncaq/konoka
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.

Any agent
npx skills add ncaq/konoka --skill commit-style
Clone the repo
git clone --depth 1 https://github.com/ncaq/konoka

Made for: Claude Code.

Or install commit, the plugin that ships this one along with the rest of its 2 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for commit-style

README.md
[![agentmods](https://agentmods.dev/badge/skills/ncaq/konoka/commit-style/github.svg)](https://agentmods.dev/skills/ncaq/konoka/commit-style)
Your own site
<a href="https://agentmods.dev/skills/ncaq/konoka/commit-style"><img src="https://agentmods.dev/badge/skills/ncaq/konoka/commit-style/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for commit-style

Your own site · 80×15
<a href="https://agentmods.dev/skills/ncaq/konoka/commit-style"><img src="https://agentmods.dev/badge/skills/ncaq/konoka/commit-style.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,511 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00028 $0.01511
Opus 5.5 $0.00011 $0.00604
Sonnet 5.5 $0.00006 $0.00302
Haiku 4.5 $0.00003 $0.00151

Measured 1mo ago against content hash f3546fcba559, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

commit-style 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 1mo ago.

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.

plugins/commit/skills/commit-style/SKILL.md · 156 lines

How it starts

The opening of the file, as written. The whole thing — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.

コミットメッセージを書く際のスタイルガイドラインです。 /commitスキル経由でないコミットでも、 このガイドラインに従ってください。

既存コミットスタイル

!git log --no-merges -20

上記のgit log --no-merges -20の内容から、 既存のコミットメッセージのスタイルを把握してください。

コミットメッセージのガイドライン

!read-commit-instructions

上記の内容が空でなければプロジェクト固有のコミットメッセージガイドラインです。 内容に従ってください。

コミットメッセージのスタイル

プロジェクト固有のガイドラインと衝突するスタイルがある場合はそちらを優先してください。 以下はデフォルトのスタイルとして使用してください。

環境によってはcommit-msgフックのcommitlintで、 このスタイルの一部が機械的に検査されます。 検査に引っかかると修正のやり直しで時間を浪費するので、 最初からスタイルに従った文章を書いてください。 以降の「エラーになります」という記述は、 この検査が有効な環境での話です。 検査規則の出所は、 ncaq/git-hooksのcommitlint設定です。 規則の詳細や最新の内容はそちらを参照してください。

文体

丁寧語とですます調で書いてください。

英単語と日本語が混在する場合は、 英単語の前後にスペースを入れないでください。 中国語の風習では普通スペースを入れますが、 日本語ではスペースを入れないのも一般的で、 私は基本的にスペースなしのスタイルを採用しています。

タイトルと本文の構成

1行目はタイトルなので簡潔に変更の要約をしてください。 タイトルは68文字以内に収めることが推奨されます。 72文字を超えるとエラーになります。

タイトルの末尾は文字・数字・バッククォートのいずれかで終わらせてください。 句読点や括弧などの記号で終わるとエラーになります。

必要に応じて本文を追加してください。 その場合タイトルとの間に必ず空行を入れてください。

行長と改行

本文の行長は100文字以内に収めてください。 URLなど改行できないものを挿入する場合は例外です。

本文の段落では改行位置が機械的に検査されます。 以下の規則に従ってください。

  • 句読点(、・半角カンマ,・。・半角ピリオド.)を書いたらその直後で改行する。行の途中に句読点を残さない
  • 改行する行は句読点かバッククォートで終わらせる。文節の途中で改行しない

つまり一文一行が基本で、 長い文は読点の直後で折り返す形になります。

以下は例外として許容されます。

  • 行頭から6文字目までにある読点(また、やしかし、のような短い接続詞の直後)では改行しなくて良い
  • Node.jsや1.2.3のような英数字に挟まれた半角ピリオドは句点として扱われない
  • URL・Markdownリンク・インラインコードの中身は検査対象外。 素のURLもリンクとして扱われるため、 closeやrefのフッタ行のようにURLで終わる行は違反にならない
  • リスト項目・コードブロック・見出し・引用・テーブルの行は検査対象外

規則に従っても改行位置が不自然になる場合は、 改行で誤魔化さずに文章自体を練りなおしてください。 日本語は英語と違い好きに改行して良い言語ではないので、 改行位置には十分注意してください。

コードシンボル

コードのシンボル(関数名や変数名など)をメッセージに含める場合は、 Markdownのインラインコード記法であるバッククォートで囲んでください。

列挙

本文で要素の列挙が3つ以上になる場合は、 文章に詰め込まずMarkdownのリスト形式で書いてください。

例えば、

`foo`と`bar`と`baz`の設定を追加します。

ではなく、

以下の設定を追加します。

- `foo`
- `bar`
- `baz`

のように書いてください。

列挙する要素が2つ以下の場合は、 文章のままで構いません。

順序に意味がない場合は番号付きリストを使わないでください。

issueやPRの参照

GitHubのissueやpull requestを参照する場合は、 #123やowner/repo#123のような短縮記法は使わず、 完全なURLを使ってください。

同じリポジトリのissueやPRであっても完全なURLを使ってください。

Read the full file on GitHub · 156 lines

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. 1mo ago First seen · 156 lines · 28 tokens per session scan A f3546fcba559

Subscribe to this mod's changes

commit-style is a skill published in the GitHub repository ncaq/konoka (3 stars, last pushed today), licensed Apache-2.0. It adds 28 tokens to every session and 1,511 once invoked, about $0.0001 per session on Opus 5.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-31.

Related

Other skills, from other repositories

claude-code-bash-patterns

Claude Code Bash tool patterns with hooks, automation, git workflows. Use for PreToolUse hooks, command chaining, CLI orchestration, custom commands, or encountering bash permissions, command failures, security guards, hook configurations.

secondsky/claude-skills · 52 tokens

git-commit

Turn the working changes into one or more atomic commits with well-written messages. Use whenever the user runs /git-commit or asks to commit their work, wrap up a feature, or "commit what I have.".

thoughtbot/rails-consultant · 47 tokens

review

Review a change with what this repository knows about it — who depends on the file, which tests cover it, what broke here before, and what the repo has written down. Use before approving a diff, opening a PR, or when asked to review.

ArcticFox2029/chamnan · 51 tokens

pre-commit

Fast pre-commit quality gate: scans staged files for secrets, dead code, naming issues, merge conflict markers, and direct-to-main commits. Installs as a git hook via /pre-commit install.

RealDougEubanks/ClaudeMarketplace · 46 tokens

batch-member-cites-a-path-only-a-non-member-adds

You wrote something correct that the default reader cannot reach: a batch member citing a path only a NON-member adds, or a rule, ruling or ledger sitting on an unlanded branch.

wan-huiyan/agent-traffic-control · 53 tokens

subagent-driven-branch-ref-froze-stranded-commits

Diagnose and recover from "PR merged, but half my work is missing from main" cases in superpowers:subagent-driven-development (or similar one-fresh-subagent-per-task) sessions, where committed work survives in the worktree's HEAD chain but never makes it into the pushed branch ref. Use when ANY of these appears: (1)…

wan-huiyan/agent-traffic-control · 545 tokens