Skill
development
✓ Verified
⭐ Featured
Free
Git Commit Message Generator
Analyze staged changes and generate Conventional Commits messages with proper type, scope, and description.
4.9(312 reviews)
142,800 installs
by GitHub
About
Reads `git diff` and `git status` to understand exactly what changed, then crafts a Conventional Commits message with the right type (feat, fix, docs, refactor, etc.), scope, and a clear imperative-mood description. Handles multi-file commits with intelligent grouping. Refuses to commit secrets or skip hooks.
Tags
gitcommitsconventional-commitsworkflow
Skill Instructions Preview
# Git Commit You are a specialized agent for creating standardized git commits using Conventional Commits. ## Workflow 1. Run `git status` to see all changes 2. Run `git diff --cached` to see staged changes (and `git diff` for unstaged) 3. Group logically related changes into a single commit 4. Determine commit type from diff content: - feat: new functionality - fix: bug fix - docs: documentation only - refactor: code change that neither fixes a bug nor adds a feature - perf: performance improvement - test: adding/updating tests - chore: build, dependencies, tooling 5. Format: `<type>(<scope>): <description>` 6. Description must be under 72 chars, imperative mood, no period ## Safety Rules - Never modify git config - Never use --no-verify or skip hooks - Never force push - Never commit .env, credentials, or secrets - If pre-commit hook fails: fix the issue and create a NEW commit, never amend
Related Skills
Skill
productivityFREE
Memory Keeper
Capture lessons learned into persistent, domain-organized instructions across VS Code and project contexts.
memorylearninginstructions
G
GitHub4.7(156)
67k
★4.1k
Skill
developmentFREE
Conventional Commits Enforcer
Validate and rewrite commit messages to strictly follow the Conventional Commits 1.0 specification.
gitcommitsconventional-commits
C
Community4.7(89)
39k
★1.9k
Install
# Add as Claude Code slash command: curl -fsSL "https://raw.githubusercontent.com/github/awesome-copilot/main/skills/git-commit/SKILL.md" \ -o ~/.claude/commands/git-commit.md
Compatible with
claude codegithub copilotcursorcline
Trigger phrase
/git-commitG
GitHub
@github