git-commit

Generate formatted Git commits by analyzing diffs and inferring type, scope, description.

3|Updated Jul 25, 2025
One-click install
npx skills add https://github.com/tfsugjp/csharptemplate --skill git-commit-tfsugjp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/tfsugjp/csharptemplate/tree/main/.github/skills/git-commit
Command: npx skills add https://github.com/tfsugjp/csharptemplate --skill git-commit-tfsugjp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the creation of conventional git commits by analyzing diffs and generating standardized messages, reducing manual effort and improving consistency.

Core Features & Use Cases

  • Infer commit type and scope from changes and propose descriptive messages.
  • Support interactive staging and optional overrides for type/scope/description.
  • Enforce Conventional Commits format and best practices to improve changelogs and reviews.

Quick Start

Ask to generate a conventional commit by analyzing the current diff and proposing a type, scope, and description.

Frequently Asked Questions about git-commit

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

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

You can generate conventional commit messages automatically by analyzing git diffs to infer the commit type, scope, and description. This approach reduces manual effort and enforces consistency across your development workflow.

What is the conventional commits format and how does diff analysis apply it?

The conventional commits format standardizes commit history by structuring messages into type, scope, and description. Diff analysis applies this by examining code changes to automatically infer the appropriate semantic structure for each commit.

How do I stage changes and override inferred commit types interactively?

You can stage changes interactively and override inferred commit types, scopes, or descriptions during the commit process. This allows you to manually adjust automatically generated conventional commit messages before finalizing them.

Can I prevent committing secrets when automating git commits from diffs?

Yes, automating git commits from diffs includes safeguards that guard against committing secrets. This ensures safe commit practices are enforced while generating conventional commit messages through diff analysis.

Does this automated commit workflow support typical development staging practices?

This automated commit workflow supports typical development practices including staged changes, interactive overrides, and safe commit practices. It analyzes staged diffs to propose semantic messages without disrupting existing development workflows.