원클릭으로
using-git-worktrees
Use Git worktrees to create parallel working directories safely; avoid branch-switch contamination.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use Git worktrees to create parallel working directories safely; avoid branch-switch contamination.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | using-git-worktrees |
| description | Use Git worktrees to create parallel working directories safely; avoid branch-switch contamination. |
Git worktree allows mounting multiple working directories onto the same repository simultaneously, each mapped to a different branch. This is ideal for parallel development and hotfixes.
../wt-<task>).git rev-parse --git-dir differs from git rev-parse --git-common-dir (they match in the main worktree). cd to the main worktree before adding.git rev-parse --show-superproject-working-tree is non-empty. Operate on the intended repo, not the submodule.git worktree list.../wt-<task>). If it must live inside the repo, verify it is ignored first: git check-ignore -q <path> (exit 0 = ignored). A non-ignored in-repo worktree pollutes the parent's git status and can be committed by accident.git worktree add ../wt-<task> -b <branch-name>git worktree remove ../wt-<task>Use 4-phase root cause analysis (Observe, Hypothesize, Verify, Fix); avoid unverified patches.
Behavioral guidelines to reduce common LLM coding mistakes — Think Before Coding, Simplicity First, Surgical Changes, Goal-Driven Execution.
Enforce "no evidence = no completion"; run Gate Function verification before declaring done.
Pre-ship observability readiness checklist — ensures errors reach production monitoring, not just debug consoles.
Adversarial security and resilience analysis — auto-triggered during /review and /test based on task classification. Provides attack surface analysis, boundary testing, auth bypass attempts, dependency chain attacks, and Beast Mode stress testing.
Evaluate when to dispatch parallel agents; use a 4-step pattern to split, coordinate, and integrate results.