AgentSkillsCN

chart-lint

利用 chart-testing 工具对 Helm Chart 进行语法检查与结构验证。

SKILL.md
--- frontmatter
name: chart-lint
description: Lint Helm chart using chart-testing. Use for validating chart syntax and structure.

Helm Chart Lint

Overview

Uses chart-testing (ct lint) to validate Helm chart syntax and structure.

Requirements

  • Podman

Run Lint

bash
tools/chart-lint/run.sh

What It Checks

  • Chart.yaml structure and required fields
  • YAML syntax validation (yamllint)
  • Helm template rendering
  • Values schema validation

Configuration

Config file: tools/chart-lint/ct.yaml

Expected Output

code
==> Linting /workdir/chart
...

1 chart(s) linted, 0 chart(s) failed

Important

Always ask before running lint. The command pulls a container image on first run.