
Git Commit
- 40.5k installs
- 37.1k repo stars
- Updated July 28, 2026
- github/awesome-copilot
git-commit is a GitHub Copilot skill from awesome-copilot for writing better commit messages.
About
This is a community collection of custom agents, instructions, skills, hooks, and workflows for GitHub Copilot. The git-commit skill helps developers write better commit messages. Part of the awesome-copilot project with 100+ customization resources.
- Collection of custom GitHub Copilot agents and skills
- Workflow automation and commit helpers
- Community-curated resources for Copilot customization
Git Commit by the numbers
- 40,483 all-time installs (skills.sh)
- +905 installs in the week ending Jul 28, 2026 (Skillselion tracking)
- Ranked #5 of 739 Git & Pull Requests skills by installs in the Skillselion catalog
- Security screen: LOW risk (skills.sh audit)
- Data as of Jul 28, 2026 (Skillselion catalog sync)
git-commit capabilities & compatibility
- Works with
- github
- Use cases
- code review
- Pricing
- Free
npx skills add https://github.com/github/awesome-copilot --skill git-commitAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 40.5k |
|---|---|
| repo stars | ★ 37.1k |
| Security audit | 3 / 3 scanners passed |
| Last updated | July 28, 2026 |
| Repository | github/awesome-copilot ↗ |
How do you generate conventional commit messages from diffs?
Write better commit messages using GitHub Copilot with community-curated patterns
Who is it for?
Developers using GitHub Copilot for Git workflows
Skip if: Non-Copilot users, non-Git workflows
When should I use this skill?
The user asks to commit changes, create a git commit, run /commit, or wants conventional commit messages from staged or unstaged diffs.
What you get
Staged files and a Conventional Commits formatted git commit with auto-detected type and scope.
- conventional commit message
- staged file sets
Files
Git Commit with Conventional Commits
Overview
Create standardized, semantic git commits using the Conventional Commits specification. Analyze the actual diff to determine appropriate type, scope, and message.
Conventional Commit Format
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]Commit Types
| Type | Purpose |
|---|---|
feat | New feature |
fix | Bug fix |
docs | Documentation only |
style | Formatting/style (no logic) |
refactor | Code refactor (no feature/fix) |
perf | Performance improvement |
test | Add/update tests |
build | Build system/dependencies |
ci | CI/config changes |
chore | Maintenance/misc |
revert | Revert commit |
Breaking Changes
# Exclamation mark after type/scope
feat!: remove deprecated endpoint
# BREAKING CHANGE footer
feat: allow config to extend other configs
BREAKING CHANGE: `extends` key behavior changedWorkflow
1. Analyze Diff
# If files are staged, use staged diff
git diff --staged
# If nothing staged, use working tree diff
git diff
# Also check status
git status --porcelain2. Stage Files (if needed)
If nothing is staged or you want to group changes differently:
# Stage specific files
git add path/to/file1 path/to/file2
# Stage by pattern
git add *.test.*
git add src/components/*
# Interactive staging
git add -pNever commit secrets (.env, credentials.json, private keys).
3. Generate Commit Message
Analyze the diff to determine:
- Type: What kind of change is this?
- Scope: What area/module is affected?
- Description: One-line summary of what changed (present tense, imperative mood, <72 chars)
4. Execute Commit
# Single line
git commit -m "<type>[scope]: <description>"
# Multi-line with body/footer
git commit -m "$(cat <<'EOF'
<type>[scope]: <description>
<optional body>
<optional footer>
EOF
)"Best Practices
- One logical change per commit
- Present tense: "add" not "added"
- Imperative mood: "fix bug" not "fixes bug"
- Reference issues:
Closes #123,Refs #456 - Keep description under 72 characters
Git Safety Protocol
- NEVER update git config
- NEVER run destructive commands (--force, hard reset) without explicit request
- NEVER skip hooks (--no-verify) unless user asks
- NEVER force push to main/master
- If commit fails due to hooks, fix and create NEW commit (don't amend)
Related skills
Forks & variants (3)
Git Commit has 3 known copies in the catalog totaling 372 installs. They canonicalize to this original listing.
- ilteoood - 220 installs
- smithery.ai - 130 installs
- pixel-point - 22 installs
How it compares
Use git-commit for Conventional Commits automation instead of generic summarize-diff prompts that ignore staging strategy.
FAQ
What commit standard does git-commit follow?
git-commit creates standardized semantic git commits using the Conventional Commits specification, inferring type and scope from the diff and allowing interactive overrides.
Does git-commit only write messages?
No. git-commit also performs intelligent file staging to group related changes and executes the git commit via Bash when the user requests a commit or /commit.
Is Git Commit safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.