claude-skills/engineering/skills/git-worktree-manager
Claude b078bb8996
fix(skills): rewrite descriptions so skills trigger and fit the listing budget
Rewrites 347 SKILL.md descriptions across all 20 domains to a
when-to-load pattern: start with 'Use for/when/before', name the
moment the skill should load, and name the scripts it runs. Keeps
descriptions that were already in that shape and recently evaluated,
and leaves vendored skills (skillopt-sleep, loop-library) untouched.

Measured effect: the full marketplace's skill listing drops from
227,301 to 97,362 characters (with the earlier command flag), and a
9-skill marketing sample went from 3/36 to 11/36 exact triggers.

Derived indexes (.codex/.gemini/.vibe/.hermes skills-index.json and
the agent-harness domain manifests) are updated in place, description
fields only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L8KYFLGyaha8ReWA1JaCfC
2026-10-30 17:23:53 +00:00
..
references fix(plugins): restructure 9 multi-skill domain plugins into ./skills/ layout 2026-05-02 22:51:20 +02:00
scripts fix(plugins): restructure 9 multi-skill domain plugins into ./skills/ layout 2026-05-02 22:51:20 +02:00
README.md fix(plugins): restructure 9 multi-skill domain plugins into ./skills/ layout 2026-05-02 22:51:20 +02:00
SKILL.md fix(skills): rewrite descriptions so skills trigger and fit the listing budget 2026-10-30 17:23:53 +00: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