setup-worktree
БесплатноБез исполняемых скриптовНе проверенSet up a new git worktree for this repo by copying gitignored files (bin/) and building server assets so pnpm dev works without errors
от temporalio★ 452 звезды на GitHubОб этом скилле
Purpose
When 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.
Steps
1. Find the main worktree path
git worktree list
The first entry is the main worktree. Use it as $MAIN.
2. Copy .env from the main worktree
MAIN=$(git worktree list | head -1 | awk '{print $1}')
cp $MAIN/.env ./.env
3. Build server assets
Builds the frontend into server/ui/assets/ which the Go server embeds. Required for pnpm dev to start.
pnpm build:server
pnpm dev should now start without errors.
Why each step is needed
| 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 |
Установить setup-worktree в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл setup-worktree?
Set up a new git worktree for this repo by copying gitignored files (bin/) and building server assets so pnpm dev works without errors
Как установить скилл setup-worktree?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл setup-worktree запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic