speckit-git-commit

Stage and commit changes after Spec Kit commands using git-config.yml settings.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates staging and committing changes after a Spec Kit command completes.

Core Features & Use Cases

  • Automatically stage and commit changes post command if enabled.
  • Honors per-event configuration in .specify/extensions/git/git-config.yml and falls back to default.
  • Gracefully handles environments without Git or when there are no changes.

Quick Start

Configure the git auto-commit settings in .specify/extensions/git/git-config.yml and run your Spec Kit workflow to enable automatic commits 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 running Spec Kit commands?

To auto-commit changes after Spec Kit commands, this automation reads the `.specify/extensions/git/git-config.yml` file for auto_commit settings and executes `git add .` and `git commit` when enabled.

Can I configure git hooks to automate staging after a workflow completes?

Yes, you can configure staging automation by setting up the auto-commit parameters in the `.specify/extensions/git/git-config.yml` file, which the hook reads to determine when to stage and commit uncommitted changes.

What happens if there are no uncommitted changes when the git auto-commit runs?

If there are no uncommitted changes when the auto-commit runs, the automation gracefully handles the environment and skips executing the `git add` and `git commit` commands.

How does the Spec Kit git integration handle environments without Git installed?

The Spec Kit git integration gracefully handles environments without Git by detecting the absence of the version control system and skipping the auto-commit process without causing errors.

Do I need to configure per-event settings for Spec Kit auto-commit to work?

No, you do not need to configure per-event settings because the automation honors specific events in `.specify/extensions/git/git-config.yml` but falls back to default settings if per-event configurations are missing.