‹ 首页

check-contribution

@stacklok · 收录于 今天 · 上游提交 今天

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 缺失或不一致均拒装。
1947GitHub stars
~233上下文体积 · 单文件
索引托管

怎么用

技能原文 SKILL.md作者撰写 · Apache-2.0 · b9fcb21

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 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。