kube-ps1, kubectx and kubens can help quite a bit here. kube-ps1 to give you a visual indication of current context and the others to make switching easier.
You can also explicitly add namespaces to manifests, which help avoid applying to the wrong namespace.
You can also explicitly add namespaces to manifests, which help avoid applying to the wrong namespace.