agentleFS
maximhqmaximhq/bifrost/.claude/skills/helm-update/SKILL.md

helm-update

Skill8.6k starsChanged 2 months agoApache-2.0View on GitHub

Apply helm chart updates for Bifrost. Detects config.schema.json changes since the last helm release, applies user-requested changes, updates values.yaml / values.schema.json / _helpers.tpl, bumps Chart.yaml version, updates helm README (Latest Version + Upcoming section), creates a docs MDX changelog, and updates docs.json navigation. Ends with a diff review to verify every helm field maps back to a config.schema.json counterpart. Invoked with /helm-update.

Trending

Quiet since October.about the whole repository

Jan 2026: 2 mentionsFeb 2026: 2 mentionsMar 2026: 2 mentionsApr 2026: 1 mentionMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 7 mentionsAug 2026: 18 mentionsSep 2026: 14 mentionsOct 2026: 1 mentionNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the maximhq/bifrost repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about maximhq/bifrost

The biggest 5 of 54 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 54

Talked about on GitHub, Hacker News and Bluesky (54 times).

On GitHub · 35

30 more on GitHub

On Hacker News · 15

10 more on Hacker News

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. About 0 are common, 7 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    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. Distinctive:

    Read the current helm chart version and identify the last helm release commit:

    line 30
  2. Distinctive:

    Add new fields as commented-out blocks with a realistic sample value.

    line 63
  3. Distinctive:

    Add a matching JSON schema property with:

    line 72
  4. Distinctive:

    Search the existing template for a nearby field to find the right insertion point.

    line 89
  5. Very specific:

    Read helm-charts/bifrost/Chart.yaml.

    line 93
  6. Very specific:

    Look for an ### Upcoming section immediately after the ## Changelog heading.

    line 122
  7. Distinctive:

    Keep bullets concise — one line each.

    line 136
  8. Very specific:

    Create a new file docs/changelogs/helm-v<NEW_VERSION>.mdx:

    line 140
  9. Very specific:

    Use today's date (2026-07-10 or whatever the current date is).

    line 159
  10. Distinctive:

    After all edits, run a fresh perspective check:

    line 175
  11. Distinctive:

    If any field fails check 4, either fix the mapping or flag it to the user explicitly.

    line 188
  12. Very specific:

    Never: write values.yaml fields as uncommented unless they were already uncommented (i.e., they are mandatory defaults like replicaCount).

    line 226
  13. Very specific:

    Always: verify config.schema.json mapping in the final diff review.

    line 227
  14. Very specific:

    If a config.schema.json gap is found but its helm mapping would be complex (e.g.

    line 228
  15. Very specific:

    Keep changelog bullets brief: one line, what was added/changed, what values.yaml path, what config.json key it renders into.

    line 229

≈ “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.

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

Helm Update

Apply changes to the Bifrost Helm chart, keep it in sync with config.schema.json, and update all changelogs.

Key File Paths

FilePath
Config schematransports/config.schema.json
Chart metadatahelm-charts/bifrost/Chart.yaml
Valueshelm-charts/bifrost/values.yaml
Values schemahelm-charts/bifrost/values.schema.json
Helpers templatehelm-charts/bifrost/templates/_helpers.tpl
Helm READMEhelm-charts/bifrost/README.md
Docs changelogsdocs/changelogs/helm-v<version>.mdx
Docs navigationdocs/docs.json

Workflow

Step 1: Gather Current State

Read the current helm chart version and identify the last helm release commit:

# Current helm chart version
cat helm-charts/bifrost/Chart.yaml | grep '^version:'

# Latest docs helm changelog (= last released version)
ls -1t docs/changelogs/helm-v*.mdx | head -1

# Find the commit that added the latest helm changelog
LAST_HELM_MDX=$(ls -1t docs/changelogs/helm-v*.mdx | head -1)
git log --oneline -- "$LAST_HELM_MDX" | head -1

Save the last-release commit SHA — you'll need it to scope the config.schema.json diff.

Step 2: Check config.schema.json Changes Since Last Helm Release

LAST_COMMIT=$(git log --oneline -- "$(ls -1t docs/changelogs/helm-v*.mdx | head -1)" | awk '{print $1}')

# What changed in config.schema.json since then?
git diff ${LAST_COMMIT}..HEAD -- transports/config.schema.json

Identify any fields added, removed, or changed in config.schema.json that are not yet reflected in the helm chart. These are gaps that must be closed — even if the user did not explicitly ask for them. Note each gap; you will apply them alongside the user's requested changes.

Step 3: Apply User-Requested Changes + Fill Gaps

For every change (user-requested AND schema gaps detected in Step 2):

values.yaml

Add new fields as commented-out blocks with a realistic sample value. Place new sections near related existing fields. Keep existing uncommented defaults intact.

# bifrost.newFeature.someField -- brief description
# someField: "example-value"

values.schema.json

Add a matching JSON schema property with:

  • Correct type (string/boolean/integer/object/array)
  • description matching the config.schema.json description (paraphrased concisely)
  • Any enum, default, minimum/maximum, or nested properties/items needed
  • Mark required fields in the parent object's required array if mandatory

Locate the correct parent path in values.schema.json by searching for the nearest ancestor field.

_helpers.tpl

Wire new values into the generated config.json block inside {{- define "bifrost.config" -}}. Follow the existing rendering patterns:

  • Simple scalar: {{- if .Values.bifrost.someField }} → emit "some_field": {{ .Values.bifrost.someField | toJson }}
  • Optional block: wrap in {{- if ... }} / {{- end }}
  • Duration strings: pass through toJson unchanged
  • env.VAR_NAME references: pass through toJson unchanged

Search the existing template for a nearby field to find the right insertion point.

Step 4: Determine New Helm Chart Version

Read helm-charts/bifrost/Chart.yaml. Increment the patch version (third number) unless the scope of changes clearly warrants a minor bump. Ask the user if unsure:

Current: 2.1.27  →  New: 2.1.28

Update Chart.yaml:

version: 2.1.28   # updated line

Step 5: Update Helm README

File: helm-charts/bifrost/README.md

5a. Bump "Latest Version" line

Find and update:

**Latest Version:** 2.1.27

→

**Latest Version:** 2.1.28

5b. Update the Upcoming section

Look for an ### Upcoming section immediately after the ## Changelog heading. If it does not exist, insert one. On every run, append bullet points for the current changes to ### Upcoming — do not create a new versioned heading; that happens at release time.

Structure:

## Changelog

### Upcoming

- Brief bullet describing what was added/changed. Reference the values.yaml path (e.g. `bifrost.foo.bar`) and the config.json field it renders into (`foo_bar`). One bullet per logical change.

### 2.1.27
...existing entries...

Keep bullets concise — one line each. No paragraph prose. Mirror the style of existing changelog entries.

Step 6: Create Docs MDX Changelog

Create a new file docs/changelogs/helm-v<NEW_VERSION>.mdx:

---
title: "v<NEW_VERSION>"
description: "Helm v<NEW_VERSION> changelog - <YYYY-MM-DD>"
---

<Update label="Bifrost Helm" description="v<NEW_VERSION>">

## Changelog

- <bullet 1 — same content as README Upcoming bullets>
- <bullet 2>
...

</Update>

Use today's date (2026-07-10 or whatever the current date is). Mirror the bullet style from docs/changelogs/helm-v2.1.26.mdx.

Step 7: Update docs.json Navigation

In docs/docs.json, find the "item": "Helm" group (under changelogs). Prepend the new entry at the top of its pages array:

"pages": [
  "changelogs/helm-v2.1.28",   ← insert here
  "changelogs/helm-v2.1.27",
  ...
]

Step 8: Final Diff Review (Correctness Check)

After all edits, run a fresh perspective check:

git diff -- helm-charts/bifrost/values.yaml helm-charts/bifrost/values.schema.json helm-charts/bifrost/templates/_helpers.tpl

For every new field in the diff, verify:

  1. values.yaml — field exists (commented out with sample value)
  2. values.schema.json — matching property with correct type and description
  3. _helpers.tpl — field is rendered into config.json output under the correct JSON key
  4. config.schema.json counterpart — confirm the JSON key emitted by _helpers.tpl exists in transports/config.schema.json (or is a known helm-only field like replicaCount)

If any field fails check 4, either fix the mapping or flag it to the user explicitly.

Report a short table:

Helm values pathconfig.json keyIn config.schema.json?
bifrost.foo.barfoo_bar✓
bifrost.bazbaz_config✓

Common Rendering Patterns in _helpers.tpl

{{/* Simple optional string */}}
{{- if .Values.bifrost.server.readBufferSize }}
"read_buffer_size": {{ .Values.bifrost.server.readBufferSize | toJson }},
{{- end }}

{{/* Optional boolean */}}
{{- if hasKey .Values.bifrost.loadBalancer "directionSelectionEnabled" }}
"direction_selection_enabled": {{ .Values.bifrost.loadBalancer.directionSelectionEnabled | toJson }},
{{- end }}

{{/* Nested object — only emit if any subfield set */}}
{{- if .Values.bifrost.newFeature }}
"new_feature": {
  {{- if .Values.bifrost.newFeature.timeout }}
  "timeout": {{ .Values.bifrost.newFeature.timeout | toJson }},
  {{- end }}
},
{{- end }}

Important Rules

  • Never omit the ### Upcoming section after Step 5 — always ensure it exists and is populated.
  • Never promote ### Upcoming to a versioned heading — that is done by the changelog-writer skill at release time.
  • Never write values.yaml fields as uncommented unless they were already uncommented (i.e., they are mandatory defaults like replicaCount).
  • Always verify config.schema.json mapping in the final diff review.
  • If a config.schema.json gap is found but its helm mapping would be complex (e.g. a new top-level plugin system), flag it to the user rather than silently skipping.
  • Keep changelog bullets brief: one line, what was added/changed, what values.yaml path, what config.json key it renders into.

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.