speckit-git-commit

Automatically stage and commit changes after Spec Kit commands complete.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically stage and commit changes after a Spec Kit command completes.

Core Features & Use Cases

  • Auto-commit on command completion when there are uncommitted changes.
  • Reads per-event settings from .specify/extensions/git/git-config.yml to enable or disable automatic commits.
  • Gracefully degrades if Git is unavailable or the directory is not a Git repo.

Quick Start

Execute a Spec Kit command and let the hook automatically commit changes per your git-config.yml.

Frequently Asked Questions about speckit-git-commit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically commit changes after a Spec Kit command completes?

You can automatically commit changes after a Spec Kit command by using a hook that stages and commits uncommitted files upon command completion. It reads per-event settings from .specify/extensions/git/git-config.yml to control the auto-commit behavior.

What configuration is required to enable auto-commit for Spec Kit projects?

To enable auto-commit for Spec Kit projects, you need a .specify/extensions/git/git-config.yml configuration file. This file controls per-event automatic git commit behavior for your repository.

Does the Spec Kit auto-commit hook work without a Git repository?

No, the auto-commit hook requires Git and an active repository to function. It gracefully degrades and does nothing if Git is unavailable or the current directory is not a Git repository.

Can I disable automatic git commits for specific Spec Kit events?

Yes, you can disable automatic git commits for specific events by adjusting the settings in your .specify/extensions/git/git-config.yml file. This per-event configuration allows you to enable or disable commits as needed.

What happens if there are no uncommitted changes when the Spec Kit command finishes?

If there are no uncommitted changes when the Spec Kit command finishes, the auto-commit hook will not perform a commit. It only stages and commits changes when uncommitted modifications are detected.

Do I need to manually stage files before running Spec Kit commands to use auto-commit?

No, you do not need to manually stage files before running Spec Kit commands. The auto-commit hook automatically stages and commits uncommitted changes after the command completes.