To write acceptance criteria for a user story, you need to focus on what constitutes success for that story. Specify requirements like data accuracy, interface design, and response times. Validate the criteria with the team and the customer to get consensus.
Start by clearly defining the desired outcome. Then, list specific conditions that must be met for the user story to be considered complete. Make sure the criteria are measurable and achievable.