worktree-lifecycle

by RR · ★ 1 · updated 26 days ago

ToastsGuardsCommandsPromptTools & agentswarnings

0

/wt and worktree_* tools for bare-clone repos: start work, ship a draft PR on your yes, hear about the merge, housekeep when you say so, and guard the layout

install worktree-lifecycle

Install

/plugin marketplace add RikusVanRensburg/agentic-marketplace
/plugin install worktree-lifecycle@agentic-marketplace

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
engine.createworktree.createworktree.shipworktree.cleanworktree.sweepworktree.checkworktree.listsession.startturn.completeprompt.composecommand.runtool.callsession.receive
API calls
$.clock.after$.command.register$.fs.exists$.fs.list$.model.complete$.process.run$.session.cwd$.state.get$.state.set$.tool.register$.ui.log$.ui.notify$.ui.toast$.worktree.merged
Can see
mcp__worktree-lifecycle__worktree_new callsmcp__worktree-lifecycle__worktree_ship callsmcp__worktree-lifecycle__worktree_clean callsmcp__worktree-lifecycle__worktree_sweep callsmcp__worktree-lifecycle__worktree_check callsmcp__worktree-lifecycle__worktree_status callsEnterWorktree callsBash callsPowerShell calls
Reach
level 2 of 3 runs processesdrives Claudereads filesreads mod statedrawsother: $.worktree.merged

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/RikusVanRensburg/agentic-marketplace
Path in repo
plugins/mods/worktree-lifecycle
Source commit
899bf1f the exact code the scan read
Author
RR @RikusVanRensburg
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from RikusVanRensburg/agentic-marketplace

drive

RikusVanRensburg/agentic-marketplace

/drive and four tools (testing_run, docker_stack, docs_index, drive_check) that keep the drive's testing, docker and docs folders to their manifests; cleanup runs only on /drive clean apply

★ 1ToastsGuardsCommands

issues

RikusVanRensburg/agentic-marketplace

Six tools (issue_labels, issue_create, issue_fill, issue_link, label_ensure, issue_consolidate) that do the gh steps for GitHub issues and check each landed; a duplicate closes only on /issues consolidate

★ 1GuardsCommandsTools & agents

orchestrator

RikusVanRensburg/agentic-marketplace

/orchestrate runs a multi-issue plan through subagents: dev and isolated QA per slice on escalating model ladders, a merge agent that merges and verifies each batch, final QA. Needs worktree-lifecycle

★ 1PanesBandsStatus line