Help us improve
Share bugs, ideas, or general feedback.
From sttts-tilt
Tilt local development and e2e testing. Triggers on tilt, kind cluster, e2e tests, test/tilt, local dev cluster.
npx claudepluginhub sttts/skills --plugin sttts-tiltHow this skill is triggered — by the user, by Claude, or both
Slash command
/sttts-tilt:tiltThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- **NEVER run `tilt up` or `tilt down`** - Tilt is interactive, runs in the user's terminal
Writes and debugs Tiltfiles, manages Tilt resources (image builds, k8s deploys, local commands), and controls the Tilt dev loop (up/down/trigger/logs) for local Kubernetes development.
Provides Tiltfile, Makefile, and Kustomize templates for Kubernetes operator dev loops with kind clusters, live updates, and controller-gen.
Creates a local Kubernetes development environment with kind, k3d, or minikube for fast inner-loop development. Includes cluster creation, ingress, local registry, and Skaffold/Tilt integration.
Share bugs, ideas, or general feedback.
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