qepilot

Worktree Check — Git skill for Claude Code

Git community

Check current worktree status, branch, and assigned task.

How to install Worktree Check

Installs to ~/.claude/commands/qepilot-qepilot-stack-worktree-check.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/qepilot/qepilot-stack/HEAD/.claude/commands/worktree-check.md -o ~/.claude/commands/qepilot-qepilot-stack-worktree-check.md

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

What Worktree Check does


allowed-tools: Bash(git:*), Bash(cat:*), Bash(pwd:*), Bash(ls:*) description: Check current worktree status, branch, and assigned task

Worktree Status Check

Verify the current worktree environment and show task details.

Instructions

You are inside a worktree (or the main repo). Gather and display the current status clearly.

Step 1: Detect Worktree

  1. Get the current directory: pwd
  2. List all worktrees: git worktree list
  3. Determine if the current directory is a workt

Alternatives in Git

  • Git Worktree Setup — Create isolated git worktrees with instant feedback and background Rust verification 25.5k ★
  • Worktree Deliver — Commit all work, push, and create a pull request from the current worktree 23.4k ★
  • Local Review — You are tasked with setting up a local review environment for a colleague's branch 10k ★

Full documentation available on GitHub

View Source Repository