← Back to list

commit-messages
by khaneliman
Nix configuration for my systems supporting macOS, NixOS, and WSL.
⭐ 303🍴 14📅 Jan 23, 2026
SKILL.md
name: commit-messages description: Generate conventional commit messages based on staged changes. Use when writing commit messages, understanding conventional commit format, or ensuring consistent commit history.
Commit Message Guide
Generates conventional commit messages that are clear, consistent, and informative.
Core Principles
- Follow Project Style - Mimic existing
git logpatterns above all else. - Imperative mood - "add feature" not "added feature"
- Explain why - Body explains motivation, not just what changed
- Concise subject - 72 characters or less, no period
- Scope when helpful - Include scope when it clarifies the change
Commit Formats
1. Conventional Commits (Standard)
The most common standard, widely used across the industry.
<type>(<scope>): <subject>
Example: feat(auth): add login page
2. Path-Based / Scoped (Alternative)
Common in monorepos or systems like Nixpkgs.
<path/to/component>: <subject>
Example: programs/waybar: update config
Detailed Reference Material
- reference.md - Commit Types table, Scope determination, Breaking Changes, and Alternative Conventions.
- examples.md - Good and bad examples for various scenarios.
Analyzing Changes for Commit Type
-
Look at files changed
- New files = likely
feat - Test files only =
test - Config/build files =
buildorci - README/docs =
docs
- New files = likely
-
Examine the diff
- Bug fix patterns =
fix - New exports/functions =
feat - Restructuring =
refactor - Optimizations =
perf
- Bug fix patterns =
-
Check
git log- Verify if the repo uses
type(scope):orpath/to/file:style.
- Verify if the repo uses
See Also
- Code review: See code-review for reviewing commits
- Git workflows: See git-workflows for branching strategies
Score
Total Score
65/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
✓人気
GitHub Stars 100以上
+5
✓最近の活動
1ヶ月以内に更新
+10
✓フォーク
10回以上フォークされている
+5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon
