A Gemini CLI extension to automate core development tasks within the kubernetes/kubernetes repository, including declarative validation authoring, PR review, and SIG API Machinery issue triage.
Install the extension by running the following command from your terminal (requires Gemini CLI v0.6.0 or newer):
gemini extensions install https://github.com/gke-labs/gemini-for-kubernetes-developmentIf you do not yet have Gemini CLI installed, or if the installed version is older than 0.6.0, see Gemini CLI installation instructions.
The extension adds the following skills to Gemini CLI:
-
declarative-validation-authoring — Enable Declarative Validation for a Kubernetes API resource. Walks through adding
+k8s:*validation tags to versioned types, updating strategy files, marking handwritten validation for migration, writing tests, and running code generation. -
declarative-validation-review — Review a pull request that adds or modifies Declarative Validation. Produces a structured review report covering tag correctness, handwritten validation migration, test coverage analysis, and common pitfalls.
-
apimachinery-issue-triage — Triage issues in the
kubernetes/kubernetesrepository for SIG API Machinery. Evaluates issues, applies labels, routes to domain experts, and manages issue lifecycle.
- Gemini CLI extensions: Documentation about using extensions in Gemini CLI