kubectl
Installation
SKILL.md
kubectl — Kubernetes Command-Line Tool In-Depth Reference
Comprehensive reference for kubectl, the CLI for communicating with the Kubernetes control plane. Covers command structure, resource types, kubeconfig, declarative management, workload operations, debugging, cluster administration, and output formatting.
Data Flow
kubectl command
→ parse global flags (--context, --namespace, --kubeconfig, --server)
→ resolve kubeconfig (KUBECONFIG env, ~/.kube/config, in-cluster)
→ authenticate (client cert, token, in-cluster service account)
→ REST request to API server
→ response marshalling (table, json, yaml, jsonpath, go-template)
Sub-Resources
Load the reference that matches your task. When in doubt, load multiple references.