agentleFS
abdullahkhawerabdullahkhawer/devops-skills/skills/helm-cli/SKILL.md

helm-cli

Skill8 starsChanged 7 months agoApache-2.0View on GitHub

Perform Helm operations using the helm CLI. Use for inspecting, templating, and managing chart releases across Kubernetes contexts.

  • Installs packages

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 4 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use the context table and rules below when constructing all helm commands.

    line 8
  2. Distinctive:

    Update the table below with your kubeconfig context names before using this skill:

    line 12
  3. Distinctive:

    If the target environment is unclear, ask the user before running any command.

    line 20
  4. Very specific:

    If helm is not installed or no repositories are configured, inform the user that setup is required and ask them to complete the following …

    line 24
  5. Very specific:

    Always pass --kube-context and --namespace explicitly — never rely on the current kubeconfig context:

    line 34
  6. Distinctive:

    NEVER target a context not listed in the configuration table above.

    line 91
  7. Very specific:

    Always pass --kube-context and --namespace explicitly on every command — never rely on the current kubeconfig context.

    line 92
  8. Very specific:

    NEVER run helm install, helm upgrade, helm rollback, or helm uninstall against a production context without explicit user instruction — a …

    line 93
  9. Very specific:

    Always run helm template or helm diff upgrade and show the output before ever suggesting an install/upgrade — never apply blind.

    line 94
  10. Distinctive:

    NEVER print, display, or store the contents of values files that may contain secrets — treat any value that looks like a credential as …

    line 95
  11. Very specific:

    If a chart or release name looks unfamiliar, look it up with helm list/helm status first before mutating.

    line 96
  12. Very specific:

    Prefer --dry-run on install/upgrade commands when previewing changes against a live cluster is unavoidable.

    line 97

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Helm CLI Skill

Use the context table and rules below when constructing all helm commands.

Configuration

Update the table below with your kubeconfig context names before using this skill:

EnvironmentContext NameDefault Namespace
Production<your-prod-context><your-prod-namespace>
Staging / Non-Prod<your-nonprod-context><your-nonprod-namespace>
Sandbox / Dev<your-sandbox-context><your-sandbox-namespace>

If the target environment is unclear, ask the user before running any command.

Prerequisites (one-time setup by user)

If helm is not installed or no repositories are configured, inform the user that setup is required and ask them to complete the following steps manually. Do not perform these steps yourself.

brew install helm
helm repo add <repo-name> <repo-url>
helm repo update

Command Format

Always pass --kube-context and --namespace explicitly — never rely on the current kubeconfig context:

helm <command> --kube-context <context-name> --namespace <namespace> [options]

Examples

# List releases in non-prod
helm list --kube-context <your-nonprod-context> --namespace <your-nonprod-namespace>

# Render a chart's templates locally without touching the cluster
helm template <release-name> <chart> --values <values-file>

Available Commands

Read-only (safe, no confirmation needed)

CommandDescription
list [-A]List releases in a namespace (or all namespaces with -A)
status <release>Show the status of a release
get values <release>Show the values used for a release
get manifest <release>Show the rendered manifest of a release
get hooks <release>Show hooks associated with a release
history <release>Show revision history for a release
template <chart>Render chart templates locally — no cluster interaction
show chart/values/readme <chart>Show chart metadata, default values, or README
diff upgrade <release> <chart>Preview changes an upgrade would make (requires helm-diff plugin)
lint <chart>Validate a chart for issues
search repo/hub <keyword>Search for charts
repo listList configured repositories
versionShow Helm client/server version

Mutating operations (confirm with user before running)

CommandDescription
install <release> <chart>Install a new release
upgrade <release> <chart>Upgrade an existing release
upgrade --install <release> <chart>Install or upgrade in one step
repo add/updateAdd or refresh a chart repository
dependency update/buildResolve and download chart dependencies

Never run — requires explicit human approval

CommandReason
uninstall <release>Removes the release and its resources from the cluster
rollback <release> <revision>Reverts a release to a prior revision, affecting live workloads
upgrade --install against a production releaseMutates live production infrastructure
install/upgrade with --forceForces resource replacement, which can cause downtime

Rules

  • NEVER target a context not listed in the configuration table above. If a command references an unfamiliar context, stop and ask the user to confirm.
  • Always pass --kube-context and --namespace explicitly on every command — never rely on the current kubeconfig context.
  • NEVER run helm install, helm upgrade, helm rollback, or helm uninstall against a production context without explicit user instruction — a human must execute these.
  • Always run helm template or helm diff upgrade and show the output before ever suggesting an install/upgrade — never apply blind.
  • NEVER print, display, or store the contents of values files that may contain secrets — treat any value that looks like a credential as sensitive and do not display it.
  • If a chart or release name looks unfamiliar, look it up with helm list/helm status first before mutating.
  • Prefer --dry-run on install/upgrade commands when previewing changes against a live cluster is unavoidable.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.