speckit-git-commit

Stage and commit git changes after Spec Kit commands via YAML configuration.

7.9k|1.5k|Updated Oct 1, 2018
One-click install
npx skills add https://github.com/elsa-workflows/elsa-core --skill speckit-git-commit-elsa-workflows
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-git-commit
Source: https://github.com/elsa-workflows/elsa-core/tree/main/.agents/skills/speckit-git-commit
Command: npx skills add https://github.com/elsa-workflows/elsa-core --skill speckit-git-commit-elsa-workflows

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the process of staging and committing code changes after completing Spec Kit commands, reducing manual effort and minimizing errors.

Core Features & Use Cases

  • Automatic Git Commit: Detects uncommitted changes after specific hooks and commits them with optional custom messages.
  • Flexible Configuration: Supports per-command settings via YAML config, enabling customized commit messages and toggles.
  • Use Case: Developers working within a Spec Kit project can set up automatic commits to track changes seamlessly after each specification or planning step, maintaining a clean version history.

Quick Start

Use this Skill to automatically commit all current changes to your Git repository after completing a Spec Kit command by configuring the relevant YAML settings and hooking into your workflow.

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?

Automating git commits after spec kit commands requires configuring YAML settings to hook into your workflow, which stages and commits code changes automatically. This streamlines version control by reducing manual effort and minimizing errors after each specification step.

Can I customize commit messages for each spec kit workflow step?

Custom commit messages for each spec kit workflow step are supported through flexible per-command YAML configuration. This allows you to define specific commit messages and toggles for different commands, maintaining a clean and descriptive version history.

Do I need git CLI tools to automate version control in my spec kit project?

Git CLI tools are required to automate version control in your spec kit project. The automation relies on the git CLI to detect uncommitted changes after specific hooks and execute the staging and committing processes effectively.

What is the best way to maintain a clean version history during specification planning?

Maintaining a clean version history during specification planning is best achieved by automating code commits after each step. By hooking into your workflow and using custom YAML configurations, you ensure changes are tracked seamlessly without manual intervention.

Why should I integrate automated version control into my testing and documentation workflows?

Integrating automated version control into testing and documentation workflows ensures uncommitted changes are tracked immediately after specific hooks. This reduces manual effort, prevents forgotten commits, and keeps your repository clean throughout the development lifecycle.