If the llm is able to code it, there is enough training data that youight be better off in a different language that removes the boilerplate.