git-commit

Analyze git diffs to create conventional commit messages and stage files.

7|3|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/brainbrewlabs/brainbrew-devkit --skill git-commit-brainbrewlabs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/brainbrewlabs/brainbrew-devkit/tree/main/plugin/config/templates/develop/skills/git-commit
Command: npx skills add https://github.com/brainbrewlabs/brainbrew-devkit --skill git-commit-brainbrewlabs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create standardized, semantic git commits automatically from actual changes so developers avoid unclear messages, inconsistent scope, and manual staging decisions.

Core Features & Use Cases

  • Analyze staged or working-tree diffs to determine commit type, scope, and concise description following Conventional Commits.
  • Suggest and perform intelligent file staging for logical grouping, with options for interactive overrides.
  • Generate one-line messages plus optional body and footers, enforce git safety rules, and execute commits for everyday development and CI workflows.

Quick Start

Use the git-commit skill to generate a conventional commit message from your diff and commit the staged changes.

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?

You can generate a conventional commit message from a git diff by analyzing staged or working-tree changes to infer the semantic type and scope. The skill then stages logical files and executes the commit while enforcing git safety rules.

What is the best way to group and stage files logically for a git commit?

The best way to stage files logically is by analyzing the git diff and status to group related changes automatically. The skill suggests intelligent file staging for logical grouping, with options for interactive overrides before executing the commit.

Can I override the inferred commit type and scope during interactive staging?

Yes, you can override the inferred commit type and scope during interactive staging. The skill recommends a conventional commit message and file grouping from your diff, but provides options for interactive overrides to manually adjust the semantic message.

Does this conventional commit tool enforce git safety rules against destructive operations?

Yes, this conventional commit tool enforces git safety rules against destructive operations. It executes git commits based on diff analysis and intelligent staging while ensuring safety rules prevent destructive changes during the software development workflow.

How do I add a body and footers to a one-line conventional commit message?

To add a body and footers to a one-line conventional commit message, the skill generates these optional components based on the analyzed git diff. It creates the standardized semantic message and executes the commit for everyday development and CI workflows.