studio-worktree

Copy missing environment files and install pnpm dependencies in git worktrees.

58|16|Updated May 14, 2026
One-click install
npx skills add https://github.com/NVIDIA-NeMo/nemo-platform --skill studio-worktree
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: studio-worktree
Source: https://github.com/NVIDIA-NeMo/nemo-platform/tree/main/web/.agents/skills/studio-worktree
Command: npx skills add https://github.com/NVIDIA-NeMo/nemo-platform --skill studio-worktree

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill automates the tedious manual setup required when switching between git worktrees for Studio web development, ensuring your environment is ready to run without missing configuration files or dependencies.

Core Features & Use Cases

  • Environment Syncing: Automatically copies missing .env.*.local files from the main worktree to your current worktree to maintain configuration parity.
  • Dependency Management: Executes a frozen-lockfile pnpm install across all workspace packages to ensure the local environment is fully provisioned.
  • Use Case: When you create a new git worktree to test a feature branch, run this skill to instantly populate your environment variables and install node_modules so you can start the development server immediately.

Quick Start

Execute the studio-worktree skill to synchronize your current git worktree environment and install all necessary dependencies.

Frequently Asked Questions about studio-worktree

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sync environment files and dependencies when switching git worktrees?

To sync git worktrees, the skill copies missing .env.*.local configuration files from the main checkout and executes a frozen-lockfile pnpm install to provision dependencies, enabling immediate development server startup.

What is the best way to automate git worktree setup for web development?

Automating git worktree setup involves copying missing environment configuration files and running package management commands. This skill handles both tasks to transition a new worktree into a functional feature-specific environment instantly.

Do I need pnpm and bash to use this worktree automation skill?

Yes, you need pnpm, git, and bash installed in your local environment. The skill requires these specific tools to perform the file system operations and package management tasks necessary for worktree synchronization.

Why does my pnpm install fail in a new git worktree?

Your pnpm install may fail in a new git worktree due to missing local environment configuration files. This skill resolves the issue by copying missing .env.*.local files from the main worktree before executing dependency installation.

Can I use this skill to sync environment variables across all workspace packages?

Yes, this skill syncs environment variables by copying .env.*.local files to your current worktree. It then executes a frozen-lockfile pnpm install across all workspace packages to ensure full environment provisioning.