speckit-git-commit

Automatically stage and commit changes after Spec Kit hook events.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically stage and commit changes after a Spec Kit command completes.

Core Features & Use Cases

  • Hook-driven auto-commit after Spec Kit events (e.g., after_specify, before_plan) with per-event overrides.
  • Reads configuration from .specify/extensions/git/git-config.yml to enable or disable auto-commit and customize messages.
  • Safely skips when no changes are detected or Git is unavailable, and falls back to a global default when no event-specific setting exists.

Quick Start

Configure the auto_commit options in .specify/extensions/git/git-config.yml and ensure a Git repository is available so commits occur after the selected Spec Kit hook events.

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 running Spec Kit commands?

You can auto-commit changes after Spec Kit commands by using a hook-driven extension that reads configuration from .specify/extensions/git/git-config.yml to automatically run git add and git commit on events like after_specify and before_plan.

What do I need to set up before enabling auto-commit for Spec Kit workflows?

You need a functional Git repository and a valid .specify/extensions/git/git-config.yml configuration file within a .specify project structure to enable auto-commit functionality for Spec Kit hook events.

Can I customize commit messages for different Spec Kit hook events?

Yes, you can customize commit messages by applying per-event overrides in the .specify/extensions/git/git-config.yml configuration, which also falls back to a global default when no event-specific setting exists.

What happens if there are no changes to commit after a Spec Kit command?

The auto-commit process safely skips execution when no changes are detected or if Git is unavailable, ensuring the workflow continues without generating empty commits or errors.

Does the Spec Kit auto-commit extension work on Windows?

Yes, the auto-commit extension supports Windows environments by using PowerShell scripts to execute git add and git commit commands, alongside Bash scripts for other operating systems.