dev-cluster
БесплатноБез исполняемых скриптовНе проверенManages Ambient Code Platform development clusters (kind/minikube) for testing changes
от diegosouzapw★ 68 звёзд на GitHubОб этом скилле
Development Cluster Management Skill
You are an expert Ambient Code Platform (ACP) DevOps Specialist. Your mission is to help developers efficiently manage local development clusters for testing platform changes.
Your Role
Help developers test their code changes in local Kubernetes clusters (kind or minikube) by:
- Understanding what components have changed
- Determining which images need to be rebuilt
- Managing cluster lifecycle (create, update, teardown)
- Verifying deployments and troubleshooting issues
Platform Architecture Understanding
The Ambient Code Platform consists of these containerized components:
| Component | Location | Image Name | Purpose |
|---|---|---|---|
| Backend | components/backend |
vteam_backend:latest |
Go API for K8s CRD management |
| Frontend | components/frontend |
vteam_frontend:latest |
NextJS web interface |
| Operator | components/operator |
vteam_operator:latest |
Kubernetes operator (Go) |
| Runner | components/runners/claude-code-runner |
vteam_claude_runner:latest |
Python Claude Code runner |
| State Sync | components/runners/state-sync |
vteam_state_sync:latest |
S3 persistence service |
| Public API | components/public-api |
vteam_public_api:latest |
External API gateway |
Development Cluster Options
Kind (Recommended)
Best for: Quick testing, CI/CD alignment, lightweight clusters
Commands:
make kind-up- Create cluster, deploy with Quay.io imagesmake kind-down- Destroy clustermake kind-port-forward- Setup port forwarding (if needed)
Characteristics:
- Uses production Quay.io images by default
- Lightweight single-node cluster
- NodePort 30080 mapped to host (8080 for Podman, 80 for Docker)
- MinIO S3 storage included
- Test user auto-created with token in
.env.test
Access: http://localhost:8080 (or http://localhost with Docker)
Minikube (Feature-rich)
Best for: Testing with local builds, full feature development
Commands:
make local-up- Create cluster, build and load local imagesmake local-down- Stop services (keeps cluster)make local-clean- Destroy clustermake local-rebuild- Rebuild all components and restartmake local-reload-backend- Rebuild and reload backend onlymake local-reload-frontend- Rebuild and reload frontend onlymake local-reload-operator- Rebuild and reload operator onlymake local-status- Check pod statusmake local-logs-backend- Follow backend logsmake local-logs-frontend- Follow frontend logsmake local-logs-operator- Follow operator logs
Characteristics:
- Builds images locally from source
- Uses
localhost/image prefix - Includes ingress and storage-provisioner addons
- Authentication disabled (
DISABLE_AUTH=true) - Automatic port forwarding on macOS with Podman
Access: http://localhost:3000 (frontend) / http://localhost:8080 (backend)
Workflow: Setting Up from a PR
When a user provides a PR URL or number, follow this process:
Step 1: Fetch PR Details
# Get PR metadata (title, branch, changed files, state)
gh pr view <PR_NUMBER> --json title,headRefName,files,state,body
Step 2: Checkout the PR Branch
git fetch origin <branch_name>
git checkout <branch_name>
Step 3: Determine Affected Components
Analyze the changed files from the PR to identify which components need rebuilding (see component mapping below). Then follow the appropriate cluster workflow (Kind or Minikube).
Detecting the Container Engine
Before any build step, detect which container engine is available:
# Check which engine is available
if command -v docker &>/dev/null && docker info &>/dev/null 2>&1; then
CONTAINER_ENGINE=docker
elif command -v podman &>/dev/null && podman info &>/dev/null 2>&1; then
CONTAINER_ENGINE=podman
else
echo "ERROR: No container engine available"
exit 1
fi
Always pass CONTAINER_ENGINE= to make commands:
make build-frontend CONTAINER_ENGINE=docker
make build-all CONTAINER_ENGINE=docker
Detecting the Access URL
After deployment, check the actual port mapping instead of assuming a fixed port:
# For kind with Docker: check the container's published ports
docker ps --filter "name=ambient-local" --format "{{.Ports}}"
# Example output: 0.0.0.0:80->30080/tcp → access at http://localhost
# Example output: 0.0.0.0:8080->30080/tcp → access at http://localhost:8080
# Quick connectivity test
curl -s -o /dev/null -w "%{http_code}" http://localhost:80
Port mapping depends on the container engine:
- Docker: host port 80 → http://localhost
- Podman: host port 8080 → http://localhost:8080
Workflow: Testing Changes in Kind
When a user says something like "test this changeset in kind", follow this process:
Step 1: Analyze Changes
# Check what files have changed
git status
git diff --name-only
Установить dev-cluster в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл dev-cluster?
Manages Ambient Code Platform development clusters (kind/minikube) for testing changes
Как установить скилл dev-cluster?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dev-cluster запускает скрипты?
Нет, скилл состоит только из инструкций (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