/engineroom:worktreefrom engineroom
Make, move on or close a worktree of a project registered with engineroom, through engineroom, never with git worktree directly. Asks whether it is for a branch (closed when the branch is done) or for a role (kept, holding one branch after another), shows engineroom's commands before anything runs, and never loses work when closing. Use when the developer says "make a worktree", "new worktree", "spin up a worktree for X", "a designer/tester worktree", "move the designer worktree on to X", "close this worktree", "remove the worktree", "clean up the worktree".
Ships in engineroom. 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.
A worktree is made, moved on and closed only through engineroom, and only when the developer asks for
it in this conversation: engineroom gives each one its own slot of ports, a copy of the project's setup,
a session, and a close that checks nothing will be lost. Never run git worktree add, git worktree remove, git stash or git push yourself for this; every step below is an engineroom action
whose commands are shown before it runs.
There are two kinds (docs/decisions.md D-024 in the engineroom repository):
<repo>-<branch>, on that branch; closed when the
branch is done.<repo>-<role>, it
holds one branch after another, with the same session name and ports.engineroom project here prints the registered project this folder belongs to (exit 0), or fails when
it is in none. If it fails, say the folder is not in a project registered with engineroom, and offer the
register-project skill. engineroom projects lists every project if the developer names another.
Ask whether it is for a branch or for a role, unless they said. For a branch, ask its branch
name; for a role, ask the role's name and its first branch (a new one is made from the
remote's main; an existing branch is used as it is). Names are letters, digits, ., _ and
-, with no slashes.
Show the plan, and nothing runs yet:
engineroom api plan new <project> <branch> --mode remote
engineroom api plan new-role <project> <role> <branch> --mode remote
It prints JSON: show the developer its title and every line of lines, word for word. If it
has an error, say it and stop. --mode remote starts the new session with Remote Control and
opens no window on this machine, which may not be the one the developer is at; they join it from
the menu bar panel, engineroom, or the Claude app.
Run it only when the developer says to: the same action with run in place of plan. It
prints one JSON event per line; report each step that failed with its error and onFail, and
the outcome ("event":"done", ok).
engineroom api plan next-branch <project> <role> <branch>, shown, then run on their word. It refuses
while work would be lost: see the next section for what it offers.
Find its session name: engineroom api project <project> lists checkouts, each with session,
work, role and branch. The main clone is never closed.
engineroom api plan clean-session <session>. When it plans, show the lines (the session stopped,
the teardown script, the worktree removed, the branch deleted only if merged, a role forgotten)
and run it only on their word.
When it is refused, its error says why (uncommitted changes, naming files, or commits never
pushed) and offers lists what would make it safe, each a label and an action:
save-work),put-aside),push-work).Read the error and the offers to the developer and ask which they want. Never choose for them,
and never throw work away: there is no offer to discard, and you do not make one. Show the
chosen offer's plan (engineroom api plan <action...>), run it on their word, then plan the close
again.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub kyleyharris/engineroom --plugin engineroom8 skills in this plugin
/adopt-projectMake a repository run with engineroom - read the repository, work out what its app needs (servers, ports, emulators, databases, secret files, set-up per worktree), recommend the project's engineroom settings and up and down scripts, and write them into the developer's own settings only after they agree. Learns the developer's own stacks from recipes kept in their settings. Use when the developer says "adopt this repo", "set this project up with engineroom", "make engineroom run this", "how should this run in worktrees", "integrate this repository", or registers a project that has no up script yet./portsSee which ports engineroom gives each project and worktree, check them for clashes, and on a client reach a session's ports on the engine by forwarding them. Use when the developer says "what port is X on", "which ports does this worktree use", "do any ports clash", "is something on that port", "forward X", "I can't reach the app on the engine", "stop forwarding", "what is forwarded"./register-projectRegister the current git repository (or a named folder) with engineroom, so it can be opened, given new worktrees and listed by name. Use when the developer says "register this repo", "add this project to engineroom", "make engineroom know about this repository"./run-stackBuild and run, or stop, the app stack of the current worktree through its project's up and down scripts, with engineroom. Use when the developer says "run the app", "start the stack", "bring the stack up", "stop the stack", "shut it down", or asks to run what this worktree needs, in a repository registered with engineroom./sessionsSee and work engineroom's sessions - which are running, which wait for the developer, start a project's session, join, restart or stop one, open its folder in VS Code, run one of a project's own tasks, and read what engineroom ran. Shows engineroom's commands before anything runs. Use when the developer says "what is running", "which sessions are waiting", "start a session for X", "open X", "join X", "restart X", "stop X", "run the task Y", "what did engineroom just do", "show the history"./setup-machineSet up this machine to run engineroom as the engine or as a client, following engineroom's setup guide (docs/setup.md) - install engineroom when it is missing, check every item for the machine's role, explain each gap, and apply a fix only after showing the exact change and getting a yes. Use when someone says "set up this machine", "install engineroom here", "configure this as the engine", "make this a client", "is this machine set up", or is installing the tool on a new machine.