gerrit-create
Use when creating or updating Gerrit changes — pushing code for review, amending patch sets, setting reviewers and topics.…
Manages Ambient Code Platform development clusters (kind) for testing changes locally. Use when deploying PRs to kind, bringing up local clusters, rebuilding images, troubleshooting pod issues, or running benchmarks. Triggers on: "test in kind", "deploy locally", "kind cluster",
$ npx -y skills add ambient-code/platform --skill dev-cluster --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/dev-clusterContext preview
The summary Claude sees to decide when to auto-load this skill.
Manages Ambient Code Platform development clusters (kind) for testing changes locally. Use when deploying PRs to kind, bringing up local clusters, rebuilding images, troubleshooting pod issues, or running benchmarks. Triggers on: "test in kind", "deploy locally", "kind cluster",
name: dev-cluster description: > Manages Ambient Code Platform development clusters (kind) for testing changes locally. Use when deploying PRs to kind, bringing up local clusters, rebuilding images, troubleshooting pod issues, or running benchmarks. Triggers on: "test in kind", "deploy locally", "kind cluster", "rebuild images", "pod crashing", "bring up cluster", "kind-up", "dev environment", "local dev".
> **Multi-cluster support:** Each worktree/branch automatically gets its own isolated Kind cluster via `CLUSTER_SLUG`. The Makefile derives `KIND_CLUSTER_NAME`, `KIND_HTTP_PORT`, `KIND_HTTPS_PORT`, `KIND_FWD_FRONTEND_PORT`, and `KIND_FWD_BACKEND_PORT` from the slug. Run `make kind-status` to see the current assignments. Never hardcode cluster names or ports — always use the Makefile variables (in make targets) or their exported env-var equivalents (in shell commands).
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.
Help developers test their code changes in local Kubernetes clusters (kind) by: 1. Understanding what components have changed 2. Determining which images need to be rebuilt 3. Managing cluster lifecycle (create, update, teardown) 4. Verifying deployments and troubleshooting issues
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/ambient-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 |
**Best for:** All development, quick testing, CI/CD alignment
**Commands:**
**Characteristics:**
**Access:** `http://localhost:$KIND_FWD_FRONTEND_PORT` (run `make kind-status` for assigned ports)
**If `make kind-up` fails partway through, fix the root cause and re-run `make kind-up` (after `make kind-down`).** Do NOT manually patch deployments, create buckets, or set env vars to recover — the Makefile handles MinIO bucket creation, Vertex AI setup, token extraction, and port forwarding in a specific order. Manually recovering individual steps is slower, error-prone, and skips steps you don't know about.
When the user needs Vertex AI (Claude via GCP) instead of Anthropic API:
# One-command setup — reads env vars from shell profile make kind-up LOCAL_IMAGES=true LOCAL_VERTEX=true
**Prerequisites:** These env vars must be set in the user's shell (check `~/.bashrc` or `~/.zshrc`):
The `LOCAL_VERTEX=true` flag runs `scripts/setup-vertex-kind.sh` which creates the `ambient-vertex` secret, patches `operator-config`, and restarts the operator. **Do not do these steps manually.**
The platform uses **Unleash** for feature flags, running in-cluster. Some endpoints are gated behind feature flags and will return 404 if the flag is not enabled. If you hit an unexpected 404 on an endpoint that exists in the code, check whether it's behind a `requireFeatureFlag()` middleware and ensure the flag is created and enabled in Unleash (admin token: `*:*.unleash-admin-token`, API at `http://localhost:4242` inside the cluster).
To test workflow changes from a different branch of `ambient-code/workflows`:
kubectl set env deployment/backend-api -n ambient-code \ OOTB_WORKFLOWS_BRANCH="your-branch-name" kubectl rollout restart deployment/backend-api -n ambient-code
The backend caches workflows for 5 minutes. Restart clears the cache immediately.
Testing Google Drive or other Google integrations requires OAuth credentials on the backend:
kubectl set env deployment/backend-api -n ambient-code \ GOOGLE_OAUTH_CLIENT_ID="your-client-id" \ GOOGLE_OAUTH_CLIENT_SECRET="your-secret" \ OAUTH_STATE_SECRET="$(openssl rand -hex 32)" \ BACKEND_URL="http://localhost:$KIND_HTTP_PORT"
When a user provides a PR URL or number, follow this process:
# Get PR metadata (title, branch, changed files, state) gh pr view <PR_NUMBER> --json title,headRefName,files,state,body
git fetch origin <b
Kubernetes-native AI automation platform for intelligent agentic sessions
Use when creating or updating Gerrit changes — pushing code for review, amending patch sets, setting reviewers and topics.…
Use when reviewing a Gerrit change — fetching change details, reading diffs, posting inline comments, and voting with labels.…
Use when submitting or preparing a Gerrit change for merge — checking submit requirements, rebasing, resolving comments, and…
Run a convention alignment check across the codebase to measure adherence to documented standards. Use when you want to check…
Perform a comprehensive code review using repository-specific standards. Use when reviewing code changes, checking PR quality,…
Perform any development work on the ambient-ui component. Full workflow instructions.