git-commit

Generate Conventional Commit messages from git diffs with interactive overrides.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/GanaF4ll/agentic-ai-tp --skill git-commit-ganaf4ll
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/GanaF4ll/agentic-ai-tp/tree/main/.agents/skills/git-commit
Command: npx skills add https://github.com/GanaF4ll/agentic-ai-tp --skill git-commit-ganaf4ll

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually crafting meaningful Git commits is error-prone and inconsistent; this skill analyzes diffs to generate conventional commits automatically, improving traceability and collaboration.

Core Features & Use Cases

  • Auto-detects type and scope from changes to produce a conventional commit
  • Generates commit messages from diffs following the Conventional Commits spec
  • Interactive mode to override type, scope, or description and perform selective staging

Quick Start

Generate a conventional commit for the current diff and stage the relevant files automatically.

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 commit messages automatically from a git diff?

To generate conventional commits automatically, this skill analyzes your current git diff to detect the change type and scope, creating a formatted commit message. It supports multi-file changes and allows interactive overrides for selective staging.

What is the best way to automate git staging and commit message creation together?

Automating git staging and commits involves analyzing the repository diff to selectively stage relevant files while generating a conventional commit message. This skill validates the repository state and performs intelligent staging decisions to align changes with the commit type.

Can I override the auto-detected type and scope for a conventional commit?

Yes, you can override the auto-detected type, scope, and description for a conventional commit using the interactive mode. This allows you to manually refine the semantic message while still leveraging automated diff analysis and selective staging.

Does this git commit automation protect against committing secrets or running destructive commands?

Yes, this git commit automation prevents secrets exposure and avoids destructive commands by validating hooks and the repository state before committing. It analyzes the diff to ensure sensitive data is not staged or committed accidentally.

How does conventional commit generation handle multi-file changes in version control?

Conventional commit generation handles multi-file changes by analyzing the aggregated diff to determine a unified type and scope. This ensures the resulting commit message accurately describes the semantic impact across all modified files in the version control system.