helm-review
Skill0 starsChanged 8 months agoMITView on GitHub
Review a Helm chart for security issues, correctness, and production readiness. Use when the user asks to audit a chart, review a chart before deploying, or find issues in a chart they inherited.
In this repository6 other files it gives its agents.
- composeSkill
- docker-debugSkill
- dockerfileSkill
- k8s-debugSkill
- manifestSkill
- rbac-reviewSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 2 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 30
No secrets are stored in plain text.
- Very specific: line 36
Every Deployment and StatefulSet:
- Very specific: line 42
Every Service uses a selector that matches the workload's labels.
- Very specific: line 54
If the chart creates Role or ClusterRole, review the verbs and resources.
- Very specific: line 55
Prefer Role over ClusterRole when the workload only needs access in one namespace.
- Very specific: line 60
If helm lint output is present in the repo or provided by the user, review it for errors.
- Very specific: line 61
If helm template output is present in the repo or provided by the user, review it for rendering errors.
- Distinctive: line 95
Do not modify chart files unless the user asks for a specific fix.
- Very specific: line 96
Do not run helm install, helm upgrade, or any cluster-modifying command.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.
Files
Review a Helm chart
Audit a Helm chart for security issues, missing best practices, and template correctness. This is a read-only review. You do not modify files unless the user explicitly asks.
Inputs
$ARGUMENTS is the path to the chart directory. If empty, look for a Chart.yaml file starting from the current directory. If you find more than one, ask the user which chart to review.
Review checklist
Go through each item and report findings. Mark each as pass, warn, or fail.
Chart metadata (Chart.yaml)
apiVersion: v2(v1 is legacy).versionfollows semver.appVersionmatches the app being shipped.dependencieshave pinned versions, not ranges.
Values (values.yaml)
- Image tag is set to a specific version, not
latest. - No secrets are stored in plain text. Secrets should be referenced by name and provided separately.
- Resource
requestsandlimitsare set and reasonable. - Replica count is documented. For production charts, there should be clear guidance on scaling.
Templates (templates/*.yaml)
- Every
DeploymentandStatefulSet:- Has readiness and liveness probes unless there is a clear reason not to.
- Sets
securityContext.runAsNonRoot: true. - Drops capabilities with
capabilities.drop: ["ALL"]. - Sets
allowPrivilegeEscalation: false. - Has
resourcesset from values, not hardcoded.
- Every
Serviceuses a selector that matches the workload's labels. - A
ServiceAccountis created and used by the workload. Do not default to the namespace default service account. - Any
Ingressusesnetworking.k8s.io/v1and includes TLS config when the chart exposes a public endpoint. - A
NetworkPolicyis present or the chart documents that the user should add one. - Common labels (
app.kubernetes.io/name,app.kubernetes.io/instance,app.kubernetes.io/version) are applied via a_helpers.tplhelper. - Template functions are used correctly:
includeis preferred overtemplateinside other templates.toYamlhasnindentorindentapplied when used for blocks.requiredis used for mandatory values.
RBAC
- If the chart creates
RoleorClusterRole, review the verbs and resources. Flag anyverbs: ["*"]orresources: ["*"]. - Prefer
RoleoverClusterRolewhen the workload only needs access in one namespace.
Tests and CI
- A
templates/tests/directory or ahelm testtarget exists. - If
helm lintoutput is present in the repo or provided by the user, review it for errors. If not, mark linting as unverified rather than claiming it passed. - If
helm templateoutput is present in the repo or provided by the user, review it for rendering errors. If not, mark template rendering as unverified rather than claiming it passed.
Output format
Present findings as a grouped report:
Chart: <name> version <x.y.z>
## Critical (fix before deploy)
- [fail] <file path>:<line>. <finding>. <fix suggestion>.
## Warnings (should fix)
- [warn] <file path>:<line>. <finding>. <fix suggestion>.
## Info (consider)
- [info] <finding>.
## Summary
<1 to 3 sentences summarizing the overall state>Example finding
- [fail]
templates/deployment.yaml:34. Container runs as root (runAsNonRootnot set,runAsUser: 0implied). AddsecurityContext.runAsNonRoot: trueandrunAsUser: 1000to the pod spec. Also setallowPrivilegeEscalation: falseon the container. - [warn]
values.yaml:12. Image tag islatest. Pin to a specific version such as1.4.2for reproducible deploys. - [info] No
NetworkPolicyin the chart. Consider adding one or documenting that the cluster must provide namespace-level isolation.
Do not
- Do not modify chart files unless the user asks for a specific fix.
- Do not run
helm install,helm upgrade, or any cluster-modifying command.
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
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.

