본문으로 건너뛰기
cccskills
무료GitHub에 공개

wt

Manage LlamaFarm worktrees for isolated parallel development. Create, start, stop, and clean up worktrees.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

wt - Worktree Manager Skill

Manages isolated LlamaFarm development environments using git worktrees. Each worktree has its own services, ports, and data directories - enabling parallel agent sessions without conflicts.

Full Documentation

For complete documentation, architecture details, and advanced usage: @scripts/wt/README.md


Quick Reference

TaskCommand
Create worktree and start serviceswt create feat/my-feature
Create and cd into worktreewt create --go feat/my-feature
List all worktrees with statuswt list
Check service healthwt status or wt health
Start/stop serviceswt start / wt stop
View service logswt logs [server|rag|runtime|designer|all]
Delete worktreewt delete <name>
Switch to worktreewt switch <name>
Open Designer in browserwt open
Diagnose issueswt doctor
Clean orphaned datawt gc

When to Use wt

Use wt when:

  • Starting isolated work on a feature/task that needs running services
  • Running parallel coding sessions (multiple agents or terminals)
  • Testing changes without affecting the main development environment
  • Avoiding port conflicts between concurrent LlamaFarm instances

Common Workflows

Starting a New Task

# Create isolated environment with services running
wt create --go feat/my-task

# Work in the worktree...
# Services are already running on auto-assigned ports

# Check status anytime
wt status

# View logs if needed
wt logs server

Checking What's Running

# List all worktrees with their port assignments
wt list

# Example output:
# NAME              STATUS    SERVER   DESIGNER  RUNTIME
# feat-my-task      running   8150     5150      11150
# fix-bug           stopped   8234     5234      11234

Cleaning Up

# Stop services and remove a worktree
wt delete feat-my-task

# Remove data for worktrees that no longer exist
wt gc

# Remove worktrees for branches merged to main
wt prune

Troubleshooting

# Diagnose common issues (ports, stale PIDs, missing tools)
wt doctor

# Restart stuck services
wt stop && wt start

# Force delete if normal delete fails
wt delete my-worktree --force

Service URLs

Each worktree gets unique ports. Check URLs with:

wt url
# Outputs:
#   Server:   http://localhost:8150
#   Designer: http://localhost:5150
#   Runtime:  http://localhost:11150

If the Caddy proxy is running, use port-free URLs:

http://server.feat-my-task.localhost
http://designer.feat-my-task.localhost

Key Environment Details

  • Worktrees location: ~/worktrees/llamafarm/
  • Data directories: ~/.llamafarm/worktrees/<name>/
  • Port allocation: Deterministic hash of worktree name (14345+offset, 5000+offset, 11000+offset)
  • Logs: ~/.llamafarm/worktrees/<name>/logs/

Notes for the Agent

  1. Always use wt create --go when setting up a new task environment - it handles everything (branch, deps, build, services)
  2. Check wt list first before creating a new worktree to see what already exists
  3. Use wt status to verify services are healthy before running tests or making API calls
  4. Run wt doctor when encountering unexplained service issues
  5. Clean up with wt delete when a task is complete to free resources

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

CLI best practices for LlamaFarm. Covers Cobra, Bubbletea, Lipgloss patterns for Go CLI development.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

llama-farm/llamafarm8362026년 6월 10일 업데이트

Comprehensive code review for diffs. Analyzes changed code for security vulnerabilities, anti-patterns, and quality issues. Auto-detects domain (frontend/backend) from file paths.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

llama-farm/llamafarm8362026년 6월 10일 업데이트

Commit changes, push to GitHub, and open a PR. Includes quality checks (security, patterns, simplification). Use --quick to skip checks.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

llama-farm/llamafarm8362026년 6월 10일 업데이트

Best practices for the Common utilities package in LlamaFarm. Covers HuggingFace Hub integration, GGUF model management, and shared utilities.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

llama-farm/llamafarm8362026년 6월 10일 업데이트

Configuration module patterns for LlamaFarm. Covers Pydantic v2 models, JSONSchema generation, YAML processing, and validation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

llama-farm/llamafarm8362026년 6월 10일 업데이트

Designer subsystem patterns for LlamaFarm. Covers React 18, TanStack Query, TailwindCSS, and Radix UI.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

llama-farm/llamafarm8362026년 6월 10일 업데이트

llama-farm의 스킬 모두 보기

이 스킬의 문제 신고