helm-templates

Author Helm chart templates using Go template patterns, named templates, and hooks.

Updated Aug 1, 2026
One-click install
npx skills add https://github.com/siegenthalerroger/.llmctl-marketplace --skill helm-templates-siegenthalerroger
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: helm-templates
Source: https://github.com/siegenthalerroger/.llmctl-marketplace/tree/main/plugins/llmctl-ops-0.2.1/skills/helm-templates
Command: npx skills add https://github.com/siegenthalerroger/.llmctl-marketplace --skill helm-templates-siegenthalerroger

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing Helm chart templates involves subtle Go template syntax, whitespace control, and Kubernetes naming constraints that are easy to get wrong, leading to broken renders, invalid YAML, and failed deployments. ## Core Features & Use Cases - Named Template Conventions: Enforces a standard set of _helpers.tpl definitions (name, fullname, labels, selectorLabels, serviceAccountName, image) with the 63-character Kubernetes label limit applied. - Go Template Patterns: Provides correct usage of include, toYaml, nindent, with, required, default, and safe handling of user-provided file content versus tpl interpolation. - Hooks and Testing: Covers helm.sh/hook annotations with weights and delete policies, plus linting and rendering workflows via helm lint, helm template, and dry-run upgrades. - Use Case: When adding a new Ingress template to a chart, apply the conditional resource pattern, namespace handling, and checksum annotation conventions, then validate with helm template before committing. ## Quick Start Ask the assistant to write a Helm template for a Deployment with configurable resources and a ConfigMap checksum annotation, following the chart's _helpers.tpl conventions.

Frequently Asked Questions about helm-templates

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write Helm chart templates with _helpers.tpl?▼

Define named templates in _helpers.tpl for chart name, fullname, labels, selectorLabels, serviceAccountName, and image, then call them with include so output can be piped. Truncate names to 63 characters to satisfy Kubernetes label limits.

What is the difference between include and template in Helm?▼

include returns the rendered output as a string so it can be piped through functions like nindent or sha256sum, while template writes output directly and cannot be piped. Prefer include everywhere for flexibility.

How do I test Helm templates before deploying?▼

Run helm lint for errors and best practices, helm template to render manifests locally, and helm upgrade with --dry-run --debug for a server-side simulation. Pass complex values through a values file rather than --set.

Why does helm --set fail with template syntax or commas?▼

The --set parser splits on commas and chokes on braces, producing errors like 'key "}" has no value'. Pass any value containing Go template syntax or special characters via a -f values.yaml file instead.

When should I use tpl versus verbatim content in Helm values?▼

Use tpl only when users intentionally write template expressions in values, since tpl evaluates every {{ }} it finds and can corrupt files with placeholder syntax. For general config passthrough, emit content verbatim with nindent.