gurusup

Worktree TDD — Development skill for Claude Code

Development community

#$ARGUMENTS 1- git worktree add ./.trees/feature-issue-$ARGUMENTS -b feature-issue-$ARGUMENTS 2- cd .trees/feature-issue-$ARGUMENTS 5- activate plan mode on 6- analyze the github issue #$ARGUMENTS and determine with the….

How to install Worktree TDD

Installs to ~/.claude/commands/gurusup-claude-code-demo-worktree-tdd.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/gurusup/claude-code-demo/HEAD/.claude/commands/worktree-tdd.md -o ~/.claude/commands/gurusup-claude-code-demo-worktree-tdd.md

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

What Worktree TDD does

#$ARGUMENTS 1- git worktree add ./.trees/feature-issue-$ARGUMENTS -b feature-issue-$ARGUMENTS 2- cd .trees/feature-issue-$ARGUMENTS 5- activate plan mode on 6- analyze the github issue #$ARGUMENTS and determine with the @project-coordinator subagent what subagents from the folder @.claude/agents should be involved in implement this issue. @project-coordinator should determine if the agents can run in parallel if there is no overlaping on tasks, even run parallel

Alternatives in Development

  • Clean Worktree (Interactive) — Interactive cleanup of worktrees: lists merged/stale branches and asks confirmation before deleting 25.5k ★
  • Worktree Cleanup — Remove worktrees and branches that have been merged: $ARGUMENTS 23.4k ★
  • Cancel Pua Loop — 取消当前活跃的 PUA Loop(原子级联:state + worktree + 记录) 19.5k ★

Full documentation available on GitHub

View Source Repository