A common request to a coding agent is only one line:
Generate unit tests.
That request leaves important questions open. Which code needs tests? Which test framework does the project use? Where should the tests go? How does the build find them? What should the tests check?
The agent can learn from the repository, write the tests, and prove that they work.<...