skills/doyajin174/using-git-worktrees/SKILL.md
Create isolated git worktrees with smart directory selection and safety verification. Use this when starting feature work that needs isolation, parallel development, or safe experimentation.
npx skillsauth add aiskillstore/marketplace using-git-worktreesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Git worktree를 사용한 격리된 개발 환경 생성 가이드입니다.
# 1. worktree 디렉토리 확인/생성
ls -la ../worktrees/ 2>/dev/null || mkdir -p ../worktrees
# 2. 새 worktree 생성
git worktree add ../worktrees/feature-name -b feature/feature-name
# 3. worktree로 이동
cd ../worktrees/feature-name
# 4. 작업 완료 후 정리
git worktree remove ../worktrees/feature-name
project-root/
├── .git/ # 메인 저장소
├── src/ # 메인 작업 디렉토리
└── ...
../worktrees/ # worktree 전용 디렉토리
├── feature-auth/ # 인증 기능 작업
├── feature-api/ # API 개발
└── hotfix-critical/ # 긴급 수정
../worktrees/{type}-{name}
types:
- feature-* 기능 개발
- hotfix-* 긴급 수정
- experiment-* 실험적 변경
- review-* 코드 리뷰용
# 1. 현재 상태 확인
git status # 미커밋 변경사항 확인
git stash list # stash 상태 확인
# 2. 브랜치 존재 여부 확인
git branch -a | grep feature-name
# 3. worktree 목록 확인
git worktree list
# 1. worktree 상태 확인
git worktree list
# 2. 현재 브랜치 확인
git branch
# 3. 원격 연결 확인
git remote -v
# 1. 최신 main 기준으로 worktree 생성
git fetch origin
git worktree add ../worktrees/feature-x -b feature/x origin/main
# 2. 의존성 설치 (프로젝트에 따라)
cd ../worktrees/feature-x
npm install # 또는 pip install -r requirements.txt
# 3. 개발 시작
code . # 또는 원하는 에디터
# PR 브랜치를 별도 worktree로
git worktree add ../worktrees/review-pr-123 origin/feature/pr-123
cd ../worktrees/review-pr-123
# 테스트 실행, 코드 검토
# 현재 작업 중단 없이 hotfix
git worktree add ../worktrees/hotfix-critical -b hotfix/critical origin/main
cd ../worktrees/hotfix-critical
# 수정 → 커밋 → PR
# 1. worktree 제거
git worktree remove ../worktrees/feature-x
# 2. 브랜치도 삭제하려면
git branch -d feature/x
# 1. 모든 worktree 목록
git worktree list
# 2. 정리 (삭제된 worktree 참조 제거)
git worktree prune
# 3. 미사용 worktree 디렉토리 삭제
rm -rf ../worktrees/old-feature
git worktree prune
../worktrees/에| 문제 | 해결책 |
|------|--------|
| "already checked out" | 다른 worktree에서 사용 중, 다른 브랜치명 사용 |
| "not a valid ref" | git fetch 먼저 실행 |
| 의존성 오류 | worktree에서 새로 설치 필요 |
| 변경사항 충돌 | 메인에서 stash 또는 commit 후 진행 |
development
Apple Human Interface Guidelines for content display components. Use this skill when the user asks about charts component, collection view, image view, web view, color well, image well, activity view, lockup, data visualization, content display, displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says how should I display charts, what's the best way to show images, should I use a web view, how do I build a grid of items, what component shows media, or how do I present a share sheet. Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.
tools
Automate HelpDesk tasks via Rube MCP (Composio): list tickets, manage views, use canned responses, and configure custom fields. Always search tools first for current schemas.
testing
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
tools
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.