speckit-git-commit

Automatically commit changes after Spec Kit hooks when auto-commit is enabled.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the git-commit workflow after Spec Kit commands, ensuring changes are tracked without manual intervention.

Core Features & Use Cases

  • Auto-commit after key Spec Kit hooks (e.g., after_specify, after_plan, after_implement) to maintain an auditable history.
  • Reads configuration from .specify/extensions/git/git-config.yml to enable per-event auto-commit and supply custom commit messages.
  • Safe-guarded by checks for repository state and presence of uncommitted changes to avoid unnecessary commits.

Quick Start

Configure the git auto-commit in .specify/extensions/git/git-config.yml and run a Spec Kit command to see it commit automatically.

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

To auto-commit changes after Spec Kit tasks, configure the auto_commit settings within .specify/extensions/git/git-config.yml to trigger commits automatically after hooks like after_specify or after_implement complete.

What are Spec Kit git hooks and how do they work?

Spec Kit git hooks are automation triggers like after_specify, after_plan, and after_implement that fire after commands complete, allowing extensions to execute tasks such as creating deterministic commit history automatically.

Can I use custom commit messages for automated Spec Kit commits?

Yes, you can use custom commit messages for automated Spec Kit commits by supplying your desired message text within the git-config.yml configuration file for each enabled Spec Kit event hook.

Does the Spec Kit auto-commit tool skip commits when there are no changes?

Yes, the Spec Kit auto-commit tool includes safeguards to check for uncommitted changes and repository state, ensuring it skips committing when there are no actual modifications to track.

Why are my Spec Kit auto-commits not working?

Spec Kit auto-commits may not work if the auto_commit setting is disabled in your git-config.yml file, or if the built-in repository state safeguard detects no uncommitted changes to track.