Back before AI, specs and planning were considered by many as waist of time
Devs were saying like "Why should I bother about docs, I'll write code comments". Today, in the AI Assistants age classical SW engineering documentation is gold. AI strives for well structured requirements & design specs, plans and testing docs, he navigates them effectively and derives excelent context.
Once you get it you'll never write a single line of code again and your speed and quality will rock