git-commit-smartlisted
Install: claude install-skill majiayu000/claude-arsenal
# Smart Git Commit
> Inspired by [claude-code-plugins-plus](https://github.com/jeremylongshore/claude-code-plugins-plus)
## Purpose
Automatically generate meaningful commit messages by analyzing staged changes, following conventional commit format.
## Commit Message Format
```
<type>(<scope>): <subject>
<body>
<footer>
```
### Types
| Type | Description |
|------|-------------|
| `feat` | New feature |
| `fix` | Bug fix |
| `docs` | Documentation only |
| `style` | Formatting, no code change |
| `refactor` | Code change, no new feature or fix |
| `perf` | Performance improvement |
| `test` | Adding/updating tests |
| `chore` | Maintenance tasks |
| `ci` | CI/CD changes |
| `build` | Build system changes |
### Scope
Optional, indicates the section of codebase:
- `auth`, `api`, `ui`, `db`, `config`, etc.
### Subject
- Imperative mood ("add" not "added")
- No period at end
- Max 50 characters
- Lowercase
### Body
- Explain WHAT and WHY, not HOW
- Wrap at 72 characters
- Separate from subject with blank line
### Footer
- Breaking changes: `BREAKING CHANGE: description`
- Issue references: `Closes #123`, `Fixes #456`
## Workflow
### 1. Analyze Changes
```bash
# View staged changes
git diff --staged
# View changed files
git diff --staged --name-only
# View stats
git diff --staged --stat
```
### 2. Determine Type
Based on changes:
- New files with features → `feat`
- Modified files fixing issues → `fix`
- Only .md files → `docs`
- Only test files → `test`
- p