From odh-ai-helpers
Checks an ODH module operator repository for contract violations, validating CRD structure, Helm chart content, webhook ownership, metadata conventions, and reconciler ordering. Use during code review or after scaffolding.
How this skill is triggered — by the user, by Claude, or both
Slash command
/odh-ai-helpers:module-compliance [path to module repo root][path to module repo root]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Validate a module operator repository against the ODH platform contract.
Validate a module operator repository against the ODH platform contract.
If $ARGUMENTS provides a path, use it. Otherwise use the current working
directory.
Verify the directory contains a Go module by checking for go.mod. Read
go.mod and confirm it imports
github.com/opendatahub-io/odh-platform-utilities at version v0.1.0 or
later. If the import is missing, record a CRITICAL finding immediately --
the module must use the shared library, not the operator internal types.
Locate the CRD types directory by searching for files matching
api/**/types.go or api/**/*_types.go. Locate the controller directory by
searching for files matching internal/controller/**/*.go.
Load the full rule set from ${CLAUDE_SKILL_DIR}/references/contract.md.
For each rule, search the codebase using Grep and Read to determine
pass/fail. Collect results into a list with rule ID, status (PASS / FAIL /
WARN / SKIP), file path and line number for violations, and a short
explanation.
Rules are grouped into these categories:
Present results grouped by category. Use this format:
## Module Compliance Report: <module-name>
### API Contract
- [PASS] MC-01 PlatformObject interface implemented
- [FAIL] MC-02 Missing WithReleases implementation (api/v1alpha1/types.go:42)
→ Add GetReleaseStatus() and SetReleaseStatus() methods
### Spec Conventions
...
### Summary
Total: 18 rules checked
Passed: 15
Failed: 2
Warnings: 1
After the report, suggest running /module-scaffold if the repo is missing
fundamental structure, or provide specific fix instructions for each failure.
npx claudepluginhub opendatahub-io/ai-helpersGenerates a complete ODH module operator repository with CRD types, controller skeleton, Helm chart, Makefile, CI config, and AGENTS.md. Use when starting a new ODH module from scratch.
Audits an Infrahub repository against best practices and rules, producing a structured compliance report covering schemas, objects, checks, generators, and deployment readiness.
Validates and audits Helm charts with linting, template rendering, YAML/schema checks, CRD verification, dry-runs, and security best practices.