using-git-worktrees
격리된 git 작업 공간 생성
Également disponible depuis: Doyajin174,DYAI2025,Cygnusfear,CodingCossack,Cycleaddict,ZhanlinCui,davila7,sickn33
git 브랜치 전환 없이 여러 기능을 동시에 개발합니다. 이 스킬은 깔끔하고 격리된 worktree를 자동 프로젝트 설정 및 테스트 기준선 검증과 함께 생성합니다.
Télécharger le ZIP du skill
Importer dans Claude
Allez dans Paramètres → Capacités → Skills → Importer un skill
Activez et commencez à utiliser
Tester
Utilisation de "using-git-worktrees". Create an isolated worktree for the user-auth feature
Résultat attendu:
- Worktree ready at /projects/myapp/.worktrees/user-auth
- Tests passing (47 tests, 0 failures)
- Ready to implement user-auth feature
Utilisation de "using-git-worktrees". Set up worktree for refactoring in global directory
Résultat attendu:
- Worktree ready at ~/.config/superpowers/worktrees/myapp/refactor/api-cleanup
- Cargo test baseline: 234 passing, 0 failures
- Workspace prepared for API refactoring
Utilisation de "using-git-worktrees". Create worktree with package.json detection
Résultat attendu:
- Detected Node.js project
- Running npm install
- Test baseline: 156 passing, 2 skipped
- Worktree ready for feature development
Audit de sécurité
SûrThis is legitimate Git worktree management documentation. All 53 static findings are FALSE POSITIVES. The patterns detected (shell commands, filesystem paths) are standard git operations with hardcoded arguments in documentation format. The 'C2 keywords' alerts are triggered by common computing terms like 'command' and 'control' in version control context. The 'weak cryptographic algorithm' alerts misinterpret text content (SHA256 hashes, words like 'encrypt') as code. This skill teaches safe git practices with proper safety verification using git check-ignore.
Facteurs de risque
⚡ Contient des scripts (1)
📁 Accès au système de fichiers (1)
⚙️ Commandes externes (1)
Score de qualité
Ce que vous pouvez construire
병렬 기능 개발
작업 공간 간 깔끔한 격리로 여러 기능을 동시에 작업
격리된 리뷰 브랜치
메인 작업 공간에 영향을 주지 않고 풀 리퀘스트를 테스트하기 위한 임시 worktree 생성
일관된 브랜치 설정
자동화된 설정 및 안전 검증을 통한 표준화된 worktree 생성
Essayez ces prompts
로그인 기능 구현을 위한 격리된 git worktree 생성
API 리팩토링을 위한 worktree 설정. 기존 .worktrees 디렉토리 사용하고 npm install 자동 실행
핫픽스를 위한 글로벌 worktrees 디렉토리에 worktree 생성
기능 브랜치 worktree 생성, gitignore 확인, npm install 실행, 테스트 기준선 통과 확인
Bonnes pratiques
- 생성 전 worktree 디렉토리가 gitignore되어 있는지 항상 확인
- 근접성을 위해 가능하면 프로젝트 로컬 디렉토리(.worktrees/) 사용
- worktree가 알려진 좋은 상태에서 시작하도록 테스트 기준선 실행
- 우선순위 따르기: 기존 디렉토리 > CLAUDE.md 설정 > 사용자 선택
Éviter
- 프로젝트 로컬 디렉토리에 대해 git check-ignore 검증 건너뛰기
- 사용자 동의 없이 테스트 실패 시 worktree 생성 진행
- 하드코딩된 설정 명령 사용 대신 프로젝트 유형 자동 감지
- 기존 규칙 확인 없이 ���렉토리 위치 가정