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가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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:
- Determines the event name from the hook context (e.g., if invoked as an
after_specifyhook, the event isafter_specify; ifbefore_plan, the event isbefore_plan) - Checks
.specify/extensions/git/git-config.ymlfor theauto_commitsection - Looks up the specific event key to see if auto-commit is enabled
- Falls back to
auto_commit.defaultif no event-specific key exists - Uses the per-command
messageif configured, otherwise a default message - 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
자주 묻는 질문
켜야 하나요?
자동 커밋은 설정 파일로 조절합니다. 모든 단계에 켜거나 일부 단계에만 켤 수 있습니다.
변경 사항이 없으면 어떻게 되나요?
커밋되지 않은 변경 사항이 없으면 스킬은 아무것도 하지 않습니다.
메시지를 바꿀 수 있나요?
네. 각 단계마다 설정에서 자체 커밋 메시지를 정할 수 있습니다.
상세 정보
인기도
- GitHub 스타
- 10k
- 순위
- #11999
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
speckit-analyze
10k에이전트가 기능 명세, 계획, 작업 목록이 서로 맞는지 확인하고 빠진 부분을 찾되, 파일은 변경하지 않도록 돕습니다.
speckit-checklist
10k에이전트가 개발 시작 전에 기능의 요구 사항이 명확하고, 빠짐없고, 일관적인지 점검하는 맞춤 체크리스트를 만들도록 돕습니다.
speckit-clarify
10k에이전트가 기능 명세에서 모호한 부분을 찾고, 최대 다섯 개의 핵심 질문을 한 뒤 답을 명세에 적어 넣도록 돕습니다.
speckit-constitution
10k에이전트가 핵심 원칙을 담은 짧은 프로젝트 헌법을 작성하거나 업데이트하고, 관련 계획 템플릿이 그에 맞도록 유지하도록 돕습니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.