What problem does it solve?
Manually writing consistent, semantic git commit messages that follow the Conventional Commits standard is tedious and error-prone, especially for teams that rely on uniform commit history for automated changelogs, release tracking, and clear code change context.
Core Features & Use Cases
- Auto-detection of commit metadata: Automatically identifies the correct commit type (feat, fix, docs, etc.) and scope from code diffs, eliminating manual categorization work.
- Intelligent file staging: Groups related changes into logical commits, avoiding messy mixed commits that obscure the purpose of code changes.
- Compliant message generation: Creates conventional commit messages with proper formatting, support for breaking change annotations, and adherence to best practices like imperative mood and length limits.
- Use Case: A developer working on a feature that touches both frontend UI components and backend API endpoints can use this skill to automatically stage related files, detect the correct "feat" type with the appropriate scope, and generate a clear, standardized commit message like "feat(auth): add OAuth2 login flow" without manual input.
Quick Start
Use the git-commit skill to generate a conventional commit message and stage all relevant files for your current uncommitted code changes.