workflow-worktree-session

Community

Move Claude into the right Git worktree instantly.

Authorlugassawan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill solves the problem of keeping an active coding session correctly aligned with the Git worktree the user wants to work in, without requiring a restart.

Core Features & Use Cases

  • Switch into an existing worktree: Resolves the worktree path by matching the user’s mentioned worktree name or directory basename, then transitions the session using EnterWorktree.
  • Create a new worktree safely: Defers all consent, safety checks, and baseline test setup to superpowers:using-git-worktrees instead of duplicating logic.
  • Exit the current worktree on request: Returns to the parent context using ExitWorktree(action: "keep") by default, with remove only when explicitly requested.

What problem does it solve?

It solves confusing session state when switching branches/workspaces via Git worktrees, ensuring Claude’s effective working directory moves correctly.

Quick Start

Tell the assistant to switch into your existing worktree named feat-login.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: workflow-worktree-session
Download link: https://github.com/lugassawan/swe-workbench/archive/main.zip#workflow-worktree-session

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.