speckit-git-initialize

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

180|11|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/serverless-dna/tendril --skill speckit-git-initialize-serverless-dna
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-git-initialize
Source: https://github.com/serverless-dna/tendril/tree/main/.agents/skills/speckit-git-initialize
Command: npx skills add https://github.com/serverless-dna/tendril --skill speckit-git-initialize-serverless-dna

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation of a Git repository for a project that is not yet under version control, ensuring a clean starting point with an initial commit.

Core Features & Use Cases

  • Checks for Git availability and environment readiness.
  • Initializes a repository with git init, adds all files, and makes an initial commit.
  • Supports extension-script-based initialization or falls back to standard git commands.
  • Gracefully handles cases where a repository already exists or Git is unavailable.

Quick Start

From the project root, run the speckit-git-initialize command to create a new Git repository 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 with an initial commit?

To initialize a Git repository, the command runs git init, stages all files with git add ., and creates an initial commit automatically. It uses extension scripts if present or falls back to standard git commands to establish version control.

What happens if I run git initialization in a directory that already has version control?

Running git initialization in an existing repository avoids reinitializing the project. The process detects existing version control and gracefully skips the setup to prevent overwriting your current commit history.

Do I need Git installed before automating repository initialization?

Yes, you need Git installed before automating repository initialization. The process checks for Git availability and environment readiness, surfacing an error if the version control system is uninstalled or unavailable.

Can I use custom scripts for repository initialization instead of standard git commands?

Yes, you can use custom scripts for repository initialization. The process supports extension-script-based initialization, automatically applying your custom scripts when present before falling back to standard git init and commit commands.

Why does automated repository initialization fail on my project?

Automated repository initialization fails when Git is unavailable in your environment or when errors occur during the init, add, or commit stages. The process surfaces these initialization errors directly to help you resolve environment issues.