A document-driven workflow for building real software with AI — from naive prompting to structured engineering