/fff:worktreesfrom fff
Manages isolated git worktrees for parallel development with naming conventions, creation, removal, and cleanup. Useful for running multiple branches simultaneously without conflicts.
Ships in fff. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Isolated working directories on separate branches. Used by work-fanout to run multiple work instances in parallel without conflicts.
This skill is both:
By default, all FFFlow worktrees live under worktrees/ at the project root.
Why not /tmp (like plans and autopilot logs)? Worktrees can hold uncommitted work. Plans are design docs that get captured into issues; autopilot logs are spot-check material — both can survive /tmp cleanup with no real loss. A worktree with mid-flight changes is unrecoverable if /tmp clears it. So worktrees stay in the project tree (gitignored), while transient artifacts go to /tmp.
This also keeps them out of .git/ (where they confuse tooling).
<project>/
├── .git/
├── src/
├── worktrees/ # all FFFlow worktrees here
│ ├── task-101/
│ ├── task-102/
│ └── task-103/
└── ...
Add worktrees/ to .gitignore if it isn't already.
Branches inside FFFlow worktrees follow:
task/<plan-slug>/task-<N>-<short-title>
Examples:
task/auth-token-refresh/task-1-validator-porttask/password-rules/task-2-signup-integrationThis makes it obvious which plan a branch came from, and gh pr list --search "head:task/auth-token-refresh" filters cleanly.
git rev-parse --git-dir
# .git → main repo
# ../.git/worktrees/<name> → worktree
Or:
git worktree list
git worktree add worktrees/<name> -b <branch-name>
Or with an existing branch:
git worktree add worktrees/<name> <branch-name>
git worktree remove worktrees/<name>
If a worktree is dirty or has uncommitted changes, remove refuses by default. Either commit/stash the work or pass --force (only with explicit user authorization).
git worktree list
When a worktree directory has been deleted without git worktree remove:
git worktree prune
Everything works as usual:
What's different:
When a task's PR is merged:
work-fanout) offers to remove the worktree.When a task is stalled or failed:
Don't auto-remove. Lost worktrees with uncommitted changes are unrecoverable.
pwd and git branch. Worktrees are easy to lose track of.git worktree remove fails with "contains modified files" — review the changes in that worktree. If they should be saved, commit them first. Only use --force if you're sure.git worktree list doesn't show it — git worktree prune, then recreate.worktrees/ — breaks orchestrator assumptions.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub zerotechdebt/ffflow --plugin fff38 skills in this plugin
/adopt-ffflowEnd-to-end onboarding for a new FFFlow project. Runs init-ffflow, stack-init, then hands off to plan-roadmap to phase out the work (greenfield or brownfield — roadmap figures out the right per-phase entry point). Use `--ui` to adopt FFFlow's view-layer-purity structure (the frontend sibling of hexagonal) on an already-adopted project./auditRun the FFFlow keep-honest auditors against this project. Coordinator with per-type cartridges (CLAUDE.md freshness, spec drift, characterization tests, architecture conformance, complexity/refactor signals, and L3 RID traceability). Use --type to target one; --plan to convert findings into work./autopilotMeta-skill that wraps any interactive skill for unattended execution. Reads project context to stand in for the user on routine decisions, with a decision log.