Dlt worktree-make-dev

Set up a dev environment in an existing worktree (make dev + copy secrets)

install
source · Clone the upstream repo
git clone https://github.com/dlt-hub/dlt
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/dlt-hub/dlt "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/worktree-make-dev" ~/.claude/skills/dlt-hub-dlt-worktree-make-dev && rm -rf "$T"
manifest: .claude/skills/worktree-make-dev/SKILL.md
source content

Set up dev environment in worktree

Prepare the worktree at

$ARGUMENTS
for development.

Steps

1. Run setup script

bash tools/setup_worktree_env.sh <worktree-path>

The script runs

make dev
and copies secrets without exposing credentials in the conversation. If it fails, report the error and stop.

2. Report

Parse the script output for

SECRETS_SOURCE=
to determine what was used:

  • repo_root
    : Full credentials available — all destinations including remote (snowflake, bigquery, etc.)
  • dev_template
    : Local only — duckdb, dummy, filesystem, and container-based destinations (postgres, clickhouse, etc.)
  • none
    : No secrets found — warn the user
Dev environment ready: <worktree-path>
- make dev: done
- secrets.toml: <source>