Compétences using-git-worktrees
🌳

using-git-worktrees

Sûr ⚡ Contient des scripts📁 Accès au système de fichiers⚙️ Commandes externes

격리된 git 작업 공간 생성

Également disponible depuis: Doyajin174,DYAI2025,Cygnusfear,CodingCossack,Cycleaddict,ZhanlinCui,davila7,sickn33

git 브랜치 전환 없이 여러 기능을 동시에 개발합니다. 이 스킬은 깔끔하고 격리된 worktree를 자동 프로젝트 설정 및 테스트 기준선 검증과 함께 생성합니다.

Prend en charge: Claude Codex Code(CC)
📊 69 Adéquat
1

Télécharger le ZIP du skill

2

Importer dans Claude

Allez dans Paramètres → Capacités → Skills → Importer un skill

3

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ûr
v5 • 1/17/2026

This 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.

2
Fichiers analysés
425
Lignes analysées
3
résultats
5
Total des audits

Facteurs de risque

⚡ Contient des scripts (1)
📁 Accès au système de fichiers (1)
⚙️ Commandes externes (1)

Score de qualité

38
Architecture
100
Maintenabilité
85
Contenu
21
Communauté
100
Sécurité
91
Conformité aux spécifications

Ce que vous pouvez construire

병렬 기능 개발

작업 공간 간 깔끔한 격리로 여러 기능을 동시에 작업

격리된 리뷰 브랜치

메인 작업 공간에 영향을 주지 않고 풀 리퀘스트를 테스트하기 위한 임시 worktree 생성

일관된 브랜치 설정

자동화된 설정 및 안전 검증을 통한 표준화된 worktree 생성

Essayez ces prompts

기본 Worktree
로그인 기능 구현을 위한 격리된 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 생성 진행
  • 하드코딩된 설정 명령 사용 대신 프로젝트 유형 자동 감지
  • 기존 규칙 확인 없이 ���렉토리 위치 가정

Foire aux questions

git worktree란 무엇입니까?
Git worktree는 추가 작업 트리를 생성하여 동일한 리포지토리를 공유하므로, git checkout 없이 병렬 브랜치 작업을 가능하게 합니다.
글로벌 worktree보다 프로젝트 로컬을 사용하는 이유는 무엇입니까?
프로젝트 로컬은 worktree를 코드베이스와 함께 유지합니다. 글로벌은 프로젝트 간 작동하지만 경로 탐색이 필요합니다.
모든 git 프로젝트에서 작동합니까?
git 2.5+가 필요합니다. GitHub, GitLab, Bitbucket을 포함한 모든 git 호스팅 플랫폼에서 작동합니다.
테스트 실패 시 어떻게 됩니까?
실패를 보고하고 기능 작업을 시작하기 전 진행할지 조사할지 여부를 질문합니다.
안전성 검증은 어떻게 작동합니까?
git check-ignore를 사용하여 worktree 디렉토리가 gitignore되어 있는지 확인하여 의도치 않은 커밋을 방지합니다.
worktree 위치를 사용자 지정할 수 있습니까?
네, CLAUDE.md에 worktree 디렉토리 설정을 추가하거나 프롬프트에서 선택하세요.

Détails du développeur

Structure de fichiers

📄 SKILL.md