# Transcript: How to write good User Stories in Agile



Source video: https://www.youtube.com/watch?v=7hoGqhb6qAs



This transcript is provided as an accessible text alternative for learners.



[Music] in this video we will cover how to write good user stories in agile with acceptance criteria at the end of this video we will show you how to verify if you wrote a good user story so stick with us until the end when a product is created the agile teams typically break down their product features and requirements into user stories user story describes the desired functionality from the perspective of the user each user story should cover a small chunk of functionality and deliver value on its own the user story description should be brief enough that it can be written on an index card it needs to be written in a simple way so it can be understood by everyone without including the solution or heavy technical information let's look at an example as a spotify podcast listener i want to save podcasts as my favorites so that i can create my own custom list of favorite podcasts this user story format is useful because it answers who the user role or persona is in our example is the spotify podcast listener it shows what the action of the user is to save podcasts as favorites and it highlights the value and answers the why so that i can create my own custom list of favorite podcasts after we write our usual story we need to start thinking about the criteria that informs us and the team when the user story is complete this is called the acceptance criteria acceptance criteria can be written in multiple formats one of the formats that can be used for acceptance criteria is the given when then format let's use our user story as an example given the spotify app displays podcasts when i click the favorite icon that is displayed by each individual podcast then the podcast gets saved and is displayed in my favor list as you notice given shows context or precondition when shows the action that is carried out and then displays the observable outcome and expected results as you can see user stories with acceptance criteria are both simple concepts but it does take practice to get used to actually writing them let's try one more example as a linkedin user i want to search for jobs that are remote only so i can apply to jobs that allows me to work from anywhere the acceptance criteria can be something like this given i am under the job tab in linkedin when i search for jobs and i filter by remote only then remote only jobs are displayed and i can apply for them so we wrote our user story and including acceptance criteria but how can we double check ourselves to make sure we wrote an overall good and effective user story this is done with the help of the acronym invest invest means independent negotiable valuable estimatable small and testable let's take a look at independent a story that is independent is not coupled with any other story it can be developed in any order and can be released on its own negotiable means while the end goal may be clearly described for the user story the methods by which their goal is achieved should be negotiable valuable means every story that's delivered should make your product more valuable estimatable the user story has enough information for the team to size it so they can probably plan and commit to their work small means that user stories should be done within the iteration or sprint user stories are easier to estimate and test when they're smaller testable means stories should be testable in a binary way that means they either pass or fail their associate tests this means the user story has a good acceptance criteria with that we conclude this video on how to write good user stories in agile thank you for watching and please subscribe to our channel for more content

