Skip to main content

migrate-clientset-to-client

Migrates Kubernetes typed clientset (e.g. client-go kubernetes.Interface or custom clientsets) in test code to the controller-runtime client.Client interface. Use when refactoring test files that call K8sClient.CoreV1().Pods().Get/Create/UpdateStatus typed APIs, replacing them with fake.NewClientBuilder + client.Client.Get/Create/Status().Update patterns. Triggered when the user mentions "replace clientset", "migrate client", or "use controller-runtime client".

Jump to install

Source facts

Repository
openkruise/agents
Last source activity
April 29, 2026 at 13:11
Detected SKILL.md language
English
Stars
276
Forks
131

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.