Git 버전 관리 모범 관례 및 워크플로우 가이드.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versiongitExecute the skills CLI command in your project's root directory to begin installation:
Fetches git from dalestudy/skills and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate git. Access via /git in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
0
total installs
0
this week
4
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
4
stars
Git 버전 관리 모범 관례 및 워크플로우 가이드.
커밋 메시지는 <type>: <description> 형식을 따른다:
feat: add form validation to login page
fix: prevent duplicate email check error on signup
docs: add installation guide to README
refactor: extract auth logic into separate module
test: add payment feature tests
chore: update dependencies
| 타입 | 설명 | 예시 |
|---|---|---|
feat |
새로운 기능 추가 | feat: add dark mode support |
fix |
버그 수정 | fix: prevent token deletion on logout |
docs |
문서 변경 (코드 변경 없음) | docs: update API documentation |
style |
코드 포맷팅, 세미콜론 누락 (동작 변경 X) | style: apply ESLint rules |
refactor |
리팩토링 (기능 변경 없음) | refactor: extract utility functions |
test |
테스트 코드 추가/수정 | test: add login API tests |
chore |
빌드, 설정 변경 (src 변경 없음) | chore: update Webpack config |
perf |
성능 개선 | perf: implement lazy loading for images |
<type>(<scope>): <subject>
<body>
<footer>
예시:
feat(auth): implement JWT-based authentication
- Issue access and refresh tokens
- Store refresh tokens in Redis
- Add token renewal API endpoint
Closes #123
# ❌ 타입 누락
git commit -m "bug fix"
# ❌ 모호한 설명
git commit -m "fix: fix issue"
# ❌ 한 커밋에 여러 작업
git commit -m "feat: implement login, signup, and password reset"
# ✅ 명확하고 단일 책임
git commit -m "feat: add form validation to login page"
Feat: (X) → feat: (O)feat: add feature. (X) → feat: add feature (O)main (항상 배포 가능한 상태)
├── feature/login-form
├── fix/payment-error
└── refactor/user-service
새 저장소 생성 시 기본 브랜치는 main을 사용한다 (과거의 master 대신):
# 새 저장소 초기화 시 main 브랜치로 시작
git init -b main
# 또는 기존 저장소에서 기본 브랜치 변경
git branch -m master main
git push -u origin main
# Git 전역 설정 (모든 새 저장소에 적용)
git config --global init.defaultBranch main
참고: GitHub, GitLab, Bitbucket 등 대부분의 Git 호스팅 서비스는 2020년부터 기본 브랜치를 main으로 사용한다.
# 형식: <type>/<description>
feature/user-authentication
fix/header-layout-bug
refactor/payment-module
docs/api-documentation
test/user-service
chore/update-dependencies
# 1. main에서 최신 상태 받기
git switch main
git pull origin main
# 2. 새 브랜치 생성
git switch -c feature/dark-mode
# 3. 작업 후 커밋
git add .
git commit -m "feat: add dark mode toggle button"
# 4. 원격 브랜치에 푸시
git push origin feature/dark-mode
# 5. GitHub에서 PR 생성
gh pr create --title "feat: add dark mode support" --body "..."
# 6. 코드 리뷰 후 main에 병합 (GitHub UI 또는 CLI)
gh pr merge <PR번호> --squash # 또는 --merge, --rebase
# 7. 로컬 main 업데이트 및 브랜치 삭제
git switch main
git pull origin main
git branch -d feature/dark-mode
| 전략 | 설명 | 언제 사용 |
|---|---|---|
| Squash | 모든 커밋을 하나로 합침 | 기능 브랜치 (권장) |
| Merge | 병합 커밋 생성, 히스토리 보존 | 릴리스 브랜치 |
| Rebase | 선형 히스토리 유지, 병합 커밋 X | 간단한 변경, 깔끔한 히스토리 |
# Squash (권장 - 기능 단위로 커밋 정리)
gh pr merge 123 --squash
# Merge (히스토리 보존)
gh pr merge 123 --merge
# Rebase (선형 히스토리)
gh pr merge 123 --rebase
# 최근 3개 커밋 수정
git rebase -i HEAD~3
# 에디터에서 명령어 선택
# pick → 커밋 유지
# reword → 커밋 메시지 수정
# edit → 커밋 수정
# squash → 이전 커밋에 합침
# fixup → 이전 커밋에 합침 (메시지 제거)
# drop → 커밋 삭제
예시:
# Before
pick a1b2c3d feat: implement login feature
pick d4e5f6g fix: typo in variable name
pick g7h8i9j fix: rename variable for clarity
# After (squash 사용)
pick a1b2c3d feat: implement login feature
fixup d4e5f6g fix: typo in variable name
fixup g7h8i9j fix: rename variable for clarity
# 1. main 최신화
git switch main
git pull origin main
# 2. feature 브랜치를 main 위로 rebase
git switch feature/my-feature
git rebase main
# 3. 충돌 발생 시
# - 파일 수정 후
git add .
git rebase --continue
# - rebase 취소하고 싶다면
git rebase --abort
# 다른 브랜치의 커밋 하나만 적용
git cherry-pick <commit-hash>
# 여러 커밋 적용
git cherry-pick <commit-hash1> <commit-hash2>
# 충돌 발생 시
git add .
git cherry-pick --continue
# 마지막 커밋 메시지만 수정
git commit --amend -m "fix: correct commit message"
# 마지막 커밋에 파일 추가
git add forgotten-file.ts
git commit --amend --no-edit
# ⚠️ 주의: 이미 push한 커밋은 amend 금지 (히스토리 변경됨)
# Reset - 커밋 취소 (히스토리 삭제)
git reset --soft HEAD~1 # 커밋만 취소, 변경사항 유지
git reset --mixed HEAD~1 # 커밋 + staging 취소, 변경사항 유지 (기본값)
git reset --hard HEAD~1 # 커밋 + 변경사항 모두 삭제 (위험!)
# ⚠️ push한 커밋은 reset 금지 → revert 사용
# Revert - 커밋을 되돌리는 새 커밋 생성 (히스토리 보존)
git revert <commit-hash>
git revert HEAD # 마지막 커밋 되돌리기
# main을 merge하거나 rebase할 때 충돌 발생
git merge main
# 또는
git rebase main
# Auto-merging src/index.ts
# CONFLICT (content): Merge conflict in src/index.ts
# 1. 충돌 파일 확인
git status
# 2. 파일 열어서 수동 수정
# <<<<<<< HEAD (현재 브랜치)
# 내 변경사항
# =======
# 상대 브랜치의 변경사항
# >>>>>>> main
# 3. 마커 제거하고 코드 수정
# 4. 해결된 파일 staging
git add src/index.ts
# 5. Merge 완료
git merge --continue
# 또는 Rebase 계속
git rebase --continue
# 현재 브랜치 변경사항 우선
git restore --ours <file>
# 상대 브랜치 변경사항 우선
git restore --theirs <file>
# merge 취소
git merge --abort
# rebase 취소
git rebase --abort
# 기존 브랜치로 전환
git switch main
git switch feature/my-feature
# 새 브랜치 생성 + 전환
git switch -c feature/new-feature
# 이전 브랜치로 돌아가기
git switch -
# 원격 브랜치 추적하며 전환
git switch -c local-branch origin/remote-branch
참고: Git 2.23+ (2019년 8월)부터 git switch를 사용한다. 기존 git checkout은 브랜치 전환, 파일 복원 등 여러 역할을 담당해 혼란을 야기했다. git switch는 브랜치 전환만 담당한다.
# 작업 디렉토리 파일 복원 (unstaged 변경사항 취소)
git restore <file>
# Staging 취소 (unstaged로 되돌림)
git restore --staged <file>
# 작업 디렉토리 + Staging 모두 복원
git restore --staged --worktree <file>
# 특정 커밋의 파일로 복원
git restore --source=<commit-hash> <file>
참고: git restore는 파일 복원 전용 명령어다. 기존 git checkout -- <file>을 대체한다.
git statMake data-driven prioritization decisions faster
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Prerequisites
Time Estimate
30-60 minutes to see productivity improvements
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid when
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
mattpocock/skills
parcadei/continuous-claude-v3
cursor/plugins
ailabs-393/ai-labs-claude-skills
ailabs-393/ai-labs-claude-skills
pproenca/dot-skills
git is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
Solid pick for teams standardizing on skills: git is focused, and the summary matches what you get after install.
git fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
I recommend git for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
Registry listing for git matched our evaluation — installs cleanly and behaves as described in the markdown.
git reduced setup friction for our internal harness; good balance of opinion and flexibility.
We added git from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
Keeps context tight: git is the kind of skill you can hand to a new teammate without a long onboarding doc.
git reduced setup friction for our internal harness; good balance of opinion and flexibility.
Registry listing for git matched our evaluation — installs cleanly and behaves as described in the markdown.
showing 1-10 of 27