Check Contribution
Testing & Qualitycheck-contributionCheck Contribution is an Agent Skill for testing & quality published in the stacklok/toolhive repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Validates operator chart contribution practices (helm template, ct lint, docs generation) before committing changes.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/stacklok/toolhive/blob/HEAD/.claude/skills/check-contribution/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/check-contribution, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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.