commit
FeaturedGenerate a conventional commit message for staged changes
AI & Automation 5,772 stars
755 forks Updated today CC-BY-SA-4.0
Install
Quality Score: 94/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Conventional Commit
Generate a conventional commit message for staged changes.
## Instructions
1. Run `git diff --cached` to see staged changes
2. Analyze the nature of changes
3. Generate a commit message following the format below
## Commit Format
```
<type>(<scope>): <subject>
[optional body]
[optional footer]
```
### Types
- `feat`: New feature
- `fix`: Bug fix
- `docs`: Documentation only
- `style`: Formatting, missing semicolons, etc.
- `refactor`: Code change that neither fixes nor adds feature
- `perf`: Performance improvement
- `test`: Adding missing tests
- `chore`: Maintenance tasks
### Rules
- Subject: imperative mood, no period, max 50 chars
- Body: explain WHAT and WHY, not HOW
- Footer: breaking changes, issue references
## Examples
```
feat(auth): add password reset functionality
Implement password reset flow with email verification.
Users can now request a reset link and set new password.
Closes #123
```
```
fix(api): prevent race condition in order processing
Add mutex lock to ensure orders are processed sequentially.
This fixes duplicate charge issues reported by users.
Fixes #456
```
```
refactor(cart): extract pricing logic to separate module
No functional changes. Improves testability and
separates concerns for future discount feature.
```
## Execution
After analyzing staged changes, suggest a commit message.
Ask for confirmation before executing `git commit -m "..."`.
$ARGUMENTS
Details
- Author
- FlorianBruniaux
- Repository
- FlorianBruniaux/claude-code-ultimate-guide
- Created
- 7 months ago
- Last Updated
- today
- Language
- Python
- License
- CC-BY-SA-4.0
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
Code & Development Listed
conventional-commits
Write a clean Conventional Commits message from the staged git diff
0 Updated 3 weeks ago
claudifytech Code & Development Listed
commit
Create a conventional commit with context-aware message
3 Updated today
alergyonthestage Code & Development Listed
commit
Generate a commit message and description for staged/unstaged changes
1 Updated 1 weeks ago
paoloirrera