
Git Commit Helper
Analyzes your staged git changes and generates conventional commit messages so you don't have to context switch between code and commit formatting. You run git diff --staged, Claude reads the output, and suggests a properly formatted message following the conventional commits spec (feat:, fix:, etc.). Worth noting this uses hooks to execute automatically on events, so review what it's doing before you install. Saves time if you're committed to conventional commits but find yourself staring at the terminal trying to summarize what you just changed. Has passing audits from Gen Agent Trust Hub, Socket, and Snyk.
- GitHub stars
- 30.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add davila7/claude-code-templates --skill 'Git Commit Helper' --agent claude-codeInstalls into .claude/skills of the current project.
Files
Git Commit Helper
Quick start
Analyze staged changes and generate commit message:
# View staged changes
git diff --staged
# Generate commit message based on changes
# (Claude will analyze the diff and suggest a message)
Commit message format
Follow conventional commits format:
<type>(<scope>): <description>
[optional body]
[optional footer]
Types
- feat: New feature
- fix: Bug fix
- docs: Documentation changes
- style: Code style changes (formatting, missing semicolons)
- refactor: Code refactoring
- test: Adding or updating tests
- chore: Maintenance tasks
Examples
Feature commit:
feat(auth): add JWT authentication
Implement JWT-based authentication system with:
- Login endpoint with token generation
- Token validation middleware
- Refresh token support
Bug fix:
fix(api): handle null values in user profile
Prevent crashes when user profile fields are null.
Add null checks before accessing nested properties.
Refactor:
refactor(database): simplify query builder
Extract common query patterns into reusable functions.
Reduce code duplication in database layer.
Sponsors
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- Git & Pull Requests, Documentation
- First seen
- Jun 3, 2026
More from davila7/claude-code-templates
All 618- Hook Development
- HTML Injection Testing
- IDOR Vulnerability Testing
- Linux Privilege Escalation
- Linux Production Shell Scripts
- MCP Integration
- Metasploit Framework
- Network 101
- PDF Processing
- PDF Processing Pro
- Pentest Checklist
- Pentest Commands
- Plugin Settings
- Plugin Structure
- Privilege Escalation Methods
- Red Team Tools And Methodology
- Security Scanning Tools
- SEO Optimizer
- Shodan Reconnaissance And Pentesting
- Skill Development
- SMTP Penetration Testing
- SQL Injection Testing
- SQLMap Database Penetration Testing
- SSH Penetration Testing