Skip to content
Development
Skill

/local-env-orchestration

Orchestrates local Kubernetes development environment management.

From plugin
sdd
4459 skills7 agents3 commands
Install
$ npx -y skills add LiorCohen/sdd --skill local-env-orchestration --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/local-env-orchestration

Context preview

The summary Claude sees to decide when to auto-load this skill.

Orchestrates local Kubernetes development environment management.

SKILL.md

local-env-orchestration.SKILL.md
name: local-env-orchestration
description: Orchestrates local Kubernetes development environment management.
user-invocable: false

Local Environment Orchestration

Manage local Kubernetes development environments for SDD projects.

Input

Invoked by `sdd-run.md` with:

  • `action` — The local-env action to perform
  • `args` — Remaining arguments after the action

Prerequisites

  • Docker installed and running
  • kubectl installed
  • helm installed
  • One of the following cluster providers:
  • **kind** (`brew install kind`) - recommended
  • **minikube** (`brew install minikube`)
  • **Docker Desktop** with Kubernetes enabled

Actions

| Action | Description | |--------|-------------| | `create` | Create cluster + install infra | | `destroy` | Delete cluster entirely | | `start` | Resume stopped cluster | | `stop` | Pause cluster (preserves state) | | `status` | Show cluster and workload status | | `deploy` | Set up databases, run migrations, deploy helm charts | | `undeploy` | Remove helm deployments (databases persist) | | `forward` | Manage port forwards | | `infra` | Install/reinstall observability infrastructure |

No Arguments

When invoked without an action, display usage:

⚠ Missing required action argument.

USAGE:
  /sdd-run local-env <action> [args] [options]

ACTIONS:
  create     Create local k8s cluster + install infra
  destroy    Delete cluster entirely                      🔴 destructive
  start      Resume stopped cluster
  stop       Pause cluster (preserves state)
  status     Show cluster and workload status
  deploy     Set up databases, run migrations, deploy helm charts
  undeploy   Remove helm deployments                      🟡 caution
  forward    Manage port forwards (start|stop|list)
  infra      Install/reinstall observability infrastructure

EXAMPLES:
  /sdd-run local-env create
  /sdd-run local-env deploy
  /sdd-run local-env forward start
  /sdd-run local-env status

Action Details

create

/sdd-run local-env create [--name=cluster-name] [--provider=kind|minikube|docker-desktop] [--skip-infra]

Creates a local k8s cluster and installs the observability stack (Victoria Metrics + Victoria Logs).

Options:

  • `--name`: Cluster name (default: sdd-local)
  • `--provider`: Cluster provider (default: auto-detected)
  • `kind`: Kubernetes IN Docker (fast, lightweight)
  • `minikube`: Full-featured local k8s
  • `docker-desktop`: Uses Docker Desktop's built-in Kubernetes
  • `--skip-infra`: Skip installing observability stack

**Implementation:**

<plugin-root>/fullstack-typescript/system/system-run.sh local-env create [--name=cluster-name] [--provider=kind|minikube|docker-desktop] [--skip-infra]

destroy

/sdd-run local-env destroy [--name=cluster-name]

Completely removes the local cluster (not available for docker-desktop).

**Implementation:**

<plugin-root>/fullstack-typescript/system/system-run.sh local-env destroy [--name=cluster-name]

start / stop

/sdd-run local-env start [--name=cluster-name]
/sdd-run local-env stop [--name=cluster-name]

Pause and resume the cluster. State is preserved when stopped.

**Implementation:**

<plugin-root>/fullstack-typescript/system/system-run.sh local-env start [--name=cluster-name]
<plugin-root>/fullstack-typescript/system/system-run.sh local-env stop [--name=cluster-name]

status

/sdd-run local-env status [--name=cluster-name]

Shows cluster status, node health, and deployed workloads.

**Implementation:**

<plugin-root>/fullstack-typescript/system/system-run.sh local-env status [--name=cluster-name]

deploy

/sdd-run local-env deploy [chart-name] [--namespace=<app-name>] [--skip-db] [--skip-migrate] [--exclude=name,...]

Deploys the full application stack in order: 1. **Databases** - Sets up PostgreSQL instances for each `type: database` component 2. **Migrations** - Runs database migrations 3. **Helm charts** - Deploys application charts from `components/helm_charts/`

Options:

  • `--namespace`: Override namespace (default: app name from sdd-settings.yaml)
  • `--skip-db`: Skip database setup (useful for redeploying apps only)
  • `--skip-migrate`: Skip running migrations
  • `--exclude`: Comma-separated list of charts to skip (for hybrid development)

**Implementation:**

<plugin-root>/fullstack-typescript/system/system-run.sh local-env deploy [chart-name] [--namespace=<app-name>] [--skip-db] [--skip-migrate] [--exclude=name,...]

undeploy

/sdd-run local-env undeploy [chart-name] [--namespace=<app-name>]

Removes deployed applications (keeps infrastructure).

**Implementation:**

<plugin-root>/fullstack-typescript/system/system-run.sh local-env undeploy [chart-name] [--namespace=<app-name>]

forward

/sdd-run local-env forward [start|stop|list] [--namespace=<app-name>]

Manages port forwards for local access to services.

**Implementation:**

<plugin-root>/fullstack-typescript/system/system-run.sh local-env forward [start|stop|list] [--namespace=<app-name>]

infra

/sdd-run local-env infra [--reinstall]

Install or reinstall the observability infrastructure stack.

**Implementation:**

<plugin-root>/fullstack-typescript/system/system-run.sh local-env infra [--reinstall]

Architecture

Cluster Providers

| Provider | Best For | Create Time | Notes | |----------|----------|-------------|-------| | `kind` | CI/CD, disposable clusters | ~30 seconds | Default, recommended | | `minikube` | Feature-rich local dev | ~60 seconds | Supports addons | | `docker-desktop` | Simple local dev | Already running | Uses existing cluster |

**Auto-detection order:** 1. If Docker Desktop k8s is running → `docker-desktop` 2. If minikube is installed → `minikube` 3. Default → `kind`

Infrastructure Stack

The telemetry namespace contains:

  • **Victoria Metrics**: Metrics collection and storage
  • **Victoria Logs**: Log aggregation

-

Read more
Ships withsdd

Structure for AI-assisted development AI coding assistants are powerful but chaotic. You prompt, you get code, but then what?

Get the whole plugin

Other skills on sdd.