The customer may define quality standards as a set of features. For example:
The customer asks for a certain level of quality, and the programmers account for that in estimating the risk and effort of the stories. Many quality criteria can become stories on their own. For example, the customer could write a story saying the system should handle all exceptions and print out a user-friendly error message.