Skip to main content

check-contribution

Validates operator chart contribution practices (helm template, ct lint, docs generation) before committing changes.

来源信息

仓库
stacklok/toolhive
最近来源活动
2026年5月12日 18:09
检测到的 SKILL.md 语言
英语
星标
2,285
分支
319

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
check-contribution
description
Validates operator chart contribution practices (helm template, ct lint, docs generation) before committing changes.
allowed-tools
["Bash","Read"]
# Check Operator Chart Contribution Practices Verify that all contribution guidelines from `deploy/charts/operator/CONTRIBUTING.md` are followed before committing Helm chart changes. Do not make any edits to files. ## Checks ### 1. Helm Template Validation ```bash cd "$(git rev-parse --show-toplevel)"/deploy/charts/operator && helm template test . ``` Verify the output contains valid Kubernetes YAML without errors. ### 2. Chart Linting ```bash ct lint ``` Report any linting errors or warnings. ### 3. Documentation Generation ```bash helm-docs --dry-run ``` Verify that `values.yaml` variables are documented and the generated README.md matches. ## Output Format ``` ✅ or ❌ Helm template renders successfully ✅ or ❌ Chart linting passes ✅ or ❌ Documentation up-to-date Note: Chart version bumps are automated by the release bot. Feature PRs should NOT modify Chart.yaml. ``` Include specific errors for any failing checks with actionable remediation commands.
在 GitHub 查看