Skip to content
Back to skills

Git Worktree

ASecurity

Create or manage BBN git worktrees (one feature per worktree) with per-worktree port, env and DB isolation.

  • 5 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 22, 2026
ai-agentsbashgit

Security analysis

A100/100

Scanned October 22, 2026

npx -y skills add Boom-Vitt/boombignose-mods --skill git-worktree --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Git Worktree?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Git Worktree
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/boom-vitt-git-worktree/badge)](https://www.skillsdirectory.com/skills/boom-vitt-git-worktree)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: git-worktree
description: Create or manage BBN git worktrees (one feature per worktree) with per-worktree port, env and DB isolation.
---

# git worktree (BBN v0.6)

```bash
${CLAUDE_PLUGIN_ROOT}/scripts/worktree-new.sh <feature-slug> [--base <ref>]
```

In Codex, `${CLAUDE_PLUGIN_ROOT}` is not set: it is this plugin's folder, two levels above this file.

- One feature, one worktree, one agent stream. Never let two agents edit the same working tree.
- Base: `origin/dev`, else `origin/main`, `dev`, `main`, `master` (or `--base`).
- Isolation per worktree: `BBN_DEV_PORT`/`PORT` in `.env.worktree` (copied from `.env` when present), DB branch `wt-<slug>` (e.g. a Supabase branch), base migrations before feature migrations, no shared writable DB.
- `.env.worktree` and `.bbn/` are added to the repo's local `info/exclude`, so they never show up in commits.
- Budget: refuses beyond `maxParallelWorktrees`.
- On autopilot the harness creates them for you: `bbn-run.mjs --apply` makes every stream's worktree in dependency order once the plan is accepted.
- With a plan, run by hand, prefer `/bbn-plan apply --apply`: it creates every stream's worktree in dependency order and fills the ownership map.
- Branches are created without upstream tracking; `--pr` pushes with `-u` to the feature's own remote branch.
- Done? `/bbn-merge`, then `/bbn-cleanup`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.