Worktree Tasks — Git skill for Claude Code
Implement each task in a separate git worktree with an opus subagent then sequentially merge and commit them back into main.
How to install Worktree Tasks
Installs to ~/.claude/skills/johnlindquist-claude-worktree-tasks/SKILL.md
mkdir -p ~/.claude/skills/johnlindquist-claude-worktree-tasks && curl -fsSL https://raw.githubusercontent.com/johnlindquist/claude/HEAD/commands/worktree-tasks.md -o ~/.claude/skills/johnlindquist-claude-worktree-tasks/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Worktree Tasks does
description: Implement each task in a separate git worktree with an opus subagent then sequentially merge and commit them back into main allowed-tools: Task, Bash, Read, Glob, Grep, AskUserQuestion argument-hint: [task1] [task2] [task3] ...
Parallel Worktree Task Implementation
Implement multiple tasks in parallel using git worktrees and opus subagents, then merge them sequentially into main.
Arguments
- tasks: A list of tasks to implement, separated by
|or provided as nu
Alternatives in Git
- OSS PR — Commit + PR workflow for open source contributions: auto-creates a user-prefixed branch when on main/master, t 19.7k ★
- Merge Command — Finalize worktree work: update docs, commit, merge to main, clean up 1.3k ★
- Codexia — Agent Workstation for Codex CLI + Claude Code — with task scheduler, git worktree & remote control, skills man 638 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Orchestrate Tickets
Run multiple Jira tickets in parallel, each in its own isolated git worktree, each implemented and shipped by
Maestro Merge
Merge session worktree branch back to main
Parallel Tickets
Work several tickets at once — create one git worktree per ticket (detached at the base) and open a separate i
Cdd Process PR
Address the open PR's review feedback: read the review comments for the current branch, triage them, implement
Issue Autofix
Autofix one queued GitHub issue — in an isolated git worktree off main, implement the smallest fix, conflict-c
Task Parallel
Intelligent git worktree orchestrator for parallel development tasks
Related Agents
Scala Coder
Implements a single coding task end-to-end in an assigned git worktree for this Scala project. Owns the FULL l
Develop
Implements a fix or feature for a single GitHub issue in an isolated worktree. Iterates up to 3 cycles (merge
GitOps
Git operations specialist. MUST BE USED for branch management, conflict resolution, git history analysis, work