git-commit

Generate conventional git commit messages from diffs and staged changes.

425|74|Updated Sep 27, 2025
One-click install
npx skills add https://github.com/martin98-afk/CanvasMind --skill git-commit-martin98-afk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/martin98-afk/CanvasMind/tree/main/app/widgets/side_dock_area/plugins/llm_chatter/skills/git-commit
Command: npx skills add https://github.com/martin98-afk/CanvasMind --skill git-commit-martin98-afk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzes diffs and staged changes to produce semantic, standardized git commits based on the Conventional Commits specification, reducing manual drafting and improving history clarity.

Core Features & Use Cases

  • Conventional commit generation: infers type, scope, and description from changes and applies the Conventional Commits format.
  • Interactive commit: allow overrides for type, scope, and description before finalizing the commit.
  • Intelligent staging: groups related changes to form cohesive, logical commits.
  • Safety and best practices: enforces Git safety guidelines to avoid destructive actions and ensure clean history.

Quick Start

Commit your current staged changes using a conventional commit message generated from the diff.

Frequently Asked Questions about git-commit

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

FAQPage Schema
How do I generate conventional commits from git diffs automatically?

To generate conventional commits from git diffs automatically, you can use a workflow automation tool that analyzes staged changes to infer the type, scope, and description, standardizing your project history without manual drafting.

Can I override the inferred type and scope before finalizing a commit?

Yes, you can override the inferred type, scope, and description before finalizing the commit, as the workflow supports interactive overrides to ensure the generated conventional commit message accurately reflects your staged changes.

What is the best way to group related changes for cohesive git commits?

The best way to group related changes for cohesive git commits is through intelligent staging, which analyzes your staged files and groups related modifications together to form logical, semantic commit messages based on the diff.

Does this conventional commit workflow support safe staging to avoid destructive actions?

Yes, this conventional commit workflow enforces Git safety guidelines to avoid destructive actions, ensuring clean history by applying safety constraints during the automatic type, scope, and description inference from staged changes.

How do I ensure my commit messages follow the Conventional Commits specification?

To ensure your commit messages follow the Conventional Commits specification, use an automation tool that analyzes your diffs and applies the required format, automatically inferring the correct type, scope, and description from the changes.