AGENT SKILL

helm-architect

Architect-level Helm design — chart structure and values schema, templating discipline that does not become a programming language, releases and rollback semantics, chart versioning and distribution, and the boundary between chart defaults and environment configuration. Use when Kubernetes manifests must be packaged and parameterised.

License 许可
MIT
最近更新
2026-11-13
Stars
★ 0
Forks
0

01 前言 Front Matter

name
helm-architect
license
MIT
metadata
{ "crusor-path": "cloud-and-devops-architect/platform-architect/helm-architect", "crusor-domain": "cloud-and-devops-architect", "crusor-origin": "original", "crusor-sources": "helm.sh/docs; helm.sh/docs/chart_best_practices; helm.sh/docs/topics/chart_repository", "crusor-triggers": "helm, chart, values.yaml, helm template, kustomize, release rollback, chart versioning, helm hooks, oci chart", "crusor-verified-on": "2026-10-30" }
description
Architect-level Helm design — chart structure and values schema, templating discipline that does not become a programming language, releases and rollback semantics, chart versioning and distribution, and the boundary between chart defaults and environment configuration. Use when Kubernetes manifests must be packaged and parameterised.
compatibility
Helm 3, OCI registries; analogous to Kustomize

03 SKILL.md 正文

Helm Architect

Helm is a template engine plus a release ledger. Both halves matter: a chart nobody can read and a release history nobody can roll back are separate failures.

When to use

  • Shipping the same workload to many environments or customers.
  • Third-party software distribution as charts.
  • Versioned application packaging on Kubernetes.

When NOT to use

  • One environment, one app: plain manifests plus Kustomize are simpler.
  • Complex conditional logic — that is a sign the values model is wrong.

Decision 1 — Chart shape

chart/
  Chart.yaml           name, version, appVersion
  values.yaml          documented defaults only
  values.schema.json   typed validation
  templates/           no logic beyond substitution
  crds/                installed before templates
  • One chart per deployable, not one mega-chart per platform (unless it is a true umbrella with independent subcharts).
  • Library charts for shared helpers, imported with an alias.
  • values.schema.json turns a typo into a validation error instead of a broken deploy.

Decision 2 — Values

  • Defaults must run the app locally-ish (small resources, no external deps required to template).
  • Environment values live in the environment's repo/GitOps path, not in the chart.
  • No if trees over values.env == "prod". Pass explicit values instead.
  • Names: service.replicaCount, ingress.enabled, resources.limits.memory — consistent across every chart in the org.
  • Secrets referenced by name from an external secret store; never in values.

Decision 3 — Templates

  • include/template with nindent; no nested one-liners that nobody can debug.
  • Fail fast: required on mandatory values, fail on impossible combinations.
  • Helpers for labels/annotations so every resource carries the same metadata.
  • Immutable-ish fields: checksum/config annotations to trigger restarts on config change.
  • Never helm install --set in production; that is unversioned configuration.

Decision 4 — Releases

  • Release name = service name; namespace = environment. One release per workload.
  • helm upgrade --install --atomic --wait in pipelines: failures roll back rather than leaving a half-applied release.
  • Understand that rollback restores manifests, not data — migrations need their own strategy.
  • Revision history kept for the retention window; a release with 200 revisions is usually a sign of a stuck pipeline.
  • Hooks (pre-install, post-upgrade) for migrations and smoke tests, with timeouts and idempotent jobs.

Decision 5 — Distribution

  • Charts in an OCI registry, signed where supported; versioned semantically.
  • appVersion and version are different things: chart changes vs app changes.
  • Keep a values reference in the chart README; generated docs beat tribal memory.

Failure modes at scale

  • Chart with 60 if branches; nobody can predict the rendered output.
  • latest chart version in a pipeline; two clusters run different code silently.
  • Values containing production secrets in a git repo.
  • Rollback attempted after a migration; the schema no longer matches the old chart.
  • Hooks that run every upgrade without idempotency, duplicating data.

Verification receipts

  1. helm lint and helm template diffs reviewed in CI for each environment.
  2. Values schema rejects an invalid input in a test.
  3. Atomic upgrade demonstrated with an injected failure and automatic rollback.
  4. Chart version and appVersion policy documented and followed.
  5. Registry holds signed, versioned charts; a rollback to the previous version exercised.

04 同仓库更多 Skills

SriAkhilSJ
SriAkhilSJ/PulseAIRepo

interaction-patterns-architect

Architect-level interaction design in code — choosing established patterns over invented ones, feedback and latency behaviour, destructive-action safeguards, navigation and overlay conventions, and the state model behind every interactive surface. Use when a screen has to behave, not just look.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

design-system-ops-architect

Architect-level operation of a design system in code — token pipelines and versioning, component API and variant policy, the catalogue as the contract, adoption metrics, and the governance that stops a system from forking into three. Use when a component library must survive several teams.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

design-handoff-architect

Architect-level design handoff — what must be specified before implementation starts, tokens over raw values, responsive and content-limit contracts, state matrices, and the review loop that catches drift between design and code. Use when a design is about to become code.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

content-microcopy-architect

Architect-level UI content — where strings live, voice and terminology consistency, error and empty-state copy as part of the interface, translation-ready authoring, and the content model a product needs before it multiplies screens. Use when the words in the interface matter as much as the pixels.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

ui-ux-implementation-architect

Architect-level direction for turning a design into working UI — the handoff contract, component ownership versus screen-level layout, interaction and state conventions, design QA gates, and the review habits that keep an implementation faithful without frozen pixels. Use before any specific UI implementation skill.

★ 0
SriAkhilSJ
SriAkhilSJ/PulseAIRepo

test-strategy-architect

Architect-level test strategy — allocating assertions across unit, integration, contract and end-to-end layers, designing for testability through dependency boundaries, fixture and data strategy, and the flake and coverage policies that keep a suite trustworthy. Use when defining how a codebase is tested.

★ 0