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-code

Installs 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
1labring avatarpr-reviewlabring/FastGPT进行 Pull Request 代码审查,包括代码质量、安全性、性能、架构合理性等方面的全面评估。当用户要求审查 PR 或提到 "review pr"、"检查 PR" 等关键词时激活。0skills.sh installs
2thinkinaixyz avatargit-committhinkinaixyz/deepchatGenerate well-formatted git commit messages following conventional commit standards0skills.sh installs
3github avatarcreate-github-pull-request-from-specificationgithub/awesome-copilotCreate GitHub Pull Request for feature request from specification file using pull_request_template.md template.8.9Kskills.sh installs
4getsentry avatarsentry-pr-code-reviewgetsentry/sentry-for-aiReview a project's PRs to check for issues detected in code review by Seer Bug Prediction. Use when asked to review or fix issues identified by Sentry in PR com2.3Kskills.sh installs
5minimax-ai avatarpr-reviewminimax-ai/skillsReview pull requests for the MiniMax Skills repository. Use when reviewing PRs, validating new skill submissions, or checking existing skills for compliance. Ru1.8Kskills.sh installs
6google-gemini avatarasync-pr-reviewgoogle-gemini/gemini-cliTrigger this skill when the user wants to start an asynchronous PR review, run background checks on a PR, or check the status of a previously started async PR r356skills.sh installs