AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Worktree Manager

skill-kopp0510-claude-dd-worktree-manager · by kopp0510

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

No reviews yet
0 installs
0 views
view→install

Install

$ agentstack add skill-kopp0510-claude-dd-worktree-manager

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-kopp0510-claude-dd-worktree-manager)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
yesterday

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Worktree Manager? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Worktree Manager

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

建立流程

  1. 前置檢查:確認在 git repo 內、git status --porcelain 乾淨(有未提交變更先提示處理)、

git worktree list 無同名衝突

  1. 確認設定(AskUserQuestion 一次問完):分支名(建議 feature/ 前綴)、

位置(慣例:主 repo 平行目錄 ../-worktree-)、是否裝依賴

  1. 建立git worktree add -b
  2. 環境設定:裝依賴(npm/pip 等,依專案)、複製 .env.example.env(如存在)
  3. 基線測試:跑既有測試記錄基線 — 失敗時警告但不阻止建立(帶著已知紅燈開發,

之後才分得清是誰弄壞的)

  1. 記錄:在 worktree 根寫 WORKTREE_INFO.md(分支、base、路徑、基線結果)

收尾

開發完成後:確認 worktree 內變更已全部 commit → 回主 repo git worktree remove git worktree prune。merge 與分支刪除由使用者決定,本 skill 不代決。

限制備忘

  • 一個分支只能有一個 worktree;已被 worktree 佔用的分支不能再 checkout
  • 子模組專案需特殊處理,先確認再建
  • worktree 共用主 repo 的 .gitignore;額外忽略規則用 .git/info/exclude

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.