speckit-git-initialize

Initialize a Git repository with an initial commit in the current directory.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/chaimt/GarminShabbatMode --skill speckit-git-initialize-chaimt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-git-initialize
Source: https://github.com/chaimt/GarminShabbatMode/tree/main/.cursor/skills/speckit-git-initialize
Command: npx skills add https://github.com/chaimt/GarminShabbatMode --skill speckit-git-initialize-chaimt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Initialize a Git repository for a project directory that currently has no version control, enabling tracking of changes from the first commit.

Core Features & Use Cases

  • Initializes a new Git repository in the current project directory if none exists.
  • Performs the initial commit with a standard message to establish the baseline history.
  • Gracefully degrades when Git is unavailable or the directory is already a repository.

Quick Start

Run this skill at project setup to initialize a new Git repository in the current directory with an initial commit.

Frequently Asked Questions about speckit-git-initialize

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

FAQPage Schema
How do I initialize a Git repository and make the first commit?

Yes, if the directory already contains a Git repository, the skill gracefully degrades and skips the initialization process to avoid overwriting your existing version control history and tracked changes.

What happens if Git is not installed on my system?

If Git is unavailable on your system, the skill gracefully degrades by safely skipping the repository initialization process rather than throwing errors or failing the project setup workflow.

When should I set up version control for a new project directory?

You should set up version control during project setup and onboarding to ensure a clean version-controlled baseline exists before development begins, capturing all initial files in a first commit.

Does this automation tool work with existing project directories?

Yes, it works with existing project directories by staging all current files via git add and committing them, but it will skip execution if it detects the folder is already a Git repository.