nvidia-nemo/safe-synthesizer · Archived

git-worktrees

Create, clean up, or prune isolated Safe-Synthesizer git worktrees for feature development, PR review, and parallel branches across Cursor, Claude Code, Codex, and plain shells.

Installation

$ npx skills add nvidia-nemo/safe-synthesizer --skill git-worktrees

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from nvidia-nemo/safe-synthesizer.

npx skills add nvidia-nemo/safe-synthesizer

Browse all from nvidia-nemo/safe-synthesizer

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Declared
Codex Declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 34
License LICENSE
Default branch main
Open issues 65
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

LicenseApache-2.0
Declared agents claude-code cursor codex

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,371 B
  • docs SUMMARY.md 198 B

History

  1. First recorded snapshot · 2 installs

SKILL.md

Git Worktrees

This skill is self-contained. Do not load a machine-installed or system worktree skill. Apply standard Git behavior except for the repository rules below.

Repository rules

  • Preserve unrelated changes. Do not stash, move, or discard them to create a

worktree.

  • Do not depend on client hooks. Cursor invokes

scripts/setup-worktree.sh through .cursor/worktrees.json. Other clients can run the same script after creating a worktree. Inspect the actual environment and machine-local configuration without printing secrets.

  • Codex does not read .cursor/worktrees.json; configure its local environment

to invoke scripts/setup-worktree.sh, or run the script manually.

  • Keep machine-local configuration local to each checkout. Worktree hooks do

not copy .env, .env.local, mise.local.toml, or .local.envrc from another checkout.

Python environment

Run the setup script from a new worktree if the client did not run it:

.agents/skills/git-worktrees/scripts/setup-worktree.sh

It creates a base local .venv. Select the complete dependency profile needed for development:

unset UV_PROJECT_ENVIRONMENT UV_NO_SYNC PYTHONPATH VIRTUAL_ENV UV_PROJECT_DIR
mise run setup
mise run bootstrap-nss cpu  # or cu129

Bare uv sync --frozen installs only the base environment. It does not support all type checks, import checks, or GPU tests.

Share the main checkout's environment only when the lock and dependency profile match:

SS_MAIN_CHECKOUT="$(dirname "$(git rev-parse --path-format=absolute --git-common-dir)")"
export UV_PROJECT_ENVIRONMENT="$SS_MAIN_CHECKOUT/.venv"
export UV_NO_SYNC=1
export PYTHONPATH="$PWD/src${PYTHONPATH:+:$PYTHONPATH}"

The main checkout owns synchronization of a shared environment. Do not run uv sync or a bootstrap task from a worktree that points to it.

Commits

Commits require DCO sign-off and GPG signing:

git commit --signoff --gpg-sign -m "message"