Worktree Check — Git skill for Claude Code
Check current worktree status, branch, and assigned task.
How to install Worktree Check
Installs to ~/.claude/commands/qepilot-qepilot-stack-worktree-check.md
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
- Get the current directory:
pwd - List all worktrees:
git worktree list - 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 RepositoryRelated Skills
Worktree Status
Check the status of background type check for a git worktree
PR Checks
Show current PR's check status; pull failure logs if any are red
Git Repo Info
Check git history, information, and status of the current or specified repository.
Git Ops
Git + worktree orchestrator entry point. /git-ops --landall surveys every branch/worktree and batch-lands the
Git Context
!git status --short !git branch --show-current !git log -3 --oneline !git diff --stat --- Based on the changes
Dev Status
Show current git branch, uncommitted files, and recent commits
Related Agents
Repo Sweeper
Read-only mechanical sweeps — PR and CI status across many PRs, worktree/branch leftovers, issue states, path
Wave Worker
Worker for agent-waves orchestration: executes ONE task spec inside ONE assigned git worktree. The coordinator
Scala Coder
Implements a single coding task end-to-end in an assigned git worktree for this Scala project. Owns the FULL l