kubebuilder-api-design
Installation
SKILL.md
Kubebuilder API Design (Go)
Design Kubernetes APIs with Kubebuilder in Go (primarily for Kubernetes operators): CRD type definitions, schema markers, status/conditions, and the core scaffold/regenerate workflow.
Default scope: API design + CRD generation. Do not implement controller/webhook business logic unless explicitly requested.
Tooling assumptions (what needs to exist for generation)
This skill can help with pure API design (Go types + markers) without running anything, but to scaffold and to regenerate CRDs/manifests the user’s environment/project typically needs:
gotoolchain (matching the project’sgo.modrequirements)kubebuilderCLI (or Operator SDK if they wrap Kubebuilder)make(Kubebuilder projects drive generation viaMakefile)
Notes:
controller-genis usually installed automatically by the project’s Makefile target(s) (pinned version), so it’s not always a separate prerequisite.- Cluster tooling (
kubectl,kind, etc.) is only needed if they want to run/test against a cluster; keep this out of scope unless explicitly requested.
Related skills