Back to list
DennisToma

git-commit

by DennisToma

0🍴 0📅 Jan 13, 2026

SKILL.md


name: git-commit description: Create well-structured git commits with conventional commit messages. Use when user wants to commit changes or asks about commit best practices. allowed-tools: "Bash(git:*),Read" version: 1.0.0

Git Commit Helper

Create clean, well-structured commits following conventional commit format.

Instructions

Step 1: Check Status

Run git status to see all changes. Run git diff --stat to get a summary of modifications.

Step 2: Analyze Changes

For each changed file, determine:

  • What type of change is it?
  • What is the scope (feature area)?
  • Is this a breaking change?

Step 3: Determine Commit Type

TypeUse When
featNew feature
fixBug fix
docsDocumentation only
styleFormatting, no code change
refactorCode change, no new feature or fix
testAdding/updating tests
choreBuild, config, dependencies

Step 4: Write Commit Message

Format:

type(scope): subject

[optional body]

[optional footer]

Rules:

  • Subject: imperative mood, lowercase, no period, max 50 chars
  • Body: explain what and why, not how
  • Footer: breaking changes, issue references

Step 5: Stage and Commit

Stage relevant files (not everything blindly):

git add <specific-files>

Commit with the message:

git commit -m "type(scope): subject"

Examples

# Feature
git commit -m "feat(auth): add password reset flow"

# Bug fix
git commit -m "fix(api): handle null response from payment gateway"

# Breaking change
git commit -m "feat(api)!: change response format for user endpoint

BREAKING CHANGE: user endpoint now returns object instead of array"

Anti-patterns

  • git add . without reviewing changes
  • "fix stuff" or "updates" as commit messages
  • Mixing unrelated changes in one commit
  • Committing generated files or secrets

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