본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)10k · #12001

speckit-git-initialize

하는 일

이 스킬은 프로젝트 폴더에 Git 저장소를 시작하고, 처음 파일 묶음을 저장합니다. 처음부터 버전 기록을 갖고 싶은 새 프로젝트 시작자를 위한 스킬입니다.

사용하는 경우

  • ✓새 프로젝트 폴더를 시작하고 처음부터 Git 추적을 원할 때.
  • ✓아직 버전 관리가 되지 않은 프로젝트 폴더가 있을 때.
  • ✓프로젝트 파일과 함께 첫 커밋이 자동으로 만들어지기를 원할 때.

스킬 링크

https://github.com/unoplatform/uno/blob/master/.claude/skills/speckit-git-initialize/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/unoplatform/uno/blob/master/.claude/skills/speckit-git-initialize/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 새 프로젝트 폴더에 Git을 설정하고, 현재 파일로 첫 커밋을 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 스킬은 Git이 있는지, 폴더가 이미 저장소인지 확인합니다. 저장소가 아니라면 시작하고, 파일을 추가한 뒤 초기 커밋을 만듭니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Initialize Git Repository

Initialize a Git repository in the current project directory if one does not already exist.

Execution

Run the appropriate script from the project root:

  • Bash: .specify/extensions/git/scripts/bash/initialize-repo.sh
  • PowerShell: .specify/extensions/git/scripts/powershell/initialize-repo.ps1

If the extension scripts are not found, fall back to:

  • Bash: git init && git add . && git commit -m "Initial commit from Specify template"
  • PowerShell: git init; git add .; git commit -m "Initial commit from Specify template"

The script handles all checks internally:

  • Skips if Git is not available
  • Skips if already inside a Git repository
  • Runs git init, git add ., and git commit with an initial commit message

Customization

Replace the script to add project-specific Git initialization steps:

  • Custom .gitignore templates
  • Default branch naming (git config init.defaultBranch)
  • Git LFS setup
  • Git hooks installation
  • Commit signing configuration
  • Git Flow initialization

Output

On success:

  • ✓ Git repository initialized

Graceful Degradation

If Git is not installed:

  • Warn the user
  • Skip repository initialization
  • The project continues to function without Git (specs can still be created under specs/)

If Git is installed but git init, git add ., or git commit fails:

  • Surface the error to the user
  • Stop this command rather than continuing with a partially initialized repository
자주 묻는 질문

폴더가 이미 저장소라면 어떻게 되나요?

스킬은 설정을 건너뛰므로 기존 저장소를 바꾸지 않습니다.

Git이 설치되어 있지 않으면요?

스킬이 경고하고 계속 진행합니다. Git이 없어도 프로젝트는 작동합니다.

설정을 바꿀 수 있나요?

네. 스크립트를 바꿔 .gitignore 템플릿이나 서명 설정 같은 단계를 추가할 수 있다고 설명되어 있습니다.

상세 정보

작성자의 원본 설명

Initialize a Git repository with an initial commit

repo: unoplatform/uno

인기도

GitHub 스타
10k
순위
#12001
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬