The GSD tool (get-shit-done) automates a very similar process to this, and has been mind-blowing for larger projects and refactors.
https://github.com/glittercowboy/get-shit-done
You still need to know the hard parts: precisely what you want to build, all domain/business knowledge questions solved, but this tool automates the rest of the coding and documentation and testing.
It's going to be a wild future for software development...