원클릭으로
worktree
Generic git worktree boundary guidance. For ADV-managed worktrees, defer to Advance's adv-worktree skill and adv_worktree_* tools.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generic git worktree boundary guidance. For ADV-managed worktrees, defer to Advance's adv-worktree skill and adv_worktree_* tools.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
MCP tool selection guide — use when choosing between Kagi, Context7, gh_grep, Firecrawl, Playwright, or other MCP tools for a task. Provides decision matrix and anti-patterns.
Context-aware tradeoff analysis — researches codebase and domain to draft criteria questions for user prioritization. Use when facing 2+ viable approaches with meaningful tradeoffs.
PREFERRED: Dual-engine code intelligence (semantic search + symbol lookup). Use INSTEAD of built-in Grep/Glob for code exploration, concept search, and finding implementations by intent. Semantic engine: 92% retrieval quality. Symbol engine: exact function/class lookup, no API key needed.
Ultra-compressed commit message generator. Cuts noise from commit messages while preserving intent and reasoning. Conventional Commits format. Subject <=50 chars, body only when "why" isn't obvious. Use when user says "write a commit", "commit message", "generate commit", "/commit", or invokes /caveman-commit. Auto-triggers when staging changes.
Ultra-compressed code review comments. Cuts noise from PR feedback while preserving the actionable signal. Each comment is one line: location, problem, fix. Use when user says "review this PR", "code review", "review the diff", "/review", or invokes /caveman-review. Auto-triggers when reviewing pull requests.
Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.
| name | worktree |
| description | Generic git worktree boundary guidance. For ADV-managed worktrees, defer to Advance's adv-worktree skill and adv_worktree_* tools. |
| keywords | ["worktree","git-worktree","branch-isolation","feature-branch","parallel-experiment","merge-before-delete","adv-worktree"] |
| license | MIT |
| metadata | {"priority":"medium","replaces":"adv-worktree for ADV-managed flows"} |
Load this skill for generic git worktree boundary guidance in OCA contexts.
For any ADV-managed change or ADV worktree lifecycle action, load
skill("adv-worktree") and follow Advance-owned guidance instead. Advance owns
ADV worktree registry, lifecycle gates, deletion safety, and multi-session
coordination.
| Context | Owner | Use |
|---|---|---|
| ADV-managed change worktree | Advance | skill("adv-worktree") |
| ADV worktree create/delete/triage | Advance | adv_worktree_create, adv_worktree_delete, adv_worktree_cleanup, adv_worktree_triage |
| Generic non-ADV git isolation | OCA guidance only | Manual git worktree flow, user-approved |
Backward-compatible aliases such as worktree_create may exist, but
adv_worktree_* names are canonical for ADV workflows.
Do not switch branches in the main checkout during cleanup. Resolve the main checkout path, verify it is already on the default branch and clean, then merge in place:
MAIN="$(dirname "$(git rev-parse --path-format=absolute --git-common-dir)")"
git -C "$MAIN" branch --show-current
git -C "$MAIN" status --porcelain
git -C "$MAIN" merge --ff-only change/{change-id}
git -C "$MAIN" log --oneline trunk..change/{change-id}
If the branch is not merged, do not delete the worktree.
For ADV-managed worktrees, use Advance-owned tools:
adv_worktree_create
adv_worktree_delete
adv_worktree_cleanup
adv_worktree_triage
Then continue with workdir set to the returned path. If details matter, load
skill("adv-worktree"); this OCA skill intentionally avoids duplicating that
workflow.
worktree, git worktree, branch isolation, parallel development, merge before delete, adv-worktree, adv_worktree_create, adv_worktree_delete, worktree cleanup