speckit-git-initialize

Initialize a Git repository and create an initial commit.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Initializes a Git repository in the current project and creates an initial commit.

Core Features & Use Cases

  • Automatic repository initialization: creates a new Git repository if one does not already exist.
  • Initial commit: stages all files and commits with a standard initial message.
  • Safe operation: skips if already inside a Git repository or if Git is unavailable.
  • Customization: supports project-specific tweaks like default branch naming and ignore templates (via project config).

Quick Start

Run this skill from the project root to initialize a Git repository and create 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 automatically initialize a Git repository and create the initial commit?

To initialize a Git repository and create an initial commit, this skill validates Git availability, detects existing repositories, then runs git init, git add ., and git commit with a default message. It provides safe fallbacks if Git is unavailable or a repository already exists.

What happens if I run Git initialization inside an existing repository?

If you run this Git initialization inside an existing repository, the skill safely skips the operation. It detects existing repositories before executing git init and aborts to prevent overwriting your current version control history.

Can I customize the default branch naming and ignore templates when setting up a new project?

Yes, you can customize default branch naming and ignore templates during new project setup. The skill supports project-specific tweaks through project config files, allowing you to tailor the initial repository configuration to your workflow.

Does this skill work if Git is not installed on my development environment?

If Git is unavailable on your development environment, the skill applies safe fallbacks. It validates Git availability before attempting repository creation and skips the initialization process rather than failing or throwing errors.

What is the best way to migrate an existing project to version control?

To migrate an existing project to version control, run this skill from the project root. It handles initial repository creation and the first commit, staging all current files with a standard initial message to establish your version control baseline.

Why does Git initialization create a standard initial commit message instead of prompting me?

Git initialization uses a standard initial commit message to automate the repository setup process. This allows the skill to run non-interactively across different development environments, ensuring a consistent baseline commit without requiring manual input.