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★ 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
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- 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), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…