git-commit

Executes Git commits with conventional messages and intelligent file staging using Git CLI and Bash shell.

Updated Oct 16, 2022
One-click install
npx skills add https://github.com/deferred/dotfiles --skill git-commit-deferred
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/deferred/dotfiles/tree/main/home/dot_agents/skills/git-commit
Command: npx skills add https://github.com/deferred/dotfiles --skill git-commit-deferred

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of standardized, semantic Git commits, ensuring consistency and clarity in your version control history.

Core Features & Use Cases

  • Conventional Commits: Adheres to the Conventional Commits specification for structured commit messages.
  • Intelligent Staging: Analyzes changes to suggest or perform intelligent file staging.
  • Message Generation: Generates commit messages based on code diffs, including type, scope, and description.
  • Use Case: When you've made several related changes and need to commit them with a clear, descriptive message that follows best practices.

Quick Start

Use the git-commit skill to commit your staged changes with an automatically generated conventional commit 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 code diffs?

Intelligent Git commits are generated by analyzing code changes and diffs to automatically produce structured conventional commit messages, including type, scope, and description.

What is the best way to automate file staging before making a git commit?

Intelligent file staging analyzes code changes to suggest or perform file grouping automatically, preparing related modifications into a single logical commit.

Can I override the generated commit type and scope interactively?

Yes, interactive overrides allow you to manually adjust the commit type, scope, and description generated from the code diff to meet your specific version control standards.

Do I need Git CLI and Bash to execute automated conventional commits?

Yes, executing automated Git commit operations with advanced code change analysis requires the Git CLI and a Bash shell environment to run the necessary version control commands.

Why use conventional commits for my version control history?

Conventional commits provide a standardized semantic structure for your commit messages, ensuring clarity and consistency across your version control history for easier tracking.