I want to prevent the execution failure of kubectl
I think everyone has experience running kubectl on wrong clusters or namespaces. This is a wrapper (plug-in) that prevents it.
https://github.com/pyama86/cluster-caution
https://github.com/pyama86/cluster-caution
https://github.com/ahmetb/kubectx
https://github.com/jonmosco/kube-ps1