speckit-git-commit

Automate git add and commit after Spec Kit hooks complete.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically stage and commit changes after a Spec Kit command completes, ensuring work is not lost and changes are tracked consistently.

Core Features & Use Cases

  • Automatic git add and commit after Spec Kit hooks (e.g., after_specify, after_plan) completes
  • Reads .specify/extensions/git/git-config.yml to determine auto_commit settings and per-event overrides
  • Falls back to a global default when event-specific keys are missing
  • Gracefully skips if Git is unavailable or there are no changes to commit
  • Supports Bash and PowerShell script execution for cross-platform usage

Quick Start

Run a Spec Kit command and rely on the hook to automatically commit created or modified files according to your configuration.

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 complete?

To auto-commit changes after Spec Kit commands, this hook automatically stages and commits files using git add and git commit when enabled. It triggers during Spec Kit hooks like after_specify and after_implement to ensure changes are captured consistently.

What is the best way to track Spec Kit workflow changes in Git automatically?

Tracking Spec Kit workflow changes in Git automatically is handled by applying hooks such as before_plan and after_implement. The hook reads configuration from .specify/extensions/git/git-config.yml to determine auto-commit behavior and messaging.

Can I configure per-event Git auto-commit settings for Spec Kit hooks?

You can configure per-event Git auto-commit settings for Spec Kit hooks using .specify/extensions/git/git-config.yml. The system reads event-specific keys and falls back to a global default when event-specific settings are missing.

Do I need a Git-enabled repository to use Spec Kit auto-commit hooks?

A Git-enabled repository is required to use Spec Kit auto-commit hooks. The hook gracefully skips execution if Git is unavailable in the repository or if there are no changes to commit.

Does the Spec Kit Git auto-commit hook support cross-platform script execution?

The Spec Kit Git auto-commit hook supports cross-platform script execution by accommodating both Bash and PowerShell. This allows the automated git add and git commit workflow to run on different operating systems.

Why does my Spec Kit auto-commit skip when there are no changes?

Spec Kit auto-commit skips when there are no changes to prevent empty commits. The hook checks for changes before executing git add and git commit, ensuring only actual modifications are captured in the repository.