speckit-git-commit

Stage and commit changes after Spec Kit command events.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/inspedralbes/prj-entrades-bielDom-nguez-2DAW --skill speckit-git-commit-inspedralbes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-git-commit
Source: https://github.com/inspedralbes/prj-entrades-bielDom-nguez-2DAW/tree/main/prj-entrades-nou/.cursor/skills/speckit-git-commit
Command: npx skills add https://github.com/inspedralbes/prj-entrades-bielDom-nguez-2DAW --skill speckit-git-commit-inspedralbes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically stage and commit changes after a Spec Kit command completes, reducing manual git work and ensuring consistent history.

Core Features & Use Cases

  • Auto-commit after Spec Kit command events with per-event toggles
  • Customizable commit messages via config
  • Graceful handling when not in a git repository or when there are no changes to commit

Quick Start

Enable auto_commit in the Git config and trigger a Spec Kit workflow to auto-commit changes.

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 auto-commit changes by enabling the auto_commit feature in your .specify/extensions/git/git-config.yml file, which stages and commits tracked files automatically after Spec Kit workflows execute.

Can I customize the commit message for automated git commits in a Spec Kit workflow?

Yes, automated commit messages are customizable via the git-config.yml configuration file, allowing you to define default behavior and per-event overrides for consistent version-control history.

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

Yes, you need an existing Git repository to use auto-commit hooks, but the workflow handles missing repositories gracefully by skipping the commit process when not applicable.

What happens if there are no file changes when the auto-commit hook runs?

The auto-commit hook handles empty changes gracefully, skipping the stage and commit process entirely when no tracked files have been modified by the Spec Kit command.

How do I enable auto-commit for specific Spec Kit command events?

You can enable auto-commit for specific events by configuring per-event toggles within the .specify/extensions/git/git-config.yml file, overriding default behavior as needed.