Command Palette

Search for a command to run...

Назад к скиллам
скилл № 23335

helm-patterns

Use when the user asks to package an app as a Helm chart, Helm values per environment, helm upgrade or rollback, helmfile, chart dependencies and subcharts…

БесплатноБез исполняемых скриптов
j4flmaoот j4flmao★ 47 звёзд на GitHub

Установить helm-patterns в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Helm Patterns

Purpose

Develop, test, deploy, and operate Helm charts for Kubernetes with best practices for templating, dependency management, security, CI/CD integration, and advanced patterns.

Agent Protocol

Trigger

Exact user phrases: "helm", "helm chart", "helm template", "helm install", "helm upgrade", "helm rollback", "helmfile", "helm secrets", "helm values", "helm dependency", "helm unittest", "helm lint", "helm CRD", "chart museum".

Input Context

  • Chart purpose (app, infrastructure, library).
  • Kubernetes version and distribution.
  • CI/CD system (GitHub Actions, GitLab CI, ArgoCD).
  • Secrets management (SOPS, SealedSecrets, External Secrets, Vault).
  • Multi-environment strategy.

Output Artifact

Helm chart files (Chart.yaml, templates/, values.yaml), helmfile configuration, or CI/CD config.

Response Format

Chart files, helmfile YAML, or CI/CD pipeline YAML. No preamble.

Completion Criteria

  • Chart.yaml with correct metadata, version, appVersion, dependencies.
  • values.yaml with all configurable parameters documented.
  • Templates with proper indentation, helpers, and conditionals.
  • Hooks for pre/post install/upgrade/delete operations.
  • Unittests covering key template outputs.
  • CI/CD pipeline with lint, unittest, package, push.
  • Secrets management integrated (SOPS or SealedSecrets).
  • Multi-environment values files (values-dev.yaml, values-prod.yaml).

Max Response Length

400 lines.

Quick Start

helm create my-chart → Edit values.yaml → Write templates in templates/ → Add dependencies in Chart.yaml → helm lint → helm template --debug → helm unittest → Package and push to registry → Deploy with helm upgrade --install.

Decision Tree: Chart Types

Chart Type Purpose Dependencies Versioning
Application Chart Deploys an application None or subcharts Semantic, bump per release
Library Chart Provides helpers/snippets No templates, only _helpers.tpl Semantic, shared across teams
Umbrella Chart Composes multiple subcharts Many subchart deps Version matches release bundle
Infrastructure Chart Deploys operators, CRDs CRD charts or depends-on Tied to operator version
OCI Chart Stored in OCI registry Same as regular OCI tag equals chart version

Core Workflow

Step 1: Chart Structure

my-chart/
├── Chart.yaml                 # Metadata + dependencies
├── values.yaml                # Default values
├── values.schema.json         # JSON Schema validation
├── charts/                    # Subcharts (packed dependencies)
├── templates/
│   ├── _helpers.tpl           # Template helpers (Go templates)
│   ├── deployment.yaml
│   ├── service.yaml
│   ├── ingress.yaml
│   ├── configmap.yaml
│   ├── secret.yaml
│   ├── hpa.yaml
│   ├── pdb.yaml
│   ├── servicemonitor.yaml
│   ├── tests/
│   │   └── test-connection.yaml
│   └── NOTES.txt              # Post-install output
├── ci/                        # CI test values
│   ├── default-values.yaml
│   └── with-ingress.yaml
└── tests/                     # Unit tests (helm-unittest)
    ├── deployment_test.yaml
    └── service_test.yaml

Step 2: Chart.yaml with Dependencies

apiVersion: v2
name: my-app
description: A production-grade web application
type: application
version: 1.2.3
appVersion: "2.5.0"
kubeVersion: ">=1.27.0-0"
home: https://github.com/myorg/my-app
sources:
  - https://github.com/myorg/my-app
maintainers:
  - name: DevOps Team
    email: [email protected]
dependencies:
  - name: postgresql
    version: "15.5.2"
    repository: "https://charts.bitnami.com/bitnami"
    condition: postgresql.enabled
    tags:
      - database
  - name: redis
    version: "19.6.1"
    repository: "oci://registry-1.docker.io/bitnamicharts"
    condition: redis.enabled
  - name: common
    version: "2.x"
    repository: "file://../common"
  - name: monitoring
    version: "0.x"
    repository: "https://prometheus-community.github.io/helm-charts"
    alias: prometheus
    import-values:
      - child: defaults
        parent: monitoring

Step 3: values.yaml (with documentation)

# @section Global parameters
# @param global.imageRegistry Global Docker image registry
# @param global.imagePullSecrets Global Docker image pull secrets

global:
  imageRegistry: ""
  imagePullSecrets: []

# @section Application parameters
# @param image.repository Image repository
# @param image.tag Image tag (overrides appVersion)
# @param image.pullPolicy Image pull policy
# @param replicaCount Number of replicas

image:
  repository: myorg/my-app
  tag: ""
  pullPolicy: IfNotPresent

replicaCount: 3

# @section Service parameters
service:
  type: ClusterIP
  port: 8080
  containerPort: 8080

# @section Ingress parameters
ingress:
  enabled: false
  className: nginx
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt-prod
    ng
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • references/chart-structure.md
  • references/chart-testing-guide.md
  • references/chart-testing.md
  • references/helm-best-practices.md
  • references/helm-lifecycle.md
  • references/helm-patterns-advanced.md
  • references/helm-patterns-fundamentals.md
  • references/helm-security.md
  • references/helmfile-deploy.md
  • references/umbrella-charts.md

FAQ

Что делает скилл helm-patterns?

Use when the user asks to package an app as a Helm chart, Helm values per environment, helm upgrade or rollback, helmfile, chart dependencies and subcharts, library charts, helm unittest, OCI chart registries, or helm diff. Produces charts and release workflows. Not for a chart plus operator scaffold (use cloud-native-kubernetes-mastery) or GitOps sync (use argo-cd).

Как установить скилл helm-patterns?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл helm-patterns запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить helm-patterns с