git-commit

Analyze staged and unstaged code changes to generate Conventional Commits messages.

14|1|Updated Oct 23, 2025
One-click install
npx skills add https://github.com/marcioaltoe/claude-craftkit --skill git-commit-marcioaltoe
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/marcioaltoe/claude-craftkit/tree/main/plugins/git/skills/git-commit
Command: npx skills add https://github.com/marcioaltoe/claude-craftkit --skill git-commit-marcioaltoe

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the manual effort of crafting precise, conventional commit messages by automatically analyzing code changes and generating informative commits when you want to save work.

Core Features & Use Cases

  • Conventional Commit Generation: Create messages that follow the Conventional Commits specification.
  • Context-Aware Scopes: Identify affected modules and surface appropriate scopes for messages.
  • Workflow Guidance: Suggest branch naming and commit grouping aligned with your project rules.

Quick Start

When you’re ready to save work, tell me to commit and I'll generate and apply a conventional commit for your staged and unstaged changes.

Frequently Asked Questions about git-commit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate conventional commit messages for my code changes?

Conventional commits automate message generation by analyzing your staged and unstaged changes to create standardized messages following the type(scope): subject format. This Skill generates these messages automatically when you indicate you're ready to commit, eliminating manual crafting while ensuring consistency across your repository.

What is the Conventional Commits specification and why should I use it?

Conventional Commits is a specification for commit message structure—type(scope): subject with optional body and footer—that makes commit history machine-readable and human-friendly. It enables automated changelog generation, semantic versioning, and clearer project history that tools can parse for automation and tracking.

Can this work with my existing Git workflow and branch naming conventions?

Yes. This Skill integrates with Git environments supporting git status, git diff, and git branch commands, and aligns commit generation with project-specific standards and branching workflows. It analyzes your current branch and staged changes to suggest appropriate scopes and commit types that fit your established conventions.

How does the Skill identify the right scope and type for a commit message?

The Skill analyzes code diffs to infer affected modules and generate context-aware scopes, then determines the commit type (feat, fix, etc.) based on the nature of changes detected. It surfaces appropriate scopes and handles breaking changes by including them in the commit footer when present.

Do I need to stage changes before using this Skill?

The Skill handles both staged and unstaged changes, but you can use git add to stage specific changes first if you want finer control over what gets included in each commit. It accesses both states via git status and git diff to generate complete and accurate conventional commit messages.

What happens if my changes include breaking changes?

Breaking changes are automatically detected and included in the commit footer as BREAKING CHANGE: notation, ensuring they're flagged clearly in your conventional commit message. This maintains specification compliance and signals semantic versioning implications to automation tools and users reviewing your history.