スキル commit-message
📝

commit-message

安全 🌐 ネットワークアクセス⚙️ 外部コマンド

実績のある規約でコミットメッセージをフォーマット

不適切にフォーマットされたコミットメッセージは、履歴の可読性や自動化を困難にします。このスキルは、要約行にConventional Commits、本文にLinuxカーネルスタイルを適用し、明確で検索可能なコミット履歴を作成します。

対応: Claude Codex Code(CC)
📊 69 十分
1

スキルZIPをダウンロード

2

Claudeでアップロード

設定 → 機能 → スキル → スキルをアップロードへ移動

3

オンにして利用開始

テストする

「commit-message」を使用しています。 Create a commit message for fixing the memory leak in the image processing module

期待される結果:

  • fix(images): resolve memory leak in buffer deallocation
  •  
  • The image processing module held references to processed buffers
  • preventing garbage collection. Moving to explicit cleanup after
  • rendering reduces memory usage by 40% for batch operations.
  •  
  • Users processing large batches of images will see reduced memory
  • pressure and fewer out-of-memory errors.

「commit-message」を使用しています。 Write a commit for adding OAuth2 authentication to the mobile app

期待される結果:

  • feat(auth): add OAuth2 PKCE flow support
  •  
  • Mobile and SPA clients cannot securely store client secrets. PKCE
  • allows these clients to authenticate safely without exposing
  • credentials in client-side code.
  •  
  • This reduces authentication failures for mobile users by eliminating
  • the insecure implicit flow workaround.

セキュリティ監査

安全
v5 • 1/16/2026

This is a prompt-based documentation skill containing only markdown formatting guidelines for commit message conventions. No executable code, no file system access, no network calls, and no command execution capabilities. All 42 static findings are false positives caused by the scanner misinterpreting documentation content (Markdown code fences as shell backticks, commit SHA references as cryptographic algorithms, and branch names as C2 indicators).

2
スキャンされたファイル
260
解析された行数
2
検出結果
5
総監査数
監査者: claude 監査履歴を表示 →

品質スコア

38
アーキテクチャ
100
保守性
85
コンテンツ
22
コミュニティ
100
セキュリティ
91
仕様準拠

作れるもの

クリーンなgit履歴を維持

自動化された変更ログツールやセマンティックバージョニングで機能する、適切にフォーマットされたコミットを生成

コミットメッセージをレビュー

マージ前に提案されたコミットが確立された規約に従っているか確認

プロジェクト標準に合わせる

Linuxカーネルや類似プロジェクトのコントリビューションガイドラインに合致したコミットを作成

これらのプロンプトを試す

シンプルなコミット
Create a Conventional Commits message for fixing the null pointer exception in user authentication
本文付き機能追加
Write a commit message for adding dark mode support to the settings page. Include the reason why this improves user experience
破壊的変更
Create a breaking change commit for removing the deprecated /v1/users endpoint from the API
リファクタリング作業
Write a refactor commit message for extracting database connection logic into a separate service module

ベストプラクティス

  • git logでの可読性のために、要約行は50文字以内に保つ
  • 本文では何を変更したかではなく、なぜ変更したかを説明する(コードが何を変更したかを示す)
  • 要約と本文の両方で命令形を一貫して使用する

回避

  • コミットメッセージで過去形を使用する(Add featureではなくAdded feature)
  • コミット本文にSigned-off-byのようなトレーラーを残す
  • 本文で1行あたり72文字を超える

よくある質問

サポートされているConventional Commitsのタイプは何ですか?
feat、fix、docs、style、refactor、perf、test、build、ci、choreがあります。それぞれセマンティックバージョニングにおいて特定の目的を持っています。
要約行の厳密な文字数制限は何文字ですか?
厳密な上限は72文字です。git logの可読性を向上させるため、可能な限り要約は50文字以内に保ってください。
gitフックとどのように統合しますか?
このスキルはメッセージテキストのみを生成します。生成された出力をコミットエディタにコピーするか、git commit -mで生成されたメッセージを使用します。
このスキルでリポジトリデータは安全ですか?
はい。これはテキストを生成する純粋なプロンプトスキルです。リポジトリに対して読み取りや書き込みを行うことは決してありません。
本文にLinuxカーネルスタイルを使用すべき理由は何ですか?
Linuxカーネルスタイルは72カラムでテキストを折り返し、ターミナルのgit logでメッセージを読みやすくし、プレーンテキストビューアでコンテキストを保持します。
commitlintと比較してどうですか?
このスキルはメッセージの作成を支援します。commitlintは既存のメッセージを検証します。両方を組み合わせて使用してください:このスキルで作成し、commitlintで検証します。

開発者の詳細

作成者

Chemiseblanc

ライセンス

MIT

参照

main

ファイル構成

📄 SKILL.md