speckit-git-initialize

Initialize a Git repository with an initial commit for Specify projects.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It removes the friction of manually running Git setup commands by automatically creating a Git repository and an initial commit when you start a new project.

Core Features & Use Cases

  • Auto-detects Git presence and existing repositories: Skips initialization when Git is unavailable or when the project is already inside a Git repo.
  • Creates an initial commit reliably: Runs git init, stages files, and creates a commit with a consistent message.
  • Uses extension scripts when available: Prefers Specify extension scripts for Bash/PowerShell and otherwise falls back to direct git commands.

Use case: You’ve generated a new Specify-style project and want it to be version-controlled immediately for team collaboration or CI without remembering the exact Git bootstrap steps.

Quick Start

Tell the assistant to initialize Git for your current Specify project using the speckit-git-initialize skill.

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 with an initial commit for a new project?

To initialize a Git repository with an initial commit, this skill runs git init, stages files, and creates a commit automatically. It supports fresh project bootstrapping via Bash or PowerShell without manual git commands.

Does this Git initialization skill work with both Bash and PowerShell?

Yes, this Git initialization skill works with both Bash and PowerShell. It automatically prefers Specify extension initialization scripts when present, falling back to standard git commands.

What happens if I already have a Git repository in my project directory?

If a Git repository already exists in your project directory, the initialization process detects the existing repo state and skips initialization. It verifies Git availability and existing repo status before attempting any operations.

Can I automate repository initialization for Specify-based projects?

Yes, you can automate repository initialization for Specify-based projects. The skill targets fresh project bootstrapping, applying extension initialization scripts when available to create a clean first commit for team collaboration.

Why does my Git repository initialization fail partway through the setup?

Git repository initialization fails fast if init, add, or commit operations encounter an error. This fail-fast behavior prevents partial setups by aborting the process immediately when git operations fail.