Worktree TDD — Development skill for Claude Code
#$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
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
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 RepositoryRelated Skills
Hippo Feature
Build one hippo feature from RESEARCH.md using the micro-eval TDD loop
Feature TDD Implementation
-
Build
Implement tasks incrementally using TDD and vertical slices
Mega Approve
Approve the mega-plan and start feature execution. Creates worktrees and generates PRDs for each feature. Usag
Cc Safe
Tip 34: Write lots of tests (and use TDD)
Agent Updater
Refresh existing agent prompts/frontmatter with risk scoring and TDD gates.
Related Agents
Evolve Builder
Implementation agent for the Evolve Loop. Designs, builds, and self-verifies changes in an isolated worktree w
Item Executor
Sprint item executor — TDD implementation agent. Receives a spec, runs in an isolated git worktree, writes tes
TDD Implementer
TDD 自治执行专家。在单次调用中完整执行一个 task 的 RED→GREEN 周期:生成失败测试、验证 RED、写最小实现、验证 GREEN。它不自带环境隔离,假设已被编排器放入正确的执行目录(如 worktree)