What problem does it solve?
Manual git commit message formatting, ensuring atomicity, and following project conventions can be time-consuming and error-prone. This skill automates the process of creating high-quality, logically grouped, and well-formatted git commits.
Core Features & Use Cases
- Atomic Commit Creation: Guides you to create single-purpose commits, leveraging
git add -p for fine-grained control.
- Automated Style Detection: Analyzes recent commit history to automatically detect and apply conventional commit standards (e.g.,
feat:, fix:) or other project-specific formatting.
- Best Practice Enforcement: Ensures commit messages adhere to best practices like subject line length, imperative mood, and clear separation of subject from body.
- Use Case: You've made several changes across multiple files. Use this skill to interactively stage related changes and generate perfectly formatted, atomic commits that align with your team's existing Git history.
Quick Start
Use the git-commit skill to stage my current changes and create a series of atomic commits, ensuring each commit message follows the project's existing conventional commit style.