List Worktrees Prompt banner
alfredocarta alfredocarta

List Worktrees Prompt

Git community

Description

--- model: claude-sonnet-4-5-20250929 description: List all git worktrees with their configuration and status allowed-tools: Bash, Read, Glob, Grep --- # Purpose List all git worktrees in the `trees/` directory with comprehensive information including branch names, directories, environment variables, port configuration, and service status. ## Variables ``` PROJECT_CWD: . (current working directory - the main project root) WORKTREE_BASE_DIR: trees/ ``` ## Instructions - List all worktrees m

Installation

Installs to ~/.claude/commands/alfredocarta-ai-agent-audit-trail-list_worktrees_prompt.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/alfredocarta/ai-agent-audit-trail/HEAD/.claude/commands/list_worktrees_prompt.md -o ~/.claude/commands/alfredocarta-ai-agent-audit-trail-list_worktrees_prompt.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository