Back to Skills

git-commit

Creates git commits following Conventional Commits format with type/scope/subject. Use when user wants to commit changes, create commit, save work, or stage and commit. Handles regular branch commits (development) and merge commits (PR closure). Enforces project-specific conventions from CLAUDE.md.

13stars1forksUpdated 1/15/2026

Security Assessment

Safe(90/100)

Detected risks:

Sensitive File Access([SKILL.md] .env)
Security Score90/100

About git-commit

The git-commit skill facilitates the creation of git commits that adhere to the Conventional Commits format, which includes specifying a type, scope, and subject. This skill is essential for users who wish to commit changes, create a commit, save their work, or stage and commit changes effectively. By enforcing project-specific conventions outlined in CLAUDE.md, it ensures that all commits are structured and meaningful, enhancing the overall quality of the project documentation and version history.

FAQ

How do I check for project-specific commit conventions?

You can check for project-specific conventions by running 'cat .claude/CLAUDE.md 2>/dev/null | grep -A 20 -i "commit"'.

What types of commits can I create with this skill?

You can create regular branch commits and merge commits, following the specified formats.

Are there any files I should avoid committing?

Yes, avoid committing sensitive files like '.env', 'credentials.json', directories like 'node_modules/', and large binary files without approval.

Can I include a detailed description in my commits?

Yes, for complex changes, you can include a detailed description following the body format guidelines.

What are Git trailers and how do I use them?

Git trailers are additional lines in the commit message that provide extra information, such as linking issues or crediting co-authors.

Install git-commit

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill