When I want a first draft of a function or a boilerplate file, I like a lightweight page that can turn a short prompt into starter code I can edit by hand.

I have been using this one: https://maicode2.com