Set up a new git worktree for this repo by copying gitignored files (bin/) and building server assets so pnpm dev works without errors
85
77%
Does it follow best practices?
Impact
100%
2.43xAverage score across 3 eval scenarios
Risky
Do not use without reviewing
Optimize this skill with Tessl
npx tessl skill review --optimize ./.claude/skills/setup-worktree/SKILL.mdWhen a new git worktree is created, gitignored files (like the Temporal CLI binary in bin/) are missing and server assets haven't been built. Run this skill to get a new worktree ready for development.
git worktree listThe first entry is the main worktree. Use it as $MAIN.
MAIN=$(git worktree list | head -1 | awk '{print $1}')
cp $MAIN/.env ./.envBuilds the frontend into server/ui/assets/ which the Go server embeds. Required for pnpm dev to start.
pnpm build:serverpnpm dev should now start without errors.
| Step | Why |
|---|---|
Copy .env | Gitignored — not present in a fresh worktree, needed for dev modes |
pnpm build:server | Runs VITE_API= BUILD_PATH=server/ui/assets/local vite build — without this, pnpm dev fails because the embedded server assets are missing |
01161e2
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.