speckit-git-commit

Automate Git commits after Spec Kit command hooks.

Updated Dec 5, 2025
One-click install
npx skills add https://github.com/ApothecaryMan/pharmaflow-ai --skill speckit-git-commit-apothecaryman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-git-commit
Source: https://github.com/ApothecaryMan/pharmaflow-ai/tree/main/.agents/skills/speckit-git-commit
Command: npx skills add https://github.com/ApothecaryMan/pharmaflow-ai --skill speckit-git-commit-apothecaryman

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the Git commit process after Spec Kit commands are executed, streamlining the workflow for developers.

Core Features & Use Cases

  • Automated Committing: Automatically stages and commits changes after Spec Kit commands.
  • Event-Based Execution: Executes based on specific Spec Kit command hooks (e.g., after_specify, before_plan).
  • Configurable: Allows enabling/disabling auto-commit for specific events and customizing commit messages.

Quick Start

Use the speckit-git-commit skill to automatically commit changes after running a Spec Kit command.

Frequently Asked Questions about speckit-git-commit

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

FAQPage Schema
How do I automate Git commits after running Spec Kit commands?

You can automate Git commits after Spec Kit commands by using event hooks like after_specify or before_plan to automatically stage and commit project changes. This eliminates manual version control steps during your workflow.

What is the Git auto-commit mechanism in a Spec Kit project?

The Git auto-commit mechanism in a Spec Kit project uses script-based event hooks to intercept specific commands. It checks a configuration file for auto-commit settings, then automatically stages and commits resulting file changes based on those defined event triggers.

Do I need a .specify directory to use automated Git commits with Spec Kit?

Yes, you need a Spec Kit project structure containing a .specify/ directory to use automated Git commits. This directory is required for the Skill to execute scripts based on event hooks and read the auto-commit configuration file.

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

Yes, you can customize commit messages and disable auto-commit for specific Spec Kit events. The Skill checks a configuration file that allows enabling or disabling the automated Git commit process for individual event hooks.

What's the best way to configure Spec Kit Git hooks for automated staging?

The best way to configure Spec Kit Git hooks for automated staging is by modifying the project's configuration file. This file controls which event hooks trigger the scripts and lets you define exact parameters for auto-committing changes.