Files
claude-skills-reference/engineering/git-worktree-manager
Reza Rezvani 3622efedc0 fix: add YAML frontmatter (name + description) to all SKILL.md files
- Added frontmatter to 34 skills that were missing it entirely (0% Tessl score)
- Fixed name field format to kebab-case across all 169 skills
- Resolves #284
2026-03-06 20:35:35 +01:00
..

Git Worktree Manager

Production workflow for parallel branch development with isolated ports, env sync, and cleanup safety checks. This skill packages practical CLI tooling and operating guidance for multi-worktree teams.

Quick Start

# Create + prepare a worktree
python scripts/worktree_manager.py \
  --repo . \
  --branch feature/api-hardening \
  --name wt-api-hardening \
  --base-branch main \
  --install-deps \
  --format text

# Review stale worktrees
python scripts/worktree_cleanup.py --repo . --stale-days 14 --format text

Included Tools

  • scripts/worktree_manager.py: create/list-prep workflow, deterministic ports, .env* sync, optional dependency install
  • scripts/worktree_cleanup.py: stale/dirty/merged analysis with optional safe removal

Both support --input <json-file> and stdin JSON for automation.

References

  • references/port-allocation-strategy.md
  • references/docker-compose-patterns.md

Installation

Claude Code

cp -R engineering/git-worktree-manager ~/.claude/skills/git-worktree-manager

OpenAI Codex

cp -R engineering/git-worktree-manager ~/.codex/skills/git-worktree-manager

OpenClaw

cp -R engineering/git-worktree-manager ~/.openclaw/skills/git-worktree-manager