For larger packages, I agree — having an LLM spec it out and then have another write it from that spec: I wouldn’t say it’s laughable (the tools are getting quite good these days), but I agree that it’s still currently out of reach.
But for smaller packages: this kind of approach is definitely within reach. Even if the spec + (re)write only gets you 80% of the way there, that significantly lowers the barrier to re-implementing. Also consider the case where you want to use a small piece of functionality from a larger package — snipping out that functionality effectively becomes a “smaller package”, and therefore within reach.
I wouldn’t have believed this a few months ago. But in the last 2-3 months, I have significantly increased my LLM usage and been genuinely impressed at how good the tools are getting. Not everything generated by LLMs is slop, especially when directed by senior engineers / architects / etc. Sure, LLM's *routinely* go off-track and absolutely need human guidance to get the overall job done. But LLMs are getting really, really good at individual tasks, and the size and scope of the individual tasks that they can do is getting larger and larger.
Like Deven: this is just my $0.02, too!