commit
SolidCreates Conventional Commits with pre-commit validation. Triggers: commit, conventional commit, git commit, message.
AI & Automation 161 stars
21 forks Updated today MIT
Install
Quality Score: 91/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Git Commit
$ARGUMENTS
Creates well-structured git commits following Conventional Commits specification.
## Project context
- Staged changes: !`git diff --cached --stat 2>/dev/null || echo "nothing staged"`
- Current branch: !`git branch --show-current 2>/dev/null`
## Commit Format
```
<type>(<scope>): <description>
[optional body]
[optional footer]
```
## Types
| Type | Description |
|------|-------------|
| `feat` | New feature |
| `fix` | Bug fix |
| `docs` | Documentation only |
| `style` | Formatting, no code change |
| `refactor` | Code restructuring |
| `perf` | Performance improvement |
| `test` | Adding/updating tests |
| `chore` | Maintenance tasks |
| `ci` | CI/CD changes |
## Examples
```bash
# Feature
git commit -m "$(cat <<'EOF'
feat(search): add multi-hop reasoning support
- Implement query decomposition
- Add iterative retrieval with reasoning
- Include answer synthesis from aggregated context
EOF
)"
# Bug fix
git commit -m "$(cat <<'EOF'
fix(cache): resolve connection pool exhaustion
Root cause: connections not returned to pool on error
Solution: use context manager for automatic cleanup
Fixes #123
EOF
)"
```
## Automated Pre-Commit Check
Run the bundled script for structured pre-commit analysis:
```bash
python3 ${CLAUDE_SKILL_DIR}/scripts/pre-commit-check.py
```
Use the output to validate staged changes, detect secrets, and suggest commit type/scope.
## Pre-Commit Checklist
Before committing:
- [ ] Run linting: `make lint` (or `docker ...
Details
- Author
- softspark
- Repository
- softspark/ai-toolkit
- Created
- 4 months ago
- Last Updated
- today
- Language
- Python
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Listed
commit
Create well-formatted git commits with conventional commit style. Analyzes staged changes and generates appropriate commit messages. Invoke with /commit or after completing a task.
4 Updated 4 days ago
AreteDriver Code & Development Listed
commit
Analyze changes and create meaningful conventional commits with pre-commit quality checks
1 Updated 1 weeks ago
manastalukdar Code & Development Listed
commit
Create a git commit following project conventions
2 Updated today
tony