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

speckit-git-commit

하는 일

이 스킬은 Spec Kit 단계가 끝나면 프로젝트 변경 사항을 Git에 자동으로 저장합니다. Git을 쓰고 수동 커밋을 줄이고 싶은 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓Spec Kit 단계가 끝나고 그 변경 사항을 바로 Git에 저장하고 싶을 때.
  • ✓설정에서 특정 단계에 대해 자동 커밋을 켜거나 끄고 싶을 때.
  • ✓계획 단계마다 명확한 커밋 메시지를 갖게 하고 싶을 때.

스킬 링크

https://github.com/unoplatform/uno/blob/master/.claude/skills/speckit-git-commit/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-commit/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분.

작동 방식

이 스킬은 프로젝트 설정 파일에서 그 단계의 자동 커밋이 켜져 있는지 확인합니다. 켜져 있고 변경 사항이 있다면 스테이징한 뒤 커밋합니다.

기술 내용 (원본 SKILL.md)

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

Auto-Commit Changes

Automatically stage and commit all changes after a Spec Kit command completes.

Behavior

This command is invoked as a hook after (or before) core commands. It:

  1. Determines the event name from the hook context (e.g., if invoked as an after_specify hook, the event is after_specify; if before_plan, the event is before_plan)
  2. Checks .specify/extensions/git/git-config.yml for the auto_commit section
  3. Looks up the specific event key to see if auto-commit is enabled
  4. Falls back to auto_commit.default if no event-specific key exists
  5. Uses the per-command message if configured, otherwise a default message
  6. If enabled and there are uncommitted changes, runs git add . + git commit

Execution

Determine the event name from the hook that triggered this command, then run the script:

  • Bash: .specify/extensions/git/scripts/bash/auto-commit.sh <event_name>
  • PowerShell: .specify/extensions/git/scripts/powershell/auto-commit.ps1 <event_name>

Replace <event_name> with the actual hook event (e.g., after_specify, before_plan, after_implement).

Configuration

In .specify/extensions/git/git-config.yml:

auto_commit:
  default: false          # Global toggle — set true to enable for all commands
  after_specify:
    enabled: true          # Override per-command
    message: "[Spec Kit] Add specification"
  after_plan:
    enabled: false
    message: "[Spec Kit] Add implementation plan"

Graceful Degradation

  • If Git is not available or the current directory is not a repository: skips with a warning
  • If no config file exists: skips (disabled by default)
  • If no changes to commit: skips with a message
자주 묻는 질문

켜야 하나요?

자동 커밋은 설정 파일로 조절합니다. 모든 단계에 켜거나 일부 단계에만 켤 수 있습니다.

변경 사항이 없으면 어떻게 되나요?

커밋되지 않은 변경 사항이 없으면 스킬은 아무것도 하지 않습니다.

메시지를 바꿀 수 있나요?

네. 각 단계마다 설정에서 자체 커밋 메시지를 정할 수 있습니다.

상세 정보

작성자의 원본 설명

Auto-commit changes after a Spec Kit command completes

repo: unoplatform/uno

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬