THIS is how it's done. This is a masterclass in how to effectively use LLMs for such things. Providing proper context (Goldilocks -- not too much, not too little), asking targeted questions, and then continuing with intelligent dialogue with the LLM.
I've had several similar examples where LLMs have significantly augmented my workflow, but none so clean and encapsulated (and beautifully explained) as this example.
Thank you, Salvatore!