I find it saves tokens and reduces slop piled on slop to have a foundational technical grasp of the technology behind your projects. And that means writing code for exploration and scaffolding.
Agents are such rich BS machines that I also don’t trust them. So I frequently debug and dive into my code rather than letting an agent layer brittle fix on top of brittle fix