Chart Skills Contract

A repository document, rendered for the site. View source markdown.

Generated at: 2026-07-30T12:38:02.000Z UTC · source: committed helm-expt evidence for this rendered repository document.

UNOFFICIAL/EXPERIMENTAL. Schema and derivation rules for skills.csv and skills.json, generated by scripts/generate-chart-skills.mjs. Data and contract are generated from the same constants, so they cannot drift.

Purpose

Make "is there a skill for this chart?" answerable as data: per chart, which docs/skills/ playbook(s) apply and why. Advisory, derived from the master matrix - not a proof.

Columns (skills.csv)

ColumnMeaning
chart / versionSource chart and version.
applicable_skillsSlugs of the playbooks that apply, in catalog order.
skill_countNumber of applicable skills (0 = plain chart).
top_skillThe most specific applicable skill, or none.
matched_signalsThe chart-fact tokens that triggered the mapping.
skill_docsPlaybook doc paths.

skills.json adds, per applicable skill, its title, doc, and the why, plus a skills_catalog block documenting every skill and its rule.

Derivation rules

Facts are aggregated per chart from the master matrix (union of quirk_features tokens across variants, max hook_count, and a live flag from outcome_level/catalog_tier). A chart is serious if it is a named hard chart or its quirk_features has both crds and webhooks.

SkillPlaybookApplies when
serious-chart-playbooksSerious Chart Playbooksnamed hard chart (kube-prometheus-stack, consul, cert-manager, external-secrets, loki) OR quirk_features has both crds and webhooks
hook-and-secret-lifecycleHook And Secret Lifecyclehook_count > 0 OR quirk_features has hooks, generated-facts, or webhooks
target-facts-and-lifecycleTarget Facts And Lifecyclequirk_features has crds, webhooks, lookup, generated-facts, stateful-storage, or required
large-app-evidence-funnelLarge App Evidence Funnelquirk_features has crds OR the chart is serious (proxy for many-Unit charts, pending a per-chart object count)
live-parityLive Parityoutcome_level shows local-live / live-parity / two-cluster, OR catalog_tier is catalog-supported

Named serious charts

Determinism

A pure function of data/master-catalog-matrix/matrix.csv. No timestamps, no network, no cluster. Regenerate with npm run chart-skills; verify byte-for-byte with npm run chart-skills:verify.