Generate or refresh one ailesson Chart package per lesson under charts/. Use when Codex needs to package aiclass lessons into Helm Charts, update Chart.yaml metadata and README.md from lesson source content, keep the shared chart skeleton in sync with the common aiclass image and container workingDir convention, or extend the packaging workflow for new lessons.
Use this skill to generate and maintain charts/ailesson-lessonN packages from aiclass/lesson* source content. Keep per-lesson differences in generated metadata and README content, and keep all shared chart structure in the generator script.
aiclass/build/build.skill.md to confirm the common image and lesson directory layout.../plugin-authoring-overview/SKILL.md and ../app-metadata-and-packaging/SKILL.md if the task changes chart package metadata or packaging files.../lessons/SKILL.md if the task depends on lesson source structure or wording rules.references/output-contract.md to see which inputs map to which generated files.python3 .github/skills/ailesson-chart-packaging/scripts/generate_ailesson_charts.py
Only regenerate selected lessons when needed:
python3 .github/skills/ailesson-chart-packaging/scripts/generate_ailesson_charts.py --lessons lesson1 lesson2
Override versions when the shared image or chart version changes:
python3 .github/skills/ailesson-chart-packaging/scripts/generate_ailesson_charts.py \
--chart-version 0.2.0 \
--app-version 0.2.0
for d in charts/ailesson-*; do helm lint "$d"; done
charts/ as derived artifacts. Do not hand-edit them unless you are also changing the generator.aiclass/lesson*/00-*.md or numbered lesson files first, then regenerate..github/skills/ailesson-chart-packaging/scripts/generate_ailesson_charts.py, then regenerate all charts.name and 00-*.md.ailesson-lessonN.workingDir fixed to /class/lessonN for the corresponding chart.Chart.yaml 中的 description 应写成课程精简介绍,面向使用者快速说明本课学习内容,不要复用“章节导航说明”或“素材整理说明”。description 应尽量概括主题、核心技能和综合实践方向,控制在一句话内,适合作为应用简介展示。README.md 直接使用对应 lesson 的 00-*.md 内容生成,保持与课程导航文件一致。values.schema.json 采用最小默认 schema,避免在表单中额外展开展示字段说明;如无特殊需求,仅保留允许默认值工作的基础对象定义。00-*.md 或生成脚本中的简介映射,再统一重新生成 charts/。scripts/generate_ailesson_charts.py
charts/README.md index.references/output-contract.md
charts/.Chart.yaml, README.md, and shared templates are regenerated from the current lesson sources.description 已更新为课程精简介绍,README 已与 lesson 的 00-*.md 保持一致,schema 输出符合最小默认规则。helm lint passes for generated charts.