Back to list
jbuckmccready

git-commit

by jbuckmccready

2🍴 1📅 Jan 24, 2026

SKILL.md


name: git-commit description: MUST use when committing changes to a git repository, contains guidelines for creating git commit messages

Git Commit Guidelines

IMPORTANT: you must follow the commit message format and guidelines.

Commit Message Format

Use conventional commit format: type(scope): subject

Common types: feat, fix, refactor, perf, docs, test, chore, style

Guidelines:

  • Keep subject line under 72 characters
  • For simple changes, the subject line may be sufficient
  • Add a body when changes involve multiple files or need explanation
  • Limit body to 3-5 bullet points for most commits
  • IMPORTANT: avoid extra newlines/bank lines between bullet points

When to Include WHY (Not Just WHAT)

Include reasoning only when:

  • Security implications exist
  • Performance trade-offs were made
  • The change fixes a non-obvious bug
  • Breaking changes or migration steps are needed
  • The approach chosen could be confusing without context

Otherwise, focus on describing WHAT changed concisely.

Examples

✅ Good Commit Messages

Example 1: Feature addition

feat(auth): add OAuth2 authentication support

- Implement OAuth2 provider integration
- Add token refresh mechanism
- Create middleware for protected routes

Example 2: Bug fix

fix(api): prevent null pointer in user lookup

Handle case where user ID doesn't exist in database

Example 3: Refactor

refactor(payments): extract Stripe logic into service layer

- Move API calls to PaymentService
- Simplify controller methods
- Add error handling helpers

Example 4: Performance improvement

perf(search): add caching layer for search queries

Reduces average query time from 200ms to 15ms

Score

Total Score

50/100

Based on repository quality metrics

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
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon