When you write a library the first step is always designing it. LLMs dont get rid of that step, they get rid of the next step where you implement your design.
Why can't you just pass any of those to an AI?
That is a heavily symbolic exercise. I will "read" the spec, but I will not pronounce it in literal audible English in my head (I'm a better reader than that.)
I write Haskell tho so maybe I'm biased. I do not have an inner narrative when programming ever.