What problem does it solve?
Speckit-driven work can leave modified files uncommitted, forcing you to remember to stage and commit changes after each command run.
Core Features & Use Cases
- Hook-based auto-commit: Runs after or before Spec Kit commands by detecting the triggering hook event name.
- Configurable per-event behavior: Enables or disables commits via
.specify/extensions/git/git-config.yml, with auto_commit.default as the fallback.
- Commit message control: Uses the per-command configured
message or applies a sensible default if none is provided.
- Change-aware execution: Only performs
git add . and git commit when there are uncommitted changes, otherwise skips with a message.
- Graceful degradation: Skips with a warning if Git is unavailable or the current directory is not a repository, and skips when the config file is missing (disabled by default).
Quick Start
Run Spec Kit commands normally, and ensure .specify/extensions/git/git-config.yml sets auto_commit.after_specify.enabled: true to enable automatic commits when hooks fire.