| name | working-with-helm-templates |
| description | Work with Helm templates locally for development, rendering, and debugging before any deployment. |
| license | MIT |
| compatibility | opencode |
| metadata | {"version":"1.0.0"} |
Working with Helm Templates
Use this skill when debugging or developing Helm charts locally.
Workflow
- Run
helm dependency update first so dependencies are up to date.
- Use
helm template to render manifests locally without deploying.
- Combine values files as needed, for example:
helm template -f values.yaml -f values-staging.yaml .
- Save rendered output to a temporary file prefixed with
tmp, for example:
helm template -f values.yaml . > tmp-output.yaml
- Validate rendered manifests locally to catch syntax errors or missing values before deployment.
- If rendering fails, inspect the
charts/ directory and the relevant templates and values files to identify the issue.
- When finished, ask the user before deleting any generated
tmp files.