List Worktrees Prompt — Git skill for Claude Code
List all git worktrees with their configuration and status.
How to install List Worktrees Prompt
Installs to ~/.claude/commands/alfredocarta-ai-agent-audit-trail-list_worktrees_prompt.md
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.
What List Worktrees Prompt does
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
Alternatives in Git
- 使用 Git Worktrees — 创建孤立的 Git worktrees,带有智能目录选择与安全验证 115.1k ★
- Git Worktree Setup — Create isolated git worktrees with instant feedback and background Rust verification 25.5k ★
- Worktree Parallel Init — Create multiple git worktrees for parallel development: $ARGUMENTS 23.4k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Worktree Ls
List all active git worktrees with status
Create Worktree Prompt
Create a git worktree with isolated configuration for parallel development
Check Active Git Files.Prompt
You are an expert at analyzing git history. Given a list of files and their modification counts, return exactl
Manage Worktrees
List, create, clean up, and manage git worktrees across all project repositories
Git Worktree
Manage git worktrees — create, list, remove, parallel branch development
Gitea
Privater Git-Mirror auf Gitea. Repo-Management — push, list, create, delete, clone, status.
Related Agents
Purpose
You are a git worktree creation specialist. Your sole responsibility is to create a properly configured worktr
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and
Orchestrator Multi
Multi-agent parallel orchestrator using git worktrees — splits work across N agents, manages territory, merges