← スキル一覧に戻る
name: commit-message-style
description: "Write commit messages in the preferred generic style:

commit-message-style
by greenhat
⭐ 0🍴 0📅 2026年1月19日
SKILL.md
name: commit-message-style
description: "Write commit messages in the preferred generic style: type: imperative summary with backticks around code identifiers and no scope. Use when you are about to git commit, splitting work into multiple commits, or when the user asks you to commit code."
Commit Message Style
Format
- Use:
type: <imperative summary> - Use lowercase
type, no scope:fix: ..., notfix(sdk): ... - Prefer short, direct, present tense; no trailing period; keep to ~72 chars when possible
- Wrap code identifiers in backticks (types, fns, flags, files, crates): ``fix: gate
Feltbehind `cfg(miden)``` - Append an issue reference at the end only when relevant:
... #629 - For non-trivial changes, add a commit body (blank line after subject) explaining:
- Why the change is necessary (problem/constraint), and
- What changed at a high level (only if complex enough to benefit from an overview).
- Keep the body short (typically 1–8 lines), wrap at ~72 chars, and avoid implementation details.
Types
fix:bugfix or behavior correctionrefactor:behavior-preserving changes (rename, extract, restructure)feature:user-visible functionality / new capabilitytest:tests, fixtures, golden/expected outputschore:docs/comments, cleanup, build/CI nits, dependency housekeeping
Verbs (prefer)
add,remove,fix,refactor,extract,rename,unify,gate,document,update,simplify
Workflow
- If asked to address multiple review remarks: make one commit per remark (smallest coherent change per commit).
- Choose the
typeby intent (behavior change vs structure vs tests vs docs). - Prefer stable naming (don’t churn identifiers) unless the change is explicitly a rename/refactor.
- When the subject/body contain backticks, avoid shell command-substitution by passing the message via stdin, e.g.
git commit -F -with a quoted heredoc.
Examples (match style)
refactor: extract \account_id_inputs` helper`feature: gate on-chain \Felt` behind `cfg(miden)``fix: serialize u64 as two u32 limbschore: refine doc commentstest: update integration expected outputs
スコア
総合スコア
35/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
○言語
プログラミング言語が設定されている
0/5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です