speckit-git-commit

Automatically commit Git repository changes after executing Spec Kit commands.

128|7|Updated Jun 20, 2026
One-click install
npx skills add https://github.com/PieroSierra/SecondBrain --skill speckit-git-commit-pierosierra
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-git-commit
Source: https://github.com/PieroSierra/SecondBrain/tree/main/.claude/skills/speckit-git-commit
Command: npx skills add https://github.com/PieroSierra/SecondBrain --skill speckit-git-commit-pierosierra

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of committing changes after a Spec Kit command completes, eliminating the need for manual git commits.

Core Features & Use Cases

  • Auto-Commit Functionality: Automatically stages and commits all changes post Spec Kit command execution.
  • Event-Based Execution: Executes based on hook events such as after_specify, before_plan, etc.
  • Configuration Flexibility: Allows enabling/disabling auto-commit for specific events or globally, with customizable commit messages.

Quick Start

Use the speckit-git-commit skill after a Spec Kit command to automatically commit your 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 running a Spec Kit command?

To automatically commit changes after a Spec Kit command, you can configure event-based git commit hooks that trigger post-execution. This stages and commits all repository changes automatically once a command completes, eliminating manual git commits.

Can I disable auto-commit for specific Spec Kit events?

Yes, you can disable auto-commit for specific Spec Kit events. The configuration flexibility allows enabling or disabling automatic commits globally or selectively for specific hook events like after_specify or before_plan.

What is an event-based git auto-commit hook in a Spec Kit project?

An event-based git auto-commit hook is a mechanism that stages and commits changes when specific Spec Kit events occur. It operates on hook triggers like after_specify or before_plan, applying user-defined commit settings to automate repository version control.

Do I need a .specify directory to use git auto-commit hooks?

Yes, you need a .specify directory to use these git auto-commit hooks. The Skill requires an established Spec Kit project structure containing the .specify/ directory, along with git availability, to function correctly.

How do I customize commit messages for different Spec Kit hook events?

You can customize commit messages for different Spec Kit hook events through configuration settings. The Skill handles configuration-specific commit messages tailored to the event that triggered the commit, such as before_plan or after_specify, based on your user-defined settings.