Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Create a detailed upgrade plan for a Helm release managed by Terraform, comparing the current and desired chart versions including breaking changes and required code changes.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-08 | ✗→✓ | ▲ Improved | 429% | 0% |
| case-17 | ✗→✓ | ▲ Improved | -28% | 0% |
| case-18 | ✗→✓ | ▲ Improved | -24% | 0% |
| case-05 | ✓→✓ | = Same ✓ | 19% | 0% |
| case-10 | ✓→✓ | = Same ✓ | -20% | 0% |
Run this skill when asked to analyse a Helm chart upgrade for a Terraform-managed Helm release, or to create an upgrade plan.
Scan the current working directory recursively for Terraform files that define a helm_release resource:
bashgrep -r "helm_release" . --include="*.tf" -l
Read the matching files and extract:
chart argument)repository argument)set blocks that override default valuesIf no helm_release resource is found, report this and ask the user to confirm the correct directory.
Ask the user:
1. Current Helm chart version (the version currently deployed)?
2. Desired Helm chart version (the version you want to upgrade to)?Do not attempt to infer versions from the Terraform code or any VERSION files — always ask.
Using the repository URL and chart name from Step 1, locate the chart's GitHub.com (or GitLab.com) source repository. Search the web if needed:
<chart-name> helm chart github.com site:github.comIdentify the correct tags for the current and desired versions (e.g. chart-4.12.3 and chart-4.13.1, or just the version numbers, depending on the project's tagging convention).
Fetch the diff between the two version tags. The comparison URL typically follows this pattern:
https://github.com/<org>/<repo>/compare/<current-tag>...<desired-tag>.diffFetch this URL to retrieve the full diff. If it is unavailable on GitHub.com, search GitLab.com.
Focus on changes in:
templates/ — all template filesvalues.yaml — default valuesChart.yaml — chart metadata and dependenciesSearch the web for breaking changes between the two versions:
<chart-name> helm chart upgrade <current-version> to <desired-version> breaking changesAlso check the chart's CHANGELOG or release notes in the repository.
Re-scan the Terraform code in the working directory. Based on the diff and breaking changes found, identify all changes required:
helm_release resource.set blocks that must be added, removed, or renamed.Create a file named UPGRADE_PLAN.md in the current working directory with the following sections:
markdown# Helm Release Upgrade Plan — <chart-name> <current-version> → <desired-version> ## Overview <Brief description of what is being upgraded and why.> ## Upgrade Possibility **Upgrade possible: Yes / No** <Explain any blockers if upgrade is not possible.> ## Breaking Changes <List all breaking changes found between the two versions. If none, state "No breaking changes identified."> ## All Code Changes <For each required change, show:> - File path - The existing code snippet - The updated code snippet - A brief explanation of why the change is needed Include the Helm chart version bump and any Docker image tag changes. ## Additional Considerations <Any other factors: CRD migrations, manual steps, rollback procedures, testing recommendations.> ## References - <URL to chart diff> - <URL to release notes or CHANGELOG> - <Any other relevant sources>
terraform apply, terraform plan, helm upgrade, or any mutating command — this skill is analysis-only.Other measured skills in the registry, with their headline benchmark lift.