What problem does it solve?
It removes the friction of getting a new project under version control by automatically setting up Git and creating an initial commit.
Core Features & Use Cases
- Automatic Git repository bootstrap: Detects whether Git is available and whether the current directory is already inside a Git repository, then initializes only when appropriate.
- Initial commit creation: Runs
git init, stages project files, and creates a first commit with a consistent message when initialization is needed.
- Graceful fallback behavior: Continues functioning without Git if Git is not installed, and stops with an error if Git commands fail to avoid leaving a partially initialized repo.
Example use case: After generating a new Specify/spec-kit project, initialize version control immediately so you can start tracking changes and sharing the codebase.
Quick Start
Tell the assistant to run the speckit-git-initialize skill in your project root to initialize Git and create an initial commit.