What problem does it solve?
This Skill eliminates the guesswork and manual effort involved in creating Git commits that strictly adhere to project conventions, saving developers time and ensuring consistent, high-quality commit history.
Core Features & Use Cases
- Convention Enforcement: Guides you through pre-commit checks, explicit file staging, and strict commit message formatting, including required emoji codes and imperative mood.
- Error Prevention: Helps avoid common pitfalls like incorrect staging (
git add .) and malformed commit messages, ensuring a clean and compliant commit every time.
- Use Case: A developer needs to commit changes but struggles to remember all the project's specific rules for commit messages, staging, and pre-commit checks. This skill guides them step-by-step to create a compliant commit, from running tests to crafting the final message.
Quick Start
Use the git-commit skill to create a commit for the changes in src/feature.js and test/feature.test.js with the subject :sparkles: Add new feature X.