One-click install
npx skills add https://github.com/leonanpereirapinto/ai-utils --skill git-commit-leonanpereirapinto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/leonanpereirapinto/ai-utils/tree/main/skills/essentials/git-commit
Command: npx skills add https://github.com/leonanpereirapinto/ai-utils --skill git-commit-leonanpereirapinto

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the git commit process by analyzing diffs, suggesting conventional commit messages, and handling intelligent staging.

Core Features & Use Cases

  • Analyze diffs to determine type and scope.
  • Generate conventional commit messages automatically.
  • Interactive commit with optional type/scope/description overrides.
  • Intelligent staging to group related changes.

Quick Start

Ask the AI to analyze the current diff and perform a conventional commit with an autogenerated message.

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 my git diff?

To generate conventional commit messages automatically, this Skill analyzes your current git diff to determine the type and scope, then suggests an appropriate message. It handles intelligent staging for related files and supports optional breaking-change detection.

Can I override the automatically generated commit type and scope interactively?

Yes, you can override the automatically generated commit type and scope interactively. The Skill performs an interactive commit process where you can optionally provide custom type, scope, and description overrides before finalizing the changes.

How do I group related file changes together when staging for a git commit?

To group related file changes together when staging, the Skill uses intelligent staging to analyze diffs and automatically group related files. This ensures logical separation of concerns across multiple commits without manual file selection.

Does this automated git commit tool require direct access to the working tree?

Yes, this automated git commit tool requires direct git access to the working tree to analyze diffs and manage staging. It works with any project workflow that provides this access, including staged changes and interactive overrides.

What is the best way to handle breaking changes in conventional commit formats?

The best way to handle breaking changes in conventional commit formats is to use automated detection during the diff analysis phase. This Skill supports conventional-commit formats and can optionally identify and flag breaking changes in the generated message.