一键导入
worktree-task
Create a git worktree for a new TASK. Use when starting a new feature, fix, or refactor task that requires isolated development.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a git worktree for a new TASK. Use when starting a new feature, fix, or refactor task that requires isolated development.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Go code quality rules and standards for kattle project. Apply when writing or reviewing Go code.
macOS native memory analysis tools (leaks, heap, vmmap, Instruments). Use for native app memory debugging.
Memory profile snapshot capture and baseline comparison. Use for verification after memory optimization.
Go application memory profiling and analysis. Use when investigating memory leaks or high memory usage.
React/TypeScript code quality rules for kattle frontend. Apply when writing or reviewing frontend code.
Run Go and frontend tests for kattle project. Use after code changes to verify correctness.
| name | worktree-task |
| description | Create a git worktree for a new TASK. Use when starting a new feature, fix, or refactor task that requires isolated development. |
| user-invocable | true |
| allowed-tools | Bash(git *) |
TASK 단위로 git worktree를 생성하여 격리된 개발 환경을 구성합니다.
git worktree listgit branch --show-currentgit rev-parse --show-toplevel사용자가 제공한 TASK 정보를 바탕으로 worktree를 생성합니다.
사용자 입력에서 다음을 추출:
Worktree 경로: /Users/hansuk.hong/P/kattle-<task-name>
브랜치 이름: <task-type>/<task-name>-<description>
# 1. 중복 확인
git worktree list | grep -q "kattle-<task-name>" && echo "Already exists" && exit 1
# 2. Worktree 생성
git worktree add \
/Users/hansuk.hong/P/kattle-<task-name> \
-b <task-type>/<task-name>-<description>
# 3. 확인
git worktree list
입력: /worktree-task feature task-d add-column-selector
결과:
- 경로: /Users/hansuk.hong/P/kattle-task-d
- 브랜치: feature/task-d-add-column-selector
입력: /worktree-task fix issue-456 null-pointer-in-watch
결과:
- 경로: /Users/hansuk.hong/P/kattle-fix-issue-456
- 브랜치: fix/issue-456-null-pointer-in-watch
입력: /worktree-task refactor cleanup remove-dead-code
결과:
- 경로: /Users/hansuk.hong/P/kattle-cleanup
- 브랜치: refactor/cleanup-remove-dead-code
Worktree created:
Path: /Users/hansuk.hong/P/kattle-<task-name>
Branch: <task-type>/<task-name>-<description>
To work in this worktree:
- Open in IDE: code /Users/hansuk.hong/P/kattle-<task-name>
- Run commands: git -C /Users/hansuk.hong/P/kattle-<task-name> status