agentsclimarketplace

Operator audit

Skill srg-sphynx/MDForge/Sources/MDForge/Resources/SkillLibrary/Development/operator-audit

Run the full Kubernetes Operator audit (CRD + reconcile + capability) on the current repoFrom its SKILL.md

Install
npx -y skills add srg-sphynx/MDForge --skill operator-audit

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

1.7 KB, 378 tokens by cl100k_base, as published. Nobody here has run it

/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

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,782. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.