This is basically the same as asking someone who knows a bit about everything to recite obscure information from memory. I doubt most humans would do better.
What you're missing here is a feedback loop, validation, skills, etc. For example, if I ask one of my well-configured agents the same question, they go read the help/man page/other docs, start a vim session, quickly test/iterate until the result is correct, then give me a one-page document explaining what I need to know, with cited evidence — far faster than I'd do it, and I can keep working for the few seconds it takes. This rigor is written into my global instructions, not something you get out of the box on most models (Anthropic's models tend to be good at this without handholding, which is part of why they're so popular, aside from the fact that they just don't make as many mistakes).
The same mindset scales to larger software problems, too. As long as you have a well-defined specification and good agent instructions (and/or something like Spec Kit), you can have agents break it down, implement, and then other agents compare the result to the spec, and just keep looping until it is done. The hard part is writing good specs and requirements, but that's not a new problem.