worktree-manager SKILL.md skillA

worktree-manager from kopp0510/claude-dd is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add kopp0510/claude-dd/worktree-manager@git:20261018.ee68e72

Pins git:20261018.ee68e72 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
kopp0510/claude-dd
Path
skills/worktree-manager/SKILL.md
Versions recorded
9
Latest version
git:20261018.ee68e72, committed Oct 18, 2026
First version recorded
Feb 6, 2026
Size
4,262 bytes
Repository stars
12
License
MIT

Git Worktree 隔離管理,建立獨立開發環境避免影響主分支。當提到 worktree、分支隔離、隔離開發環境時自動啟用。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Worktree Manager

> **原生優先(Claude Code ≥ 2.1.198)**:原生 `EnterWorktree` 工具、CLI `--worktree` 與
> subagent `isolation: worktree` 已涵蓋建立、會話遷移與自動清理 — **先用原生**。
> 本 skill 只處理原生不覆蓋的場景:自訂位置慣例、依賴安裝與基線測試、舊版 Claude Code。

收尾第 1 步借鑑 michael-denyer/pstack-claude 的 worktree-cleanup playbook(被 ignore 的 `.env` 算「刪了就沒了」)。

## 建立流程

1. **前置檢查**:確認在 git repo 內、`git status --porcelain` 乾淨(有未提交變更先提示處理)、
   `git worktree list` 無同名衝突
2. **確認設定**(AskUserQuestion 一次問完):分支名(建議 `feature/<name>` 前綴)、
   位置(慣例:主 repo 平行目錄 `../<project>-worktree-<branch>`)、是否裝依賴
3. **建立**:`git worktree add -b <branch> <path> <base-branch>`
4. **環境設定**:裝依賴(npm/pip 等,依專案)、複製 `.env.example` → `.env`(如存在)
5. **基線測試**:跑既有測試記錄基線 — 失敗時警告但不阻止建立(帶著已知紅燈開發,
   之後才分得清是誰弄壞的)
6. **記錄**:在 worktree 根寫 `WORKTREE_INFO.md`(分支、base、路徑、基線結果)

## 收尾

開發完成後:

1. **先看 worktree 裡還剩什麼**:`git -C <path> status --porcelain --ignored`,每一行照下面的規則處理過再往下
   (git 2.42.0 與 2.54.0 實測,2026-10-19)。`!!` 那幾行處理完還是會留在輸出裡,這是正常的:
   - ` M`、`A ` 這類(還沒 commit 的變更)與 `??`(沒追蹤的檔):`git worktree remove` 會拒絕
     (「包含修改或未追蹤的檔案,使用 --force 刪除」,英文是 `contains modified or untracked files, use --force to delete it`)。
     **不要直接加 `--force`** —— 它會把這些連同下一種一起刪掉
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add kopp0510/claude-dd/worktree-manager@sha256:f198d754bd4685a4

The line at the top of this page pins the label git:20261018.ee68e72, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_a7uf5zi5mwf7hspu.svg)](https://markdownregistry.com/a/art_a7uf5zi5mwf7hspu)

6 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 9 versions of this file, between Feb 6, 2026 and Oct 18, 2026, about one every 32 days.

versioncommittedcommitsizeaudit
git:20261018.ee68e72 latest2026-10-18 ee68e72 4,262 BA view · diff
git:20261018.8514fb22026-10-18 8514fb2 3,731 BA view · diff
git:20261018.3c3e5ed2026-10-18 3c3e5ed 3,311 BA view · diff
git:20260912.708b3362026-09-12 708b336 2,526 BA view · diff
git:20260912.9ee33722026-09-12 9ee3372 2,365 BA view · diff
git:20260723.ee57bf22026-07-23 ee57bf2 1,863 BA view · diff
git:20260708.bd33acd2026-07-08 bd33acd 4,904 BA view · diff
git:20260324.7248a152026-03-24 7248a15 4,515 BA view · diff
git:20260206.1f5ae2a2026-02-06 1f5ae2a 4,504 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4262 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

kopp0510/claude-dd · 12 stars · license MIT · pushed 2026-10-30 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_a7uf5zi5mwf7hspu
GET https://markdownregistry.com/api/v1/resolve?ref=kopp0510/claude-dd/worktree-manager
GET https://markdownregistry.com/api/v1/blob/f198d754bd4685a448dc59c1703d557f5ce6c44833aa018c71a23d77c5250ceb

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from kopp0510/claude-dd

CLAUDE.md CLAUDE.md file
kopp0510/claude-dd · CLAUDE.md
git:20261030.81f1b68 · audit A · 12 stars
CLAUDE.md@diagrams/src CLAUDE.md file
kopp0510/claude-dd · diagrams/src/CLAUDE.md
git:20261029.a30dc1a · audit A · 12 stars
CLAUDE.md@docs/measurements/2026-10-24-s4-inputs CLAUDE.md file
kopp0510/claude-dd · docs/measurements/2026-10-24-s4-inputs/CLAUDE.md
git:20261023.7f05f62 · audit A · 12 stars
CLAUDE.md@docs/measurements/2026-10-24-s4-outputs CLAUDE.md file
kopp0510/claude-dd · docs/measurements/2026-10-24-s4-outputs/CLAUDE.md
git:20261023.1e209ef · audit A · 12 stars
CLAUDE.md@docs/measurements/2026-10-24-s5-inputs CLAUDE.md file
kopp0510/claude-dd · docs/measurements/2026-10-24-s5-inputs/CLAUDE.md
git:20261024.fb6f816 · audit A · 12 stars
CLAUDE.md@docs/measurements/2026-10-24-s5-outputs CLAUDE.md file
kopp0510/claude-dd · docs/measurements/2026-10-24-s5-outputs/CLAUDE.md
git:20261024.ce3dd5d · audit A · 12 stars
CLAUDE.md@docs/measurements/2026-10-29-adhd-style CLAUDE.md file
kopp0510/claude-dd · docs/measurements/2026-10-29-adhd-style/CLAUDE.md
git:20261029.af255a2 · audit A · 12 stars
CLAUDE.md@docs/measurements/2026-10-30-dd-init-upgrade CLAUDE.md file
kopp0510/claude-dd · docs/measurements/2026-10-30-dd-init-upgrade/CLAUDE.md
git:20261030.92509fc · audit A · 12 stars
CLAUDE.md@docs/measurements/2026-10-30-dd-loop-trigger CLAUDE.md file
kopp0510/claude-dd · docs/measurements/2026-10-30-dd-loop-trigger/CLAUDE.md
git:20261029.f2ab54a · audit A · 12 stars
CLAUDE.md@docs/reviews CLAUDE.md file
kopp0510/claude-dd · docs/reviews/CLAUDE.md
git:20261029.7253986 · audit A · 12 stars
CLAUDE.md@scripts CLAUDE.md file
kopp0510/claude-dd · scripts/CLAUDE.md
git:20261030.f452f25 · audit A · 12 stars
code-simplifier SKILL.md skill
kopp0510/claude-dd · skills/code-simplifier/SKILL.md · 調用官方 code-simplifier agent 簡化程式碼。當使用者要求簡化、降低複雜度、清理冗餘,或執行 8 步開發迴圈步驟 3 時啟用。不適用於 PR 審查(用 code-reviewer)。
git:20260912.708b336 · audit A · 12 stars

Every file in kopp0510/claude-dd

Other files named worktree-manager

worktree-manager SKILL.md skill
kanopi/cms-cultivator · skills/worktree-manager/SKILL.md · Create, list, and tear down git worktrees following Kanopi's branch naming conventions so developers and agents can…
git:20261023.46e7cc7 · audit A · 17 stars
worktree-manager SKILL.md skill
smicolon/ai-kit · packs/worktree/skills/worktree-manager/SKILL.md · This skill should be used when the user mentions "worktree", "wt", "new branch workspace", "parallel development"…
v2.0.0 · audit A · 7 stars
worktree-manager SKILL.md skill
terrylica/cc-skills · plugins/devops-tools/skills/worktree-manager/SKILL.md · Create alpha-forge git worktrees with auto branch naming. TRIGGERS - create worktree, new worktree, alpha-forge…
git:20260924.59eb2af · audit A · 2 stars

Browse by kind, by grade A, or by owner.