johnlindquist

Worktree Tasks — Git skill for Claude Code

Git community

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

Terminal
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 Repository