conductor-setuplisted
Install: claude install-skill magnusrodseth/dotfiles
# Conductor Setup
Configure a repository for Conductor — the macOS app for running parallel Claude Code workspaces.
## Workflow
### 1. Detect project type
Inspect the repo to determine:
- **Package manager**: npm, pnpm, yarn, pip, mix, bundler, cargo
- **Framework**: Next.js, Django, Rails, Phoenix, etc.
- **Dev server command**: The command that starts the development server
- **Env files**: All `.env` and `.env.local` files (check root and subdirectories up to depth 2)
- **Monorepo structure**: Whether the dev server lives in a subdirectory (e.g., `web/`, `apps/frontend/`)
### 2. Create the setup script
Create `scripts/conductor-setup.sh` in the repo root:
```bash
#!/bin/zsh
set -e
echo "==> Conductor workspace setup"
symlink_env() {
local src="$1"
local dest="$2"
if [ ! -f "$src" ]; then
echo " WARN: $src not found — skipping (add it via Repository Settings > Open In)"
return 0
fi
ln -sf "$src" "$dest"
echo " OK: $dest -> $src"
}
echo "==> Symlinking .env files from CONDUCTOR_ROOT_PATH"
# Add one symlink_env call per .env file discovered:
symlink_env "$CONDUCTOR_ROOT_PATH/.env" ".env"
# symlink_env "$CONDUCTOR_ROOT_PATH/web/.env" "web/.env" # monorepo example
# symlink_env "$CONDUCTOR_ROOT_PATH/.env.local" ".env.local" # Next.js example
echo "==> Installing dependencies"
# Add the install command for the detected package manager:
# npm install # npm
# pnpm install # pnpm
# pip install -r requirements.txt