speckit-git-commit

Automatically stage and commit changes after Spec Kit commands complete.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/victorevh/orbitarium-engine-sdd --skill speckit-git-commit-victorevh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-git-commit
Source: https://github.com/victorevh/orbitarium-engine-sdd/tree/main/.cursor/skills/speckit-git-commit
Command: npx skills add https://github.com/victorevh/orbitarium-engine-sdd --skill speckit-git-commit-victorevh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

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

Core Features & Use Cases

  • Automatic staging and committing of changes after a Spec Kit command completes.
  • Respects per-event configuration in .specify/extensions/git/git-config.yml, enabling per-event control (e.g., after_specify, after_plan) and falling back to a default when unspecified.
  • Provides a configurable commit message via the per-command message or a default.

Quick Start

Configure the Git auto-commit settings in your Spec Kit project, then run a Spec Kit command to automatically commit changes when enabled.

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 Spec Kit changes, the hook triggers git add . and git commit after commands like after_specify complete. It activates when uncommitted changes are detected and respects your git-config.yml settings.

How does the Spec Kit git hook handle commit configuration?

The Spec Kit git hook reads .specify/extensions/git/git-config.yml to determine event-specific enablement. It uses a configurable per-command message and falls back to a default commit message for automatic staging.

Can I enable auto-commit for specific Spec Kit events only?

Yes, you can enable auto-commit for specific Spec Kit events. The hook respects per-event configuration in git-config.yml, allowing granular control over hooks like after_specify or before_plan, with a default fallback.

What is the best way to automate git workflow within a Spec Kit project?

Automating git workflow within a Spec Kit project is handled by configuring the auto-commit extension. It stages and commits changes automatically after command execution, streamlining version-control without manual git commands.

Does the Spec Kit auto-commit hook run when there are no file changes?

No, the Spec Kit auto-commit hook does not run git commit when there are no uncommitted changes. It specifically checks for modifications before executing git add . and git commit to avoid empty commits.

What do I need to set up before using Spec Kit git hooks?

You need an initialized Spec Kit project with the git-config.yml file configured. Specify your desired hook events and default commit messages in this configuration file to enable automatic version-control.