Command
/operator-audit
Run the full Kubernetes Operator audit (CRD + reconcile + capability) on the current repo
One command from claude-skills.
shell
$ npx -y skills add alirezarezvani/claude-skills --agent claude-codeShips with claude-skills. Installing the plugin gets this command.
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/operator-audit
Context preview
What this command does when you run it.
Run the full Kubernetes Operator audit (CRD + reconcile + capability) on the current repo
Stats
Stars23,056
Forks3,139
LanguagePython
LicenseMIT
Ships with claude-skills
Command definition
operator-audit.md
--- description: Run the full Kubernetes Operator audit (CRD + reconcile + capability) on the current repo --- # /operator-audit Run the full audit on a Kubernetes Operator repository: 1. Validate every CRD YAML against operator-pattern best practices 2. Lint every Go controller's reconcile function for anti-patterns 3. Score the operator against OperatorHub Capability Levels (1-5) 4. Output a markdown report with pass/fail per check and concrete next steps ## Usage ``` /operator-audit /operator-audit --operator-dir ./my-operator /operator-audit --crd-dir ./config/crd --controller-dir ./controllers ``` ## Implementation ```bash SKILL=engineering/kubernetes-operator/skills/kubernetes-operator DIR="${OPERATOR_DIR:-.}" echo "## CRD validation" python "$SKILL/scripts/crd_validator.py" --crd "$DIR/config/crd" || true echo "" echo "## Reconcile lint" python "$SKILL/scripts/reconcile_lint.py" --controller "$DIR/controllers" || python "$SKILL/scripts/reconcile_lint.py" --controller "$DIR/internal/controller" || true echo "" echo "## Capability audit" python "$SKILL/scripts/operator_capability_audit.py" --operator-dir "$DIR"
