Skip to content
Back to skills

Helm Chart Conventions

ASecurity

Helm chart conventions — release namespace, standard labels, chart structure, and values conventions. Apply whenever creating or editing Helm templates, values files, or helpers under charts/.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 11, 2026
developmentkubernetesapi

Works with

  • api

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add makigjuro/cloud-app-blueprint --skill helm-chart-conventions --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Helm Chart Conventions?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Helm Chart Conventions
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/makigjuro-helm-chart-conventions/badge)](https://www.skillsdirectory.com/skills/makigjuro-helm-chart-conventions)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: helm-chart-conventions
description: Helm chart conventions — release namespace, standard labels, chart structure, and values conventions. Apply whenever creating or editing Helm templates, values files, or helpers under charts/.
user-invocable: false
paths:
  - "**/charts/**/*.yaml"
  - "**/charts/**/*.yml"
  - "**/charts/**/*.tpl"
---

# Helm Chart Rules

## Namespace
- Never hardcode a namespace in templates
- Always use `{{ .Release.Namespace }}` so the namespace is controlled at install time

## Standard Labels
- `app.kubernetes.io/name`, `app.kubernetes.io/instance`, `app.kubernetes.io/version`
- `app.kubernetes.io/managed-by: Helm`

## Chart Structure
Each chart lives in its own directory:
```
{CHARTS_PATH}/{chart-name}/
├── Chart.yaml          # name, version, appVersion
├── values.yaml         # defaults (image, replicas, resources, env)
└── templates/
    ├── deployment.yaml
    ├── service.yaml
    ├── ingress.yaml
    ├── configmap.yaml
    ├── hpa.yaml
    └── _helpers.tpl
```

## Conventions
- Service names in charts should match the deployed service names (e.g., `api-gateway`, `user-service`, `order-processor`)
- Health check paths: `/health/live` (liveness), `/health/ready` (readiness) — adjust to match your application's actual health endpoints
- Resource limits always defined in values.yaml
- Environment variables from ConfigMaps and Secrets, not hardcoded
- Use `{{ include "chart.fullname" . }}` from _helpers.tpl for resource naming

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.