speckit-git-commit

Auto-commit uncommitted changes after Spec Kit commands via git-config.yml hooks.

Updated Apr 25, 2026
One-click install
npx skills add https://github.com/sdk451/claude-gdrive --skill speckit-git-commit-sdk451
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-git-commit
Source: https://github.com/sdk451/claude-gdrive/tree/main/.cursor/skills/speckit-git-commit
Command: npx skills add https://github.com/sdk451/claude-gdrive --skill speckit-git-commit-sdk451

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Auto-commit changes after Spec Kit commands complete to keep repositories clean and traceable.

Core Features & Use Cases

  • Auto-commit uncommitted changes after Spec Kit commands to preserve a clean Git history.
  • Supports per-event overrides via .specify/extensions/git/git-config.yml and a global default.
  • Works across Bash and PowerShell execution environments to fit your CI/local workflows.

Quick Start

Configure the git auto-commit settings in .specify/extensions/git/git-config.yml and run your Spec Kit workflow to automatically stage and commit changes after commands.

Frequently Asked Questions about speckit-git-commit

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

FAQPage Schema
How do I auto-commit changes after Spec Kit commands run?

To auto-commit changes after Spec Kit commands, configure the git auto-commit settings in .specify/extensions/git/git-config.yml and run your workflow to automatically stage and commit changes.

What is the best way to keep my Git history clean during Spec Kit workflows?

Keeping Git history clean during Spec Kit workflows is achieved by using a hook that automatically stages and commits uncommitted changes after events like after_specify or before_plan complete.

Do I need a specific project structure to automate Git commits with Spec Kit?

Automating Git commits with Spec Kit requires an existing Git repository, the Spec Kit project structure, and the specified git-config file located at .specify/extensions/git/git-config.yml to enable the hook.

Can I override auto-commit behavior for individual Spec Kit events?

You can override auto-commit behavior for individual events because the hook supports per-event overrides via .specify/extensions/git/git-config.yml alongside a global default setting for your workflows.

Does the Spec Kit Git auto-commit hook work across different execution environments?

The Spec Kit Git auto-commit hook works across both Bash and PowerShell execution environments, ensuring it fits seamlessly into your local development workflows and CI pipelines.