If you ask agent to create a file, it’ll be unable (even if directly asked) to leave a blank line at the end.
You may test it with a prompt such as “Create a new file named “test”, and add the the line “Hello, world!” in it, with one blank/empty line at the end.”
This may clash with some user preferences, and some linters (such as prettier).