speckit-git-initialize

Initialize a Git repository with an initial commit in Bash or PowerShell.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of a Git repository in a project, ensuring a clean initial state without manual setup.

Core Features & Use Cases

  • Initializes a new Git repository when none exists, including an initial commit.
  • Supports Bash and PowerShell environments via provided scripts, with sensible fallbacks if scripts are missing.
  • Use Case: On starting a new project, auto-create the repository and commit the starter files to establish a baseline.

Quick Start

Initialize a repository in the current project folder.

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 an initial commit automatically?

To initialize a Git repository automatically, this Skill checks for an existing repository in your project directory and creates one with a standard initial commit if none exists. It uses provided scripts or sensible fallbacks to establish the baseline.

Can I auto-create a Git repository across both Bash and PowerShell environments?

Yes, you can auto-create a Git repository across Bash and PowerShell environments. The Skill uses provided initialize-repo scripts tailored for each shell, applying sensible fallbacks to ensure the repository and initial commit are created successfully.

Does initializing a new repository overwrite an existing Git history?

No, initializing a repository does not overwrite existing Git history. The Skill explicitly checks for an existing repository before taking action, ensuring your current project history remains safe and untouched if a repository is already present.

What do I need to set up a new project repository with an initial commit?

To set up a new project repository, you need Git installed and available in your environment. The Skill handles the repository creation and commits the starter files automatically, requiring no additional dependencies or manual configuration steps.

Why use an automated script to initialize a Git repository instead of manual git commands?

Using an automated script to initialize a Git repository ensures a clean, consistent initial state without manual setup. It prevents configuration errors, saves time during new project scaffolding, and guarantees a baseline commit is always recorded.