speckit-git-commit

Automatically commit changes after Spec Kit hook events complete.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically commit changes after a Spec Kit command completes, removing manual git steps.

Core Features & Use Cases

  • Automated per-event commit: commit changes after specified Spec Kit hook completes.
  • Configurable messaging and default messages via .specify/extensions/git/git-config.yml.
  • Bash/PowerShell integration for executing git commands.

Quick Start

Configure auto-commit by editing .specify/extensions/git/git-config.yml and run a Spec Kit command to trigger the hook.

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 a Spec Kit command completes?

You can auto-commit changes by configuring the .specify/extensions/git/git-config.yml file in your project. Once enabled, the hook automatically runs git add and git commit after Spec Kit commands complete.

What is a Spec Kit git hook and how does it automate version control?

A Spec Kit git hook automates version control by executing git add and git commit automatically after specified workflow events. It reads per-project configuration files to determine when to trigger commits and apply generated commit messages.

Can I configure custom commit messages for Spec Kit auto-commit events?

Yes, you can configure custom commit messaging by editing the .specify/extensions/git/git-config.yml file. This allows you to set per-event enablement and define default commit messages for your Spec Kit automation workflows.

Does the Spec Kit git auto-commit hook work if Git is unavailable or there are no changes?

The Spec Kit auto-commit hook gracefully degrades if Git is unavailable or if there are no changes to commit. This prevents workflow interruptions when version control conditions are not met during Spec Kit command execution.

How do I enable auto-commit for specific Spec Kit hook events like before_plan?

You can enable auto-commit for specific Spec Kit hook events by editing the .specify/extensions/git/git-config.yml file. This configuration allows per-event enablement, letting you selectively trigger git commits for hook events like after_specify or before_plan.