Initialize a Git repository with an initial commit
63
48%
Does it follow best practices?
Impact
90%
1.26xAverage score across 3 eval scenarios
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./.claude/skills/speckit-git-initialize/SKILL.mdInitialize a Git repository in the current project directory if one does not already exist.
Run the appropriate script from the project root:
.specify/extensions/git/scripts/bash/initialize-repo.sh.specify/extensions/git/scripts/powershell/initialize-repo.ps1If the extension scripts are not found, fall back to:
git init && git add . && git commit -m "Initial commit from Specify template"git init; git add .; git commit -m "Initial commit from Specify template"The script handles all checks internally:
git init, git add ., and git commit with an initial commit messageReplace the script to add project-specific Git initialization steps:
.gitignore templatesgit config init.defaultBranch)On success:
✓ Git repository initializedIf Git is not installed:
specs/)If Git is installed but git init, git add ., or git commit fails:
3ce3191
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.