commit-message
実績のある規約でコミットメッセージをフォーマット
不適切にフォーマットされたコミットメッセージは、履歴の可読性や自動化を困難にします。このスキルは、要約行にConventional Commits、本文にLinuxカーネルスタイルを適用し、明確で検索可能なコミット履歴を作成します。
スキルZIPをダウンロード
Claudeでアップロード
設定 → 機能 → スキル → スキルをアップロードへ移動
オンにして利用開始
テストする
「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.
セキュリティ監査
安全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).
リスク要因
🌐 ネットワークアクセス (1)
⚙️ 外部コマンド (30)
品質スコア
作れるもの
クリーンな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文字を超える