I’ve found GitHub Copilot Agent quite good for this kind of coding. You write up the architecture you want and I paste it into an issue and it fills in the rest.