git-commit-helper
Generate conventional commit messages automatically. Use when user runs git commit, stages changes, or asks for commit message help. Analyzes git diff to create clear, descriptive conventional commit messages. Triggers on git commit, staged changes, commit message requests.
Security Assessment
About git-commit-helper
The git-commit-helper skill automatically generates conventional commit messages based on git diff outputs, streamlining the commit message process. It provides clear and consistent commit messages that adhere to conventional commit formats. By analyzing staged changes and the context of the modifications, the skill helps developers produce informative and standardized commit messages without manual effort. This minimizes errors and ensures compliance with common development workflows.
Main features of the git-commit-helper skill include automatic generation of commit messages based on changes in the git staging area, categorizing changes by type (e.g., feat, fix, docs) and scope (e.g., component, module), and suggesting clear and concise commit subjects and bodies. The skill analyzes both the content and impact of the changes, considering breaking changes, fixes, and new features. It supports a wide range of commit message types, from bug fixes and new features to documentation updates and maintenance tasks, making it highly versatile for various types of development work.
Use cases for git-commit-helper are ideal for developers and teams who want to ensure consistency in commit messages and adopt the conventional commit style. It is particularly useful for open-source projects, teams practicing CI/CD, or any developer who wants to automate the creation of clean, descriptive commit messages to improve the readability and history of their git logs.
FAQ
How do I trigger this skill?
The git-commit-helper skill is triggered when you run `git commit` without a message, when you ask for commit message suggestions, or when staged changes are detected. It also activates when you mention commits or conventional commit formats.
Can this skill handle breaking changes in commits?
Yes, the git-commit-helper skill can automatically detect and suggest commit messages that highlight breaking changes using the `BREAKING CHANGE:` footer in the message.
Are there any specific requirements or dependencies for this skill?
This skill requires the Bash tool for executing commands and access to the git repository's staged changes through the `git diff` command.
Can I customize the commit message format?
The git-commit-helper skill generates messages following the conventional commit format. Customization of this format is not explicitly mentioned in the documentation.
Install git-commit-helper
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
alirezarezvani/claude-code-tresor