> ... This is also why adding to the prompt examples of the style of code you want ...

You could take it a step further and put the example code into source code files...and be like, super comprehensive with your examples ... ;)

Well yes, ideally. But real world codebases aren't clean enough to be used as the example ideal. Styles change over time, there are always code migrations and refactors in flight, legacy code exists, etc. Using specific examples of what you expect the LLM (and humans) to do now is necessary.