소스 정보
- 저장소
- dlt-hub/dlt
- 최근 소스 활동
- 2026년 2월 18일 10:43
- 감지된 SKILL.md 언어
- 영어
- 스타
- 6,024
- 포크
- 637
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- switch-worktree
- description
- Switch the current session to work in an existing git worktree
- argument-hint
- <worktree-name>
# Switch to worktree
Switch the current session to an existing worktree.
## Steps
### 1. Resolve the worktree
If `$ARGUMENTS` is empty, list available worktrees and ask the user to pick one:
```
git worktree list
```
Otherwise, let `NAME` = `$ARGUMENTS`. The worktree path is `<repo-root>/.worktrees/<NAME>`.
Verify the worktree exists in `git worktree list` output. If not, stop with an error.
Let `WORKTREE` = the absolute path to the worktree.
### 2. Switch cwd
```
cd WORKTREE
```
Then verify the switch took effect:
```
pwd
```
If `pwd` does not show `WORKTREE`, stop with an error — the cwd did not persist.
### 3. Report
```
Switched to worktree: WORKTREE
Branch: <current branch from git branch --show-current>
```
GitHub에서 보기