How do you verify that the output is correct for these areas that the LLM dwarfs your knowledge?
Anything more "serious" (client work, for example) usually falls within my sphere of knowledge, at least to the point where I can accurately review the LLM's solution.
My long-standing habit of practising TDD also helps.