/flow:wt-initfrom flow
Generate a .worktreerc.yml config file for the current project by scanning for environment files, lock files, and dev tooling - use when setting up worktree workflows for a new project
Ships in flow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Scan the current project and generate a .worktreerc.yml with sensible defaults
for the wt-create skill.
Look for .worktreerc.yml or .worktreerc.yaml in the repository root.
If one exists, read it, show it to the user, and ask if they want to overwrite or update it. Stop if they decline.
Use Glob to detect files that are typically gitignored but needed for development:
.env, .env.*.direnv.vscode/settings.json.idea/For each candidate found, verify it is actually gitignored:
git check-ignore <file>
Only include files that are gitignored (exit code 0). Files tracked by git don't need to be copied.
Use Glob to detect lock files and dev tooling:
| File Found | Suggested Hook |
|---|---|
uv.lock or pyproject.toml (with [tool.uv]) | uv sync |
package-lock.json | npm ci |
yarn.lock | yarn install |
pnpm-lock.yaml | pnpm install |
Gemfile.lock | bundle install |
.mise.toml or .tool-versions | mise install |
.pre-commit-config.yaml | pre-commit install |
Show what was detected and proposed. Use AskUserQuestion to let the user
confirm or adjust:
Generate the file with the confirmed settings.
Example output:
worktree:
copy:
- .env
- .env.local
post_create:
- uv sync
- pre-commit install
Omit copy or post_create sections entirely if they would be empty.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub salimhamed/claude-code-flow --plugin flow4 skills in this plugin
/wt-createUse when starting feature work that needs isolation from current workspace or before executing implementation plans - creates an isolated git worktree with smart directory selection and safety verification/wt-destroyDestroy a worktree — close any PR, delete local and remote branches, and remove the worktree, discarding all uncommitted changes. Optionally takes a branch name argument; defaults to the current worktree./wt-mergeSquash-merge the current branch's PR, clean up the worktree, return to main, and report remaining worktree statusOther plugins' skills for the same job