worktree-cwd-auto-detection

Official

Automatically detect repository and worktree names in worktree lifecycle scripts.

Authormanifoldlogic
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill solves the problem of manually detecting the repository and worktree names from a user's current directory in worktree lifecycle scripts, streamlining the process for users.

Core Features & Use Cases

  • Auto-Detection: Automatically detects the repository and worktree names from the current directory using the /workspace/repos path convention.
  • Validation: Includes critical validation to reject the main worktree and handle deeply nested subdirectories.
  • Use Case: Enables worktree scripts to provide a frictionless user experience by inferring the target of the operation without requiring explicit arguments.

Quick Start

Run the script within a feature worktree directory.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 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: worktree-cwd-auto-detection
Download link: https://github.com/manifoldlogic/claude-code-plugins/archive/main.zip#worktree-cwd-auto-detection

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 620,000+ vetted skills library on demand.