一键导入
tilt
Tilt local development and e2e testing. Triggers on tilt, kind cluster, e2e tests, test/tilt, local dev cluster.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Tilt local development and e2e testing. Triggers on tilt, kind cluster, e2e tests, test/tilt, local dev cluster.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
This skill should be used when the user mentions "bd", "beads", "what's next", "add task", "add epic", or asks about issue tracking. First check if a .beads directory exists in the project - if not, this skill does not apply.
Launch and manage loosely coupled cmux subagents: parallel interactive Codex sessions in cmux columns for user-given subtasks, using explicit sttts-* branches and the bundled codex-worktree wrapper. Use when the user says 'start cmux codex subagent', 'cmux codex session', 'codex cmux session', asks to launch a Codex subagent in cmux, or asks to start, check status, tail output, focus, or close a cmux subagent.
Record prompts to git notes and MR/PR descriptions. Triggers on 'record prompt', 'prompt recording', 'log prompts'.
Clean up worktrees for merged branches. Triggers on 'prune worktrees', 'cleanup worktrees', 'remove merged worktrees'.
Git worktree commands and usage. Triggers on 'worktree', 'worktrees', 'create worktree', 'git worktree'.
Opinionated worktree workflow with .git/checkouts convention. Load explicitly with /worktree-workflow.
| name | tilt |
| description | Tilt local development and e2e testing. Triggers on tilt, kind cluster, e2e tests, test/tilt, local dev cluster. |
| version | 0.2.8 |
tilt up or tilt down - Tilt is interactive, runs in the user's terminal# Check if Tilt is running
tilt get uiresources
# Check if all services are ready (non-zero exit = not ready)
tilt wait --timeout 5s --for=condition=Ready uiresource/<resource>
If Tilt is not running, ask the user:
"Please start Tilt (
tilt uportilt ci) and wait for all services to be ready."
These are e2e tests that run against the Tilt-managed kind cluster.
# All tilt tests
cd test/tilt && go test -v ./...
# Specific test
cd test/tilt && go test -v -run TestSpecificFunction ./...
# With log file for easier reading
cd test/tilt && go test -v ./... 2>&1 | sed 's/\x1b\[[0-9;]*m//g' > test.log
Controller integration tests use envtest, independent of Tilt:
# Setup (one-time)
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
# Run envtests
KUBEBUILDER_ASSETS=$(setup-envtest use -p path 1.34.1) go test -v ./cmd/...
# Run specific controller tests
KUBEBUILDER_ASSETS=$(setup-envtest use -p path 1.34.1) go test -short -v ./cmd/<controller>/internal/reconcilers/...
If the user needs to set up Tilt from scratch:
Install:
brew install kind ko tilt tilt-dev/tap/ctlptl docker colima
Start colima (Docker):
colima start --cpu 4 --memory 6
export DOCKER_HOST=unix://$HOME/.colima/default/docker.sock
Symlink dependent repos into .cache/:
mkdir -p .cache
ln -s <path-to-api-machinery-backend> .cache/backend
ln -s <path-to-dgxc-admission-controller> .cache/admission-controller
ln -s <path-to-platform-apis> .cache/apis
Start cluster and Tilt:
ctlptl apply -f ctlptl.yml
tilt up # opens web UI on space bar
kind delete cluster && ctlptl apply -f ctlptl.yml