From supervibe
Use BEFORE feature work, autonomous session, or plan execution that needs isolation TO create or validate a git worktree, register active session ownership, keep the main workspace clean, heartbeat/status the session, and cleanup only after merge/PR. Trigger phrases: git worktree, isolated workspace, autonomous worktree, separate session, active session registry, heartbeat, cleanup.
npx claudepluginhub vtrka/supervibe --plugin supervibeThis skill is limited to using the following tools:
BEFORE starting feature work or executing a plan, IF current workspace has uncommitted changes that should NOT be polluted, OR plan execution risks broken intermediate state.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
BEFORE starting feature work or executing a plan, IF current workspace has uncommitted changes that should NOT be polluted, OR plan execution risks broken intermediate state.
NOT for: small fixes, doc-only changes, work on a fresh repo.
Follow docs/references/skill-expert-operating-standard.md: start from source of truth, preserve retrieval evidence, apply scope safety, use real producers with runtime receipts for durable delegated outputs, verify before completion claims, and keep confidence below gate when evidence is partial.
git status — check for uncommitted changesgit branch -v — list current branchesIs current workspace clean?
├─ YES + just want feature isolation → create worktree at sibling dir, fresh branch
├─ YES + executing big plan → create worktree at sibling dir, fresh branch
└─ NO (uncommitted changes) → STOP, ask user: commit / stash (forbidden by rule!) / abandon
Worktree location:
├─ Sibling dir (../<repo>-<feature>) → recommended
└─ Subdirectory of repo → bad (gitignore confusion)
.worktrees/, existing worktrees/, configured project root, global cache, then ask the user.sessionId, epicId, branchName, worktreePath, createdAt, baselineCommit, baselineChecks, activeAgentIds, assignedWaveId, assignedTaskIds, assignedWriteSet, status, cleanupPolicy.feat/<topic> or fix/<topic> per conventions../<repo-name>-<topic> typicallygit worktree add <path> -b <branch> only after explicit user command or validated existing worktree.
4a. Register session in .supervibe/memory/worktree-sessions/registry.json and record heartbeat/status/cleanup controls.git worktree list shows new entry<path>supervibe:finishing-a-development-branch skill decides merge / PR / discardgit worktree remove <path> (only after merge/PR done; don't remove uncommitted work)Returns:
git stash to clean (banned by git-discipline rule)git worktree list shows new entrygit -C <new-path> branch --show-current returns expected namesupervibe:finishing-a-development-branch — invoked at end of work to decide cleanupgit-discipline rule (Phase 3) — bans stash; this skill respects that