git-workflow
하는 일
이 스킬은 팀 프로젝트에서 Git을 사용하는 방법을 정리합니다. 명확한 커밋 메시지 작성부터 브랜치 관리까지 다룹니다. 일관되고 추적 가능한 버전 관리를 원하는 개발자를 위한 것입니다.
사용하는 경우
- ✓Git 커밋을 하려고 하고 표준적이고 명확한 메시지가 필요할 때.
- ✓기능이나 수정을 위해 브랜치를 만들거나, 이름 짓거나, 관리해야 할 때.
- ✓풀 리퀘스트 작업 흐름이나 병합 충돌을 처리할 때.
스킬 링크
https://github.com/Galaxy-Dawn/claude-scholar/blob/main/skills/git-workflow/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“captcha 새로 고침 버그를 고치는 제 변경에 맞는 올바른 커밋 메시지를 써 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 프로젝트의 커밋 유형, 범위, 제목 규칙을 따르고, 기록을 추적하기 쉽게 유지하도록 명확한 브랜치와 병합 방식을 사용합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Git Workflow Standards
This document defines the project's Git usage standards, including commit message format, branch management strategy, workflows, merge strategies, and more. Following these standards improves collaboration efficiency, enables traceability, supports automation, and reduces conflicts.
Commit Message Standards
The project follows the Conventional Commits specification:
<type>(<scope>): <subject>
<body>
<footer>
Type Reference
| Type | Description | Example |
|---|---|---|
feat |
New feature | feat(user): add user export functionality |
fix |
Bug fix | fix(login): fix captcha not refreshing |
docs |
Documentation update | docs(api): update API documentation |
refactor |
Refactoring | refactor(utils): refactor utility functions |
perf |
Performance improvement | perf(list): optimize list performance |
test |
Test related | test(user): add unit tests |
chore |
Other changes | chore: update dependency versions |
Subject Rules
- Start with a verb: add, fix, update, remove, optimize
- No more than 50 characters
- No period at the end
For more detailed conventions and examples, see references/commit-conventions.md.
Branch Management Strategy
Branch Types
| Branch Type | Naming Convention | Description | Lifecycle |
|---|---|---|---|
| master | master |
Main branch, releasable state | Permanent |
| develop | develop |
Development branch, latest integrated code | Permanent |
| feature | feature/feature-name |
Feature branch | Delete after completion |
| bugfix | bugfix/issue-description |
Bug fix branch | Delete after fix |
| hotfix | hotfix/issue-description |
Emergency fix branch | Delete after fix |
| release | release/version-number |
Release branch | Delete after release |
Branch Naming Examples
feature/user-management # User management feature
feature/123-add-export # Issue-linked feature
bugfix/login-error # Login error fix
hotfix/security-vulnerability # Security vulnerability fix
release/v1.0.0 # Version release
Branch Protection Rules
master branch:
- No direct pushes allowed
- Must merge via Pull Request
- Must pass CI checks
- Requires at least one Code Review approval
develop branch:
- Direct pushes restricted
- Pull Request merges recommended
- Must pass CI checks
For detailed branch strategies and workflows, see references/branching-strategies.md.
Workflows
Daily Development Workflow
# 1. Sync latest code
git checkout develop
git pull origin develop
# 2. Create feature branch
git checkout -b feature/user-management
# 3. Develop and commit
git add .
git commit -m "feat(user): add user list page"
# 4. Push to remote
git push -u origin feature/user-management
# 5. Create Pull Request and request Code Review
# 6. Merge to develop (via PR)
# 7. Delete feature branch
git branch -d feature/user-management
git push origin -d feature/user-management
Hotfix Workflow
# 1. Create fix branch from master
git checkout master
git pull origin master
git checkout -b hotfix/critical-bug
# 2. Fix and commit
git add .
git commit -m "fix(auth): fix authentication bypass vulnerability"
# 3. Merge to master
git checkout master
git merge --no-ff hotfix/critical-bug
git tag -a v1.0.1 -m "hotfix: fix authentication bypass vulnerability"
git push origin master --tags
# 4. Sync to develop
git checkout develop
git merge --no-ff hotfix/critical-bug
git push origin develop
Release Workflow
# 1. Create release branch
git checkout develop
git checkout -b release/v1.0.0
# 2. Update version numbers and documentation
# 3. Commit version update
git add .
git commit -m "chore(release): prepare release v1.0.0"
# 4. Merge to master
git checkout master
git merge --no-ff release/v1.0.0
git tag -a v1.0.0 -m "release: v1.0.0 official release"
git push origin master --tags
# 5. Sync to develop
git checkout develop
git merge --no-ff release/v1.0.0
git push origin develop
Merge Strategy
Merge vs Rebase
| Feature | Merge | Rebase |
|---|---|---|
| History | Preserves complete history | Linear history |
| Use case | Public branches | Private branches |
| Recommended for | Merging to main branch | Syncing upstream code |
Recommendations
- Feature branch syncing develop: Use
rebase - Feature branch merging to develop: Use
merge --no-ff
자주 묻는 질문
Conventional Commits란 무엇인가요?
유형, 선택적인 범위, 짧은 제목으로 이루어진 커밋 형식이며, fix나 feat 같은 것이 있습니다.
제목 길이 규칙은 무엇인가요?
제목은 동사로 시작하고, 50자 미만이어야 하며, 끝에 마침표를 찍지 않습니다.
병합 전략도 다루나요?
네. 브랜치 전략과 병합 방식도 함께 다룹니다.
상세 정보
작성자의 원본 설명
This skill should be used when the user asks to "create git commit", "manage branches", "follow git workflow", "use Conventional Commits", "handle merge conflicts", or asks about git branching strategies, version control best practices, pull request workflows. Provides comprehensive Git workflow guidance for team collaboration.
인기도
- GitHub 스타
- 6.0k
- 순위
- #14487
- 라이선스
- MIT
- 업데이트
- 2026. 10. 19.
댓글
- …
이 저장소의 다른 스킬
agent-identifier
6.0k에이전트가 이름, 트리거 설명, 시스템 프롬프트, 설정을 올바르게 갖춘 Claude Code 에이전트를 만들도록 가르칩니다.
architecture-design
6.0k에이전트가 등록 가능한 부품을 추가할 때 팩토리와 레지스트리 패턴을 쓰는 머신러닝 프로젝트 구조를 가르칩니다.
bug-detective
6.0k에이전트가 문제 이해, 증거 수집, 가설 검증, 수정 확인의 방법으로 코드 오류를 찾아 고치도록 돕습니다.
citation-verification
6.0k에이전트가 논문의 인용을 신뢰할 수 있는 자료와 대조해 가짜이거나 잘못된 참고 문헌을 찾도록 가르칩니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.