Skip to main content
AI/MLstacklok

check-contribution

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

Stars
1,835
Source
stacklok/toolhive
Updated
2026-05-30
Slug
stacklok--toolhive--check-contribution
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/stacklok/toolhive/HEAD/.claude/skills/check-contribution/SKILL.md -o .claude/skills/check-contribution.md

Drops the SKILL.md into .claude/skills/check-contribution.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

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.