Skip to content
AI & Agents
Command

/operator-audit

Run the full Kubernetes Operator audit (CRD + reconcile + capability) on the current repo

From plugin
claude-skills
30k173 skills129 agents173 commands2 MCP
$ npx -y skills add alirezarezvani/claude-skills --agent claude-code

Command definition

operator-audit.md
name: operator-audit
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

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"

Output

A markdown report with:

  • **CRD findings** per file: FAIL / WARN / PASS for each check
  • **Reconcile findings**: line-numbered anti-patterns
  • **Current capability level** + concrete advancement steps

Pre-conditions

  • Run from a Kubernetes Operator repository
  • Go controllers expected at `controllers/` or `internal/controller/`
  • CRDs expected at `config/crd/` (kubebuilder layout)
  • `kubernetes-operator` skill installed

Post-conditions

  • Markdown report streamed to terminal
  • Exit code 0 if all PASS; 1 if any FAIL
Read more
@alirezarezvani
Ships withclaude-skills

415 production-ready skills for Claude Code and 12 other coding agents, covering engineering, product, marketing, compliance, finance and the C-suite. We test whether each skill loads when you ask in plain words, and publish the results.

30k200 skills129 agents2 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
29.8k
Star history of alirezarezvani/claude-skills on GitHub, a chart by star-history.com

Other commands on claude-skills.

focused-fix

focused-fix

Command

Deep-dive feature repair — systematically fix an entire feature/module across all its files and dependencies. Usage: /focused-fix…

plugin-audit

plugin-audit

Command

Comprehensive audit pipeline for skills, plugins, agents, and commands. Validates structure, quality, security, marketplace…

More commands from other plugins.

devbox-entrypoint

devbox-entrypoint

Command

Context: runloop resumes a devbox by re-running the same entrypoint script, which invokes `cn serve --id <agentId> ...`. Because…

@continuedev@continuedevInstall Command
c

c

Command

Shortcut for "continue working" — pick the work in flight back up exactly where it stopped and keep going until it is done or…

lifeos2w20k
@danielmiessler@danielmiesslerInstall Command
sidecar

sidecar

Command

Spawn a read-only sidecar subagent to investigate something in this checkout without editing files, moving branches, or touching…

@builderio@builderioInstall Command