From prp-core
Manages isolated git worktrees for parallel workstreams via a bundled CLI: create, list (with per-worktree git stats), and safely remove checkouts under .worktrees/.
How this skill is triggered — by the user, by Claude, or both
Slash command
/prp-core:prp-worktree create <name> [--base <branch>] | list [--json] | remove <name> [--force] [--delete-branch]create <name> [--base <branch>] | list [--json] | remove <name> [--force] [--delete-branch]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Manage isolated git worktrees for parallel workstreams with one bundled script — deterministic create/teardown with safety rails, instead of improvised `git worktree` incantations.
Manage isolated git worktrees for parallel workstreams with one bundled script — deterministic create/teardown with safety rails, instead of improvised git worktree incantations.
Input: $ARGUMENTS (if absent, infer the subcommand and worktree name from the conversation).
All operations are one command (never re-implement them with raw git):
uv run ${CLAUDE_PLUGIN_ROOT}/skills/prp-worktree/scripts/worktree.py create <name> [--base <branch>]
uv run ${CLAUDE_PLUGIN_ROOT}/skills/prp-worktree/scripts/worktree.py list [--base <branch>] [--json]
uv run ${CLAUDE_PLUGIN_ROOT}/skills/prp-worktree/scripts/worktree.py remove <name> [--force] [--delete-branch]
.worktrees/<name> on branch <name> (new from --base, or checked out if the branch already exists). Prints the absolute worktree path as its final line — cd there to start working.files +ins/-dels), merged-into-base, and last-commit age. --json for machine consumption.--force discards). The branch is kept by default (with a pushed-to-origin report); --delete-branch deletes it only if merged into base (--force overrides). Never force without first investigating what would be lost..worktrees/<name> — within sandbox-writable roots on any agent harness — and are auto-excluded from git via .git/info/exclude; they never appear in git status./ to -).--base is the repo's default branch (origin HEAD), falling back to the current branch.uv and git on PATH; the script is stdlib-only (PEP 723, Python ≥ 3.10).remove deletes the checkout, not the work: commits live on the branch and survive; only --force on a dirty worktree discards uncommitted changes.<name>") — one worktree per parallel agent prevents checkout collisions.scripts/worktree.py — the CLI (run it, don't read it); --help on any subcommand for exact flags.npx claudepluginhub wirasm/prps-agentic-eng --plugin prp-coreManages git worktrees for isolated parallel development sessions with safety checks for uncommitted changes and unpushed commits.
Manages Git worktrees for isolated parallel development, handling creation, listing, switching, and cleanup with interactive confirmations. Useful for code review isolation and parallel feature work.
Manages Git worktree lifecycle: creates isolated .claude/worktrees/ for parallel development or experiments, lists rune/* branches, cleans up stale or merged ones. Enforces max 3 active.