Writing tests and/or PRDs helps. Gives llms tangible direction that can be quantified.