check-contribution
Validates operator chart contribution practices (helm template, ct lint, docs generation) before committing changes.
适合你,如果维护 Helm chart 并需要在提交前自动检查规范
/ 通过 npx 安装 校验哈希
npx oh-my-skill add stacklok/toolhive/check-contribution/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- stacklok/toolhive/check-contribution/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify stacklok/toolhive/check-contribution安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
1951GitHub stars
~233上下文体积 · 单文件
索引托管
怎么用
商店整理自技能原文 · 版本 b9fcb21 · 表述以原文为准它做什么
安装后,Claude 会检查 Helm chart 的贡献规范:运行 helm template 验证模板、执行 ct lint 检查 lint 错误、运行 helm-docs 检查文档是否更新,并报告结果。
什么时候触发
当你提交 Helm chart 变更前,要求 Claude 验证贡献规范时触发。
装好后可以这样说
Claude 会运行三项检查并报告结果。
技能原文 SKILL.md
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
cd "$(git rev-parse --show-toplevel)"/deploy/charts/operator && helm template test .
Verify the output contains valid Kubernetes YAML without errors.
2. Chart Linting
ct lint
Report any linting errors or warnings.
3. Documentation Generation
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.
按 Apache-2.0 许可原样转载,未经改动 · 在 GitHub 查看 →
评论
登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。
…