Skip to content

git-commit

Standardized git commits using Conventional Commits specification with intelligent diff analysis and message generation.

— (0 ratings) 49.5K downloads github
$ npx skills add https://github.com/github/awesome-copilot --skill git-commit

Skills can run code on your computer. Review the source before installing. This listing is community-made and isn't affiliated with Anthropic.

About this skill

Summary

Standardized git commits using Conventional Commits specification with intelligent diff analysis and message generation.

  • Auto-detects commit type (feat, fix, docs, refactor, perf, test, build, ci, chore, revert) and scope from actual code changes
  • Generates semantic commit messages following conventional format with optional body and footer sections
  • Intelligently stages files for logical grouping when needed, with support for pattern-based and interactive staging
  • Detects breaking changes and formats them with exclamation mark or BREAKING CHANGE footer
  • Enforces git safety protocols: prevents destructive operations, config changes, and secret commits without explicit user request

Git Commit with Conventional Commits

Make Git commits that follow the Conventional Commits 1.0.0 specification. Get the type, the scope, and the summary from the diff.

Message Format

<type>(<scope>): <summary>

<body>

<footer>
  • The scope, the body, and the footer are optional. Without a scope, write <type>: <summary>.
  • Write the summary in the imperative mood: "add", not "added" or "adds".
  • Keep the first line at 72 characters or less. Do not put a period at the end.
  • In the body, tell what changed and why.
  • Write each footer as Token: value or Token #value, for example Refs: #456 or Closes #123. Conventional Commits accepts the two forms, but Git reads only Token: value as a trailer. In a token, use - in place of a space.

Installs: 49.5K | GitHub stars: 41.6K | First seen: Jan 23, 2026

Related skills

New

Coding & dev tools

code-review

Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding

New • 951K
New

Coding & dev tools

git-guardrails-claude-code

Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent

New • 594.2K
New

Coding & dev tools

setup-pre-commit

Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up

New • 583.3K