git-commit

Analyze diffs and generate Conventional Commits messages.

3|1|Updated Mar 5, 2024
One-click install
npx skills add https://github.com/chuan-khuna/digital-garden-2024 --skill git-commit-chuan-khuna
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/chuan-khuna/digital-garden-2024/tree/main/.claude/skills/git-commit
Command: npx skills add https://github.com/chuan-khuna/digital-garden-2024 --skill git-commit-chuan-khuna

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps you create standardized, semantic git commits using the Conventional Commits specification by analyzing diffs to determine the best type, scope, and description.

Core Features & Use Cases

  • Analyze diffs to determine type, scope, and description according to Conventional Commits.
  • Support interactive commits with optional type/scope/description overrides and intelligent file staging for logical grouping.
  • Enforce best practices for commit messages, including present-tense wording, appropriate scope, and concise descriptions.

Quick Start

Create a new commit with a conventional message by prompting the tool to analyze your changes and propose a structured commit.

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 from git diffs?

You can automate conventional commit messages by analyzing git diffs to determine the appropriate type, scope, and description. This process enforces Conventional Commits rules and outputs properly formatted messages ready for git commit.

What is the best way to group logical changes for a conventional commit?

The best way to group logical changes is through intelligent file staging. This process analyzes your diffs and stages related files together, ensuring each conventional commit represents a single, coherent logical update.

Can I override the suggested type and scope during an interactive commit?

Yes, you can override the suggested type and scope during an interactive commit. The tool supports optional overrides for type, scope, and description while still validating inputs against Conventional Commits rules.

Does the conventional commit generator enforce best practices for commit wording?

Yes, the conventional commit generator enforces best practices by validating inputs. It ensures present-tense wording, appropriate scope selection, and concise descriptions to maintain standardized semantic git commits.

When do I need to use Conventional Commits for my version control workflow?

You need Conventional Commits when your version control workflow requires standardized, semantic git history. This format determines the best type, scope, and description from diffs to generate structured commit messages.