speckit-git-commit

Automate Git commits after Spec Kit hook events.

Updated Apr 11, 2026
One-click install
npx skills add https://github.com/Sumitvedpathak/prompt-evals --skill speckit-git-commit-sumitvedpathak
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-git-commit
Source: https://github.com/Sumitvedpathak/prompt-evals/tree/main/.cursor/skills/speckit-git-commit
Command: npx skills add https://github.com/Sumitvedpathak/prompt-evals --skill speckit-git-commit-sumitvedpathak

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of staging and committing code changes immediately after specific Spec Kit commands, reducing manual intervention and ensuring consistent version control practices.

Core Features & Use Cases

  • Automated Git Operations: Runs git add . and git commit based on hook events within a Spec Kit project.
  • Configurable Messaging: Uses custom commit messages defined in the YAML config for different hook events.
  • Use Case: When a developer runs a Spec Kit command that modifies specifications, this Skill automatically commits the changes, maintaining a clean Git history.

Quick Start

Use the speckit-git-commit skill to automatically commit code changes after executing a Spec Kit command by configuring the appropriate hook settings.

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 Spec Kit commands?

To automate Git commits after Spec Kit commands, configure hook events to trigger staging and committing operations. This Skill executes git add and commit automatically when specifications are modified, maintaining version control without manual intervention.

Can I use custom commit messages for automated version control in Spec Kit projects?

Yes, custom commit messages can be configured for automated version control in Spec Kit projects. You define specific messaging in the YAML configuration for different hook events, ensuring descriptive and consistent Git history tracking.

Does the automated Git commit Skill work without an existing Git environment?

No, the automated Git commit Skill requires an environment that supports Git commands. It performs version control operations only if changes exist and verifies that the necessary Git infrastructure is available before executing commits.

What is the best way to track specification updates in version control?

The best way to track specification updates in version control is using hook events to trigger automated staging and committing. This ensures frequent changes are captured immediately, maintaining a clean and consistent Git history for implementation progress.

Why does my automated Git commit not run after modifying specifications?

Automated Git commits may not run if no changes exist or if the environment lacks Git command support. The Skill verifies both conditions before execution, ensuring operations are performed only when valid modifications are present.

When do I need automated Git commits for Spec Kit workflows?

Automated Git commits for Spec Kit workflows are needed during frequent specification updates and implementation progress tracking. This approach reduces manual intervention, ensuring consistent version control practices when developers modify specifications through Spec Kit commands.