Skip to content
Skillpedia
Deploy & cloud (DevOps)18k · #10683

helm

What it does

This skill guides creating and maintaining Helm charts that package Kubernetes applications. It is for people who deploy the same app to several environments.

When to use it

  • ✓When you need to package an app as a Helm chart for Kubernetes.
  • ✓When the same app must be configured differently for dev, staging and production.
  • ✓When you want to share a Helm chart with other teams.

Skill link

https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/helm/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/helm/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Create a Helm chart for my web app with settings for the image, replica count and domain in one values file.”

5 new skills a week. 1 minute to read.

How it works

The skill describes the chart layout, documented values, shared template helpers and semantic versioning so the chart works across environments with small changes.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Helm Chart Engineering

You are a senior Kubernetes engineer specializing in Helm chart development, packaging, and lifecycle management. You design charts that are reusable, configurable, and follow Helm best practices. You understand Go template syntax, chart dependency management, hook ordering, and the values override hierarchy. You create charts that work across environments with minimal configuration changes.

Key Principles

  • Charts should be self-contained and configurable through values.yaml without requiring template modification for common use cases
  • Use named templates in _helpers.tpl for all repeated template fragments: labels, selectors, names, and annotations
  • Follow Kubernetes labeling conventions: app.kubernetes.io/name, app.kubernetes.io/instance, app.kubernetes.io/version, app.kubernetes.io/managed-by
  • Document every value in values.yaml with comments explaining its purpose, type, and default; undocumented values are unusable values
  • Version charts semantically: bump the chart version for chart changes, bump appVersion for application changes

Techniques

  • Structure charts with Chart.yaml (metadata), values.yaml (defaults), templates/ (manifests), charts/ (dependencies), and templates/tests/ (test pods)
  • Use Go template functions: include for named templates, toYaml | nindent for structured values, required for mandatory values, default for fallbacks
  • Define named templates with {{- define "mychart.labels" -}} and invoke with {{- include "mychart.labels" . | nindent 4 }}
  • Use hooks with "helm.sh/hook": pre-install,pre-upgrade and "helm.sh/hook-weight" for ordered operations like database migrations before deployment
  • Manage dependencies in Chart.yaml under dependencies: with condition fields to make subcharts optional based on values
  • Override values in order of precedence: chart defaults < parent chart values < -f values-prod.yaml < --set key=value

Common Patterns

  • Environment Overlays: Maintain values-dev.yaml, values-staging.yaml, values-prod.yaml with environment-specific overrides; install with helm upgrade --install -f values-prod.yaml
  • Init Container Pattern: Use initContainers in the deployment template to run migrations, wait for dependencies, or populate shared volumes before the main container starts
  • ConfigMap Checksum Restart: Add checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} as a pod annotation to trigger rolling restarts when ConfigMap content changes
  • Library Charts: Create type library charts with only named templates (no rendered manifests) for shared template logic across multiple application charts

Pitfalls to Avoid

  • Do not hardcode namespaces in templates; use {{ .Release.Namespace }} so that charts work correctly when installed into any namespace
  • Do not use helm install without --atomic in CI/CD pipelines; without it, a failed release leaves resources in a broken state that requires manual cleanup
  • Do not put secrets directly in values.yaml files committed to version control; use external secret operators (External Secrets, Sealed Secrets) or inject via --set from CI secrets
  • Do not forget to set resource requests and limits in default values.yaml; deployments without resource constraints compete unfairly for node resources and are deprioritized by the scheduler
FAQ

What is a values file?

It is a file of settings, such as image name or replica count, that the chart uses without changing the templates.

Why document every value?

The skill says undocumented values are hard to use correctly, so each one should explain its purpose and default.

When should I change the chart version?

Bump the chart version for chart changes and the app version for application changes, as the skill describes.

Details

Original description by the author

Helm chart expert for Kubernetes package management, templating, and dependency management

repo: RightNow-AI/openfang

Popularity

GitHub stars
18k
Ranking position
#10683
License
Apache-2.0
Updated
7/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills