Your Best Agile User Story


What is a user story?

User stories have a specific format:

 “As a [persona],
I want to [do something]
so that I can [realize a reward]

This format is designed to help the story writer be descriptive and to drive better discussions about implementation with the rest of their team. Done right, the format helps prompt the following important questions:
agile-user-story
If answering those questions seems like a lot of work, I’ll mention here that taking stock of new product failure rates, IT project failures, and the portion of features that actually are substantially used, something on the order of most or at least ‘a lot’ of software ends up lightly used or quickly scrapped. Skillful use of stories will improve your outcomes, your economics, and, most importantly, your team’s sense that the work they’re doing matters to the user.

If you’re writing a story, your job is the fill in the (red) blanks. The persona is a vivid, humanized, yet operational description of your user (see also personas tutorial). The ‘[do something]’ is a goal you assume the user has. The ‘[realize a reward]’ clause is a testable statement of how you’ll know if the user realized that goal.  The [realize a reward] clause is the most neglected by most story writers and yet it’s the most important. The single best litmus test for whether you have a good story is whether you could put a simple prototype in front of a user, ask them to act on the goal you’re assuming, and see if they can achieve it.

Let’s look at a specific example to see how that would work in practice. Enable Quiz is a fictional company I use in a lot of my examples. They’re (fictionally) building an app that allows an HR manager to screen job candidates for a specific, technical skills sets relative to a job description. We might describe the goal of building a quiz to screen for a new open job description with this story:

“As an HR manager, I want to match an open position’s required skills with quiz topics so I can create a quiz relevant for candidate screening.”

With this story, a designer or developer (or someone acting in that role) could put a sample job description in front of an HR manager, give them the goal of picking quiz topics for it, and see if they’re able to realize that goal with the team’s current prototype or working software.

There are schools of thought that the specific story format or the third clause [realize a reward] isn’t that important. That just isn’t consistent with my experience. Every time I talk to a team that’s loose with story format, I’m seeing data that indicates they would benefit from front-loading value and driving to more specifics about user goals so they iterate to something valuable and avoid waste.

Pro Tip: There’s a tendency to want to build software that’s ‘not specifically wrong’ versus specifically right or specifically wrong. Resist it. Successful teams build in small batches with careful observation about whether they’re right or wrong, but they build against tightly defined assumptions about the user’s goals.

Why design with user stories?

Basically, the idea with design is to start work from some kind of testable intention. Design is particularly important in software because on the one hand it’s relatively easy to build things but on the other most of us need practice to learn what to build. Unlike, say, a house or a commercial building, LOTS of software ends up as waste- lightly used or not used at all. And this true across not just new products, but new features (on successful product), and internal IT projects.

User stories have to do with exploring how you might deliver a given experience to your user. Before that, you should probably make sure you know who this user is, what actually matters to them, and (ideally) test that they’re interested in your proposition over their current alternatives. For more on all that, see this page: Hypothesis-Driven Development Guide. But here’s the good news: the way we’re going to write these stories, it will be fairly obvious if/when you need to learn more about your persona, what’s important to them, or what propositions they prefer.

Once you get to the point of wanting to build something, good user stories help you think carefully about what to build and how you’ll know if it’s on target. This is almost always worth the time and effort: building and maintaining software is way more expensive than the kind of lightweight design work we’ll be doing here.

Better still, user stories will help you and your team do better work together. When you’re first introduced to the work of creating software, it’s natural to think of it like building a house: make a plan, build it, make sure it’s done as planned, and you’re all set. However, building software is actually pretty fundamentally different than that. For a given feature, a high-functioning team will probably design it, build it, observe and analyze how users interact with it, and then iterate on a somewhat new version of that same feature, repeating the process. Given this, it’s pretty important that businesspeople, designers, developers, testers, analysts (to mention a few) have a strong shared view of what they’re after. User stories deliver that.

Why are most user stories so bad?

If you’ve tried user stories and been disappointed, here are a few ideas about why that might have happened and what you could do differently:

  1. Mistaken Belief that Software is Automatically Magic
    I know it sounds silly, but you’re probably working with people that implicitly think this to a degree. It’s true- amazing things happen with software. But that software wasn’t automatically magic; someone had to put the magic in it. That someone is you. The next section will show you how to conjure that magic.
  2. We Measure Our Efficiency Locally
    To a degree, we all just want to finish our work and go watch Netflix. That’s fine. That’s natural. But, if you want to build great software, you have to want to consistently ask the hard questions of your colleagues and your work about whether what you’re doing is still making sense. Is there a strong, testable case that it’s going to valuable to the user? That’s hard to do consistently. A lot of product managers just slam user stories into JIRA and call it a day. It’s not that hard to run a more thoughtful, disciplined program, but it’s not that easy either. You have to really want it.
  3. No Data
    You have to know your user and what’s on their A-list to write good user stories. Without that, you’re just going to be groping at some idea about what the software might do and then spending way more money than you need to to find out if you’re right or not. There’s an easier (and way cheaper) way, and that’s what this next section is about.

Who writes user stories?

Odds are good that if you’re doing agile you’re using scrum or a scrum-informed take on agile. If you have someone in the ‘product owner’ (PO) role scrum prescribes, you’ve probably heard that it’s their job to write the user stories. That is a reasonable starting point. That said, the best way of looking at it is probably that the PO is the lead on writing the user stories vs. solely responsibile.

WAIT! This is really important- it’s not just touchy feely stuff. It might even matter more than the prescribed mechanics of scrum. Here are the specific reasons why:
1. The 1/40 Problem
Based on experimental results, it’s possible (I would guess likely) that people are only actually understanding 1/40 of what we think we’ve told them. A PhD candidate at Stanford did an experiment where one person (a ‘tapper’) would tap out a song and another party (‘listener’). The tappers guessed that they’d been understood 50% of the time where actually the listeners had actually understood only 2.5% of the time- off by 20x. Yikes!

What if that’s true of the stories we’re writing and the understanding we assume a designer and/or developer will have about how to build software against that story? Is that somewhat consistent with the kind of disconnects you see between ‘businesspeople’ and ‘technical people’?

If you’re slamming your user stories into JIRA and assuming they’ll be understood, you’re probably going to run into issues. By the way, I first read about this in the Heath brothers’ excellent book ‘Made to Stick’.

2. We Measure our Efficiency Locally
A certain part of us just wants to know in the simplest possible terms what our job is and how much of it we have to do. We crave certainty and an immediate sense of accomplishment. If someone tells me my job is to dig six holes, part of me just wants to do it and be done. It’s fine- it’s just human nature.

Unfortunately, you can’t build software that’s valuable to users this way (at least not with any consistency). If you don’t co-create stories with your team, they’re just not going to feel like they own them and their work won’t be as thoughtful. Since the stories are probably your job I’ll apologize in advance for saying so, but don’t blame the implementation team- you’d act the same way in their position. Again, it’s just human nature.

In the classroom, I often reference the ‘blue button moment’. In a low-functioning agile team where the implementors don’t understand and/or haven’t bought into the idea, it looks like this:
the-blue-button-moment-lowIn a high-functioning agile team, it looks like this:
the-blue-button-moment-highIf you’re the lead on creating stories, part of your job is to solve for the two problems above and help elevate your team to a high functioning practice of agile.

As if that wasn’t enough there’s one more reason why you should write stories as a team-

3. You Don’t Have All the Best Ideas
Naturally, others will have great ideas about what the user might want and how to implement that in software. Beyond just doing your story writing with the extended team, this is the reason why the whole team is generally included in the increasingly popular practice of running design sprints.

One specific method of encouraging good outcomes around stories is having the PO/story lead run story writing workshops, which we’ll cover in the next section.

How do design with user stories?

user-story-organization‘Epic stories’ describe a larger arc of user action and then ‘child stories’ detail that arc. Both types of stories have the same format- the format you saw above:
“As a [persona],
I want to [do something]
so that I can [realize a reward]

There’s a school of thought that epics are really big, and they certainly sound big. My general advice is to keep them relatively small- examples to follow. If you think about a team’s ratio of code to user stories, you want to keep that ratio moderate to small. Since user stories have to do with what and why you’re building vs. technically how you implement it, this is true whether you’re writing custom code, using a codeless platform to build a custom application, or even configuring an off-the-shelf application (like Salesforce, etc.).

Why? Well, developing and operating software is expensive. You might as well have good narrative coverage with stories on everything you’re building to drive better discussions about what will be valuable to the user and how you’ll test it. The alternative is to just guess and I can tell you how that works out- not well. I do a lot of training on story writing workshops and 95% of the first time child stories I see are actually what I would start with as epics (and the draft epics are overly broad in scope).

Let’s look at a specific example. Returning to the narrative of an HR manager who wants to create a screening quiz for a new job description, we might start with this epic:

“As the HR manager, I want to create a screening quiz so that I can make sure I’m prepared to use it when I interview job candidates.”

The child stories and their test cases them decompose that epic into more detailed steps (see Reference A for the full example). By the way, if you have the urge to start drafting, good on you and here is a Google Doc’s template you may find helpful: User Story Template.

User stories are a type of specification, right?

NO! They’re supposed to serve as a centerpiece for frequent interdisciplinary discussion about how to implement something valuable to the user. This is kind of where the use of stories and the practice of agile need to converge. If you’re not familiar with agile, I recommend the aforementioned link or, hey, my agile course, but the basic idea is that instead of working in a sequential (waterfall) way from specification to development to test to release you’re doing all of those things together in small batches. In the next section, we’ll step through how to create stories like a designer, but I’ll close with a few cautionary notes about what to watch out for with your user stories.

Who are we telling a story about?

Remember when your high school English teacher told you to ‘Write about what you know?’. That was always hard for me in high school because, really, I didn’t know much. Likewise, if you don’t know your user, writing good stories will be hard. This is not to mention that now what you’re writing really matters- you’re about to define lots of spending on creating and operating software.

The alternative is to end up on one of these two anti-poles of design failure:

The-Twin-Antipoles-of-Design-Failure

Do precisely what the user asks and you’ll probably end up in what my friend David Bland calls the ‘Product Death Cycle’: a) no one uses the product b) you ask customers what features are missing c) you build these ‘missing’ features d) go back to ‘a’. Assume that you already have all the answers and you’ll probably end up with a market size of close to one (you and maybe a few people just like you).

lean-persona-hypothesisWhat’s a conscientious product person to do? The good news is that there’s an approach that consistently works. The bad news (it’s not really bad ; ) ) is that it takes some work of a type that may be new to you. The tool I’d start with is the idea of ‘personas’. These are humanized views of your customer, be they buyer and/or user of your product. It turns out this is the most actionable and testable way to build products and systems.

personasThe basic idea is that you want to name the persona to humanize them (‘Helen the HR Manager’) and have an idea about a day in their life. What shoes do they wear? What’s the first thing they do in the morning? Then you want to dig into how they relate to your product or system. What do they Think about how things work now vs. how they’d like them to be? What do they See others doing that influences that perspective? How do they Feel about the job or habit you’re building software to improve? What do they actually Do in your area of interest? How much? How often?

You’ll probably find you need to go out and talk to a few of them to obtain this information, but if you have a strong Think-See-Feel-Do understanding of your user, I think you’ll find stories are a lot easier to write and to discuss.

For more depth and some examples see: Personas Tutorial.

For notes on how to interview users to create personas see: Customer Discovery Handbook (Persona Hypothesis).

For a structured tour of these, see Agile Meets Design Thinking on Coursera and the Personas section of Running Design Sprints.

What do they care about?

lean-problem-hypothesisOnce we have a strong persona or personas, we need to consider and test what underlying jobs or desires we’re going to make better for this user. Do they really exist? Are they important? This is worth exploring since if you’re solving a problem or doing a job that doesn’t exist for your persona, then you can develop perfect software and still fail to deliver any value to the user.

How do you identify and describe these problem or jobs? First, simply consider what it is that you’re actually doing for the user- helping them stay connected to friends? Checking their accounts payable for suspicious patterns? Then make sure you can describe a current alternative (ideally you’ve talked to users and already know). Maybe your user sends out a holiday card to stay in touch with their friends. Maybe they just look at large accounts payable and spot check/audit them.

I like to lean on the body of work around ‘jobs-to-be-done’ (JTBD), the idea that customers (or users) ‘hire’ your product to a certain job that already exists for them. Make sure your definition of the JTBD is general and could apply equally well to the current alternative as it could to whatever it is you’re planning to do to make things better. This will help you avoid bias and stay focused.

Let’s look at a specific example. For Enable Quiz (see above), their core JTBD of interest might be:

‘Screening technical talent.’

I said a good JTBD can be applied equally well to the alternative or your new proposition. Helen the HR Manager’s alternatives for screening technical talent might be: checking resumes, calling references, or just taking their word for it. I’d say the JTBD definition works for those alternatives as well.

What if we took the JTBD and went up a level of abstraction? Then it might be something like ‘Hiring technical talent.’ Now, that’s probably too broad, but it’s helpful to know so that a) you know you’re at about the right level of abstraction with your core JTBD and b) that you’ve identified the general area in which you’re working.

What if we went down a level? Then we’re probably get lots of more tactical JTBD like:

‘The HR manager preparing a new quiz from an open job description.’

‘The HR manager sending notes on candidates to the functional manager.’

These all flow from the core JTBD on screening, but we’d still want to make sure they’re important before we start writing stories and consider investing in software. A summary of the first few JTBD for Enable Quiz might look something like this:

problem-scenarios

When you work forward to build up your understanding, the sequence goes something like this:

Here’s an example of what it might look like in the case of Enable Quiz:

Now, you may notice the note about ‘Why? (Motivation)’- I do also recommend testing whether the customer prefers your solution(s) to a job-t0-be-done over their current alternatives. However, I don’t want to stray too far from the topic at hand. If you’re interested in the overall process, check out the Hypothesis-Driven Development page.

For related tutorials, templates, and online courses, see the end of the section above on Personas.

What’s the right level of detail?

Once you’ve learned about your user enough to know you really should build software, it’s time to work through some stories. What you want to do to make their lives better? How will you know if you did that?

Your user stories should be detailed and they should be testable. Why? Well, because what you’re really deciding is how much of the software/systems you’re going to invest in building will be supported by carefully considered ideas about what’s valuable to the user. Based on the stat’s I cited at the intro. (that something on the order of half of all software ends up in a fail), I’d say odds are many teams have room for improvement. That’s easy to say, but hard to do. I know I’m always working to do better. Let’s take a look at a few specific examples.

If you’ve never written a story before, you’ll probably start with something overly broad. For Enable Quiz, it might be something like:
‘I want to properly screen engineering candidates so my company can get the best possible hiring outcomes.’
You could use this as a starting point for your next stories, but it’s not immediately actionable for design or coding. Also, if you’re only going to work with one additional layer of abstraction in your stories (child stories under an epic), I think you’re going to end up with stories that are too vague and a working environment that’s not well backstopped by narrative. The story above is really analogous to the JTBD we talked about in the last section: ‘Screening Technical Talent’. For stories, I’d start with more actionable specifics (and tie them to JTBD if you want to make sure they’re well supported by customer discovery).

Here’s a more specific story:
‘I want to easily screen an engineering candidate, so I know their skills profile.’
This story has some issues. Let’s tighten it up! First, it’s missing the first clause identifying the persona. That’s an issue since there are at least two distinct personas involved: Helen (or Hank) the HR Manager and Frank (or Francine) the Functional Manager. We need to know who we’re designing for and whether we should screen for subjects that match Helen or Frank when we’re testing usability. (We may get very different results testing with Helen/Hank that has a background in HR vs. Frank/Francine that has a background in software). Here’s an updated version of the story:
‘As Helen the HR Manager, I want to easily screen an engineering candidate, so I know their skills profile.’

Do you see any issues with that story now? I always tell students to avoid normative terms like ‘easily’. I mean, what does that mean to a designer? A developer? Did you think they were going to design it to make things hard? If you think particular moments in the customer journey are important in some particular way, capture that in a storyboard and/or get that up on a story map (see section ‘Developing with Stories’), and really describe what’s important and why and how you’ll observe whether you’re succeeding. (I know, designing thoughtfully is a lot of work!!) Let’s remove ‘easily’ from the story:
‘As Helen the HR Manager, I want to screen an engineering candidate, so I know their skills profile.’

How about now? Is that about the right scope for an epic? I don’t know about you, but I have mixed results thinking that through in my head. I have to work through it on paper. One thing I find is really helpful for exploring an epic (particularly at the beginning of a new project) is to storyboard it. Here’s one view of what the major steps to the above epic might be:
agile epic story- enable quiz
Looking at this, I see a lot of stuff- creating the quiz, paying for Enable Quiz (if it’s the first time or requires a subscription change), consulting with a colleague (Frank), administering the quiz, and making the results available to Frank. I’d say just about each of those feels like an epic. What I think I’d do is start with an epic about just creating the quiz:
‘As Helen the HR Manager, I want to create a screening quiz so , so I know their skills profile.’

I’d say this is getting close, but that last clause about the reward, ‘so I know their skills profile’ still needs some work. That clause is so important, I think it deserves its own subsection! That’s up next.

Storyboarding is an excellent tool pushing yourself and your team to think substantially about your customers, what they want from you, and what they’re really doing in real life. Especially if you’re developing something relatively new, I highly recommend storyboarding your epic agile user stories.

The process of storyboarding will help you:

  1. test the depth and scope of your understanding about the persona(s) and job(s)-to-be-done (JTBD)
  2. stimulate interest and discussion in the story with your implementation team (and peers on the product side)
  3. push you to think through the details so you’ve implementors don’t have to start from scratch there

This last one is particularly important if you’re new to product development. I coach lots of first-time entrepreneurs, and their #1 challenge at the product implementation phase is thinking through what they want in enough detail. Most of their stories are actually epic stories (or broader) and need more granularity and sequence- storyboards help. A classic failure mode is leaving your development team to design your product. This not to say your developers can’t think creatively or answer these questions, and part of the point of these inputs is to stimulate creative discussions with them so the team’s collective imagination and expertise is maximized, but your job as the product person is to provide a well-articulated, thoroughly considered starting point.

For more on the process of storyboarding (including tools and templates), please see: Storyboarding Tutorial.

What’s their reward?

The last clause of your user story should always contain a testable reward. Reward sounds exciting but all we’re talking about is: a) does it describe the successful accomplishment of whatever goal first triggered the story and b) can observe in a user test?

Does the current 3rd clause (‘so I know their skills profile’) meet those criteria? I think we could test it- put a prototype in front of an subject, step them through creating a quiz, then administering it and seeing the results and ask them to tell us the skills profile. But is that reward even relevant anymore? It doesn’t really make sense with the intent. What does Helen really want at this point? There are a few possibilities. Fundamentally, she wants to figure out, with the functional manager, who they should interview and who they should hire for the best possible (mutual fit). I’d say ‘so that I can understand whether I want to send possible recruits to the functional manager’ is a good candidate. Another more immediate possibility is ‘so that I can make sure I’m prepared to use it when I interview job candidates’. Let’s try that on for size:
‘As the HR manager, I want to create a screening quiz so that I make sure I’m prepared to use it when I interview job candidates.’

Now how does the clause do on our tests about a) describing their accomplishment and b) being observable in a test? I’d say it describes the HR manager’s immediate goal- being able to use the test. Is it testable? We could take the user through the creation of a new test and then ask them how they’d administer it and see if they have the right answer. I’d say it’s testable.

How do you go beyond the basics to link your user stories to behavioral design?

If you just want to write some user stories, you should have stopped reading awhile ago. Really. And if you read this next section, you’re at risk of changing your whole point of view on how and why software is created- because now we’re doing to look at how you link your stories with behavioral design. This means starting from the design intention of creating a certain user behavior and then either pivoting or persevering until you get there. It starts with a hypothesis-driven, test-driven approach to user stories.

What are we testing?

When it comes to testing, I think the most important thing is to a) draw a clear distinction between usability and motivation and b) understand the relationship between them. My favorite tool for dealing with this is BJ Fogg’s curve:

fogg-curve-feature
Basically, what this is saying is that if the customer/user is really motivated to do something (imagine a point on the upper left), then it can be relatively harder for them. If a user isn’t that motivated (imagine a point on the lower right), then the action needs be relatively easier.

If you’re building a product or feature, what this clearly implies is that you need to take a balanced view of motivation vs. usability. Most products and projects I see are very focused on usability. However, most of them haven’t tested motivation: Will the user really prefer this product or feature over their current alternatives?

Instead, they often confuse it/mingle it with their usability testing, for example asking about a prototype ‘Do you like this? Will you [use it, buy it]?’. That doesn’t work- the subject will always give you a ‘yes’. For more on why see specifically this post on the ‘yellow Walkman problem‘ or more generally the here tutorial on Lean Startup. Suffice to say here that the kind of testing we do relative to user stories deals with usability- that’s why they call it ‘usability testing’.

What they means is that we’re assuming they’re motivated (controlling for motivation, if you will) and just testing for usability. What this means is that if we’re testing a piece of software that allows users to paint virtual walls (bear with me), then we don’t ask them ‘Do you want to paint this wall?’. We don’t even ask them ‘What color would you like to paint this wall?’. We ask them ‘Would you show me how you’d paint this wall yellow?’ and then we’re seeing how hard it is for them to do that and thinking about how we can make it easier.

How do we test stories?

Have you ever heard something like this: ‘We don’t do as much user testing as we probably should because by the time we can test the software we’re already up against our deadline.’ As sympathetic as I am to those deadlines, I just don’t think this is a good reason not to be testing usability.

A generally accepted (though not universal) view of user testing is that it’s best to think of it having phases like you see below:

user-testing-types-fullWhen you’re doing early testing, rough prototypes (physical or virtual) will work fine- you don’t need an engineer or (with the right process) even a formally trained designer to test the efficacy of different approaches. My advice is to maximize these opportunities early on in your story formulation. On a related note, I highly, highly (2 highly’s) recommend anchoring your test items in user stories as opposed to interface-specific goals like ‘see if the user understands our drop down menu’s’.

When are you done testing the implementation of a story?

While it may not be as simple as just creating some code, it is important to design and test with a working definition of ‘done’. When I write user stories with a team, I find it usually helps a lot to draft both prompts for single subject usability testing as well as analytics for once we release an implementation of the user story. The first helps us make sure we’re creating a story that’s readily testable specifically with regard to usability (in single-subject user testing) and the second helps us make sure that post-release, we have an outcome-based definition of done.

Let’s take a look at a specific example, this ‘child story’ from HVAC in a Hurry: I don’t know the part number and I want to try to identify it online so I can find out its price and availability. For usability testing, I would consider a prompt (for the test subject) like this:
Let’s say you want to look up this part and you know its part number (show them prop.). How would you do that? (Coach on interaction w/ cheater).

And I’d be looking to assess whether they were able to complete that step with the UI (however we design it) and then identify the pricing and availability they look up for the part in question.

For an outcome-focused definition of done, I like to frame a couple of analytical questions, which are usually some story-specific version of “Does anyone use this?” and “Does it progress them toward the larger arc of user behavior we’re trying to create?”. For example, with the story above, these questions might look like this:

1. How well does this search type work relative to the alternatives?

2. How often is this search used per transaction relative to the alternatives?

Then, I consider what metrics would answer those questions. For example:

a. Searches of this type relative to others

b. Sequence of this search relative to other search types

c. Conversion to order from this type of search (%)

These metrics should always be a rate or ratio so you have a sense of how you’re doing on a relative basis. Why not just start with the metrics? In practice, I find that most teams have so many metrics in front of them that a) they don’t always instrument the observations they need into the working code (wrongly assuming they have everything they could possibly need) and b) are at the same time so overwhelmed with all the metrics they have, they aren’t set up to act on a crisp, outcome-focused definition of done.

In summary, ideally your stories begin with some kind of observation about your user and the jobs (problems, desires) that matter to them. Then you come up with a testable formulation of how you’ll know if your solution idea is really better than what they have now. A very tactical examples from Lean UX is that you might put in a placeholder menu item or button for your new feature and just see if users click on it (at which point they get a ‘coming soon message’). Once you’ve validated that some motivation exists for your feature, you move on to actual user stories, testing usability as you go along.

Then, once you release said feature into the wild, you have some metrics on usability and motivation that tell you whether, in fact, you really are right (and to what extent). Ideally, this feature you’ve implemented is the simplest possibly version (minimum viable product) that will allow you to learn whether you’re right or not. Basically, you want to achieve something like this:

hdd-user-stories.001

Yup, it’s a lot of stuff. My particular approach to making it manageable and actionable is Hypothesis-Driven Development. If you really want to dig in and make sure you’re iterating to something valuable with a minimum of waste, I highly recommend taking a look. That said, let’s move on to developing with stories!

How do you map and sequence development on your user stories?

How do you use stories within a team?

User stories are your anchor for working together on what you’re going to build and how you’ll know if it’s working. In a perfect world, the whole team is conducting design sprints together to learn about that and cultivate a shared understanding. Regardless, to arrive at a strong shared understanding it’s critical to formulate the stories together and make them highly visible to the team. On popular tool for this is the story map, popularized by Jeff Patton:

user-story-map-ii

The story map does a few jobs for you: 1) helps you think through the right stories 2) helps you prioritize them and 3) serves as an ‘information radiator’ to keep the stories visible as you work on them over the course of weeks or months.  If you’re in charge of managing your team’s story writing workshops, I think you’ll find it’s a very valuable tool.

Let’s talk about how to make one. The first stripe (0) defines the x-axis of the story map and represents the customer/user journey. It’s best built with storyboard squares. The reason why the seemingly silly details in the storyboard squares matter is that every single thing you can do to help keep your focus ‘outside the building’ and on the life of the user is going to help you drive to better outcomes more efficiently. Fine point: If you’re storyboard your epics (great idea!), then what you’d probably want to do on ‘stripe 1’ is to pick and choose among those to create a kind of summary. The reason this is a good idea is that a well articulated epic will usually have many more storyboard squares than you’ll want with the size and density of a typical story map.

Let’s talk about stripe 1+ and the y-axis. The y-axis describes relative priority, so stripe 1 is higher priority than stripe 2 and so forth. If you have a bunch of stories about how a user would search for a product, you’d put what you assume is the most common/important story in stripe 1, and then less common types of search stories in the same vertical space within stripes 2, etc. Careful prioritization on this axis relative to the x-axis/user journey is a subtle but important part of any high-functioning agile program.

The best explanation I’ve heard comes from agile thought leader Bill Wake: Let’s say you’re building a site where the basic  user journey is a) search b) select c) purchase. It’s natural (but a terrible idea) to build out all the search functions and then move on to select, etc. The reason it’s a terrible idea is that you won’t be able to do any meaningful user testing or market/release testing. The user can’t do anything potentially valuable by just searching for stuff. In a high-functioning agile team, you’re iterating through the thinnest possible slices of your story map, testing, assessing, and then building more software.

How do you use stories day to day?

In a high-functioning agile environment, when anyone is unsure of an implementation detail, they have a discussion around user stories- see the blue button moment above. I’ve shown you how to put yourself in a position to write strong stories that are anchored in the life of the user and highly testable. You’ve also seen how to organize and prioritize stories with a story map.

It takes practice to consistently write good user stories and apply them effectively to help your team work better. For overall breadth on how to think about this, my favorite heuristic on user stories is Bill Wake’s INVEST acronym. Bill Wake introduced the INVEST mnemonic in his seminal post on creating better stories, suggesting they should be Independent, Negotiable, Valuable, Estimable, Small, and Testable. The INVEST checklist is a guideline, not a commandment, as Bill Wake makes clear in his post. When in doubt, always do what you think makes sense. All that said, here’s an overview of INVEST:

Independent

Spotify-Agile-How-Build-300pxIdeally, you should be able to implement your stories in any order while still realizing the benefit of seeing something working at the end. This is important for two reasons. First, you lose a lot of the adaptability agile’s supposed to deliver if your stories have (many) interdependencies. Second, independence makes it much more likely that you can sequence what you do such that it’s meaningful to users and testable with them by the end of an iteration.

Spotify is known for its success with agile and other adaptive techniques. This slide from one of their talks summarizes the value of Independent (and Valuable and Testable).

Negotiable

Agile-User-Stories-NegotiableUser stories are not requirements. It’s a combination of stories and regular discussions that are meant to replace requirements. You should revise stories freely as you and your collaborators come up with better ideas.

Valuable

Valuable-Agile-User-StoryEach story once implemented should be both functional and relevant to the customer/user.  We’ve talked a lot in this post about how to achieve that.

A quote from Bill Wake’s original post on why this is important in software development projects: Developers often have an inclination to work on only one layer at a time (and get it “right”); but a full database layer (for example) has little value to the customer if there’s no presentation layer.

Estimable

User-Stories-Estimable-300pxIt should be possible for a developer with relevant experience to roughly estimate a story. That estimate’s then used by the product person to prioritize their list of stories, taking account of both value and cost (in terms of developer time).

Estimating’s kind of controversial in the agile community and not without good reason: It can lead unnecessary overhead and pointless recriminations when the final output doesn’t ‘agree’ with the original estimates. These are all things agile strongly tries to help avoid.

If I were to offer three silver bullets on this, they would be: 1) Write good stories based on validated insights about the user. 2) Make sure everyone understands and agrees that the estimates are very approximate (like Small-Medium-Large) and for purposes of prioritization. 3) If you want to do post-mortems on estimates vs. actuals, make sure there’s general agreement that it’s to help the team in some actionable way and not just because someone’s frustrated there isn’t more implementation done.

Small

Valuable-Agile-User-StoriesYour unimplemented stories are like a box of chocolates…ah, scratch that, reader; never mind.

Basically, your stories need to be Small for you to get the adaptability and reduction in overhead that agile offers. Big stories reduce opportunities for incremental testing and require more elaborate planning.

Testable

Testable-Agile-User-Stories-300pxAs the author of a story, you should be able to write tests that would allow you to validate that an implementation delivers on your intent. Many teams operate this way, but regardless of what everyone else does, you’ll do yourself a big favor by writing some functional test cases in advance- you’ll be much more likely to get what you want more easily.

Example A: Example User Stories from Enable Quiz (Startup)

Example Epic I

This epic story deals with the example company Enable Quiz and the HR manager wanting to create a quiz to screen engineering candidates. is organized in a more conventional fashion (vs. the epic above that’s storyboarded).

Epic Story: “As the HR manager, I want to create a screening quiz so that I make sure I’m prepared to use it when I interview job candidates.”

agile epic story- enable quiz

USER STORY TEST CASES
As a manager, I want to browse my existing quizzes so I can recall what I have in place and figure out if I can just reuse or update an existing quiz for the position I need now. Make sure it’s possible to search by quiz name

Make sure it’s possible to search by quiz topics included.

Make sure it’s possible to search by creation and last used date.

As an HR manager, I want to match an open position’s required skills with quiz topics so I can create a quiz relevant for candidate screening. Make sure the quiz topics are searchable by name.

Make sure the quiz topics have alternate names, terms for searching

As an HR manager, I want to send a draft quiz to the the functional manager so I make sure I’ve covered the right topics on the screening quiz. Make sure it’s possible to add another user by email in this flow

Make sure it’s possible to include notes and customize the email

Make sure it’s possibly to just copy a link (for case where HR manager wants to send their own email)

As a functional manager, I want to send feedback on the screening quiz to the HR manager so I make sure I’m getting the best possible screening on candidates. Make sure it’s possibly to supply comments in-app.

Make sure the above are quiz-specific by default but can also be general.

Make sure it’s also easy to copy the name or URL of the quiz for their own correspondence.

As an HR manager, I need to purchase an upgraded service tier so I can add additional topics to my quiz. Make sure that users with billing privileges can upgrade the service.

Make sure that If the users don’t have billing privileges, they see a list of those that do and can contact them.

Make sure the charges are correctly prorated against the billing anniversary of the account.

As an HR manager, I want to add custom questions to the quiz so we cover additional topics that are important to the functional manager. Make sure the customer is not charged for this bank.

Make sure the custom bank is owned by the client organization and not accessibly by any other accounts on the system.

 

’As the HR manager, I want to try out the screening quiz so that I can make sure it works as I expected and that I’m ready to both give it to candidates and share the results with the functional manager.’ Make sure there is a clear indication that the user can (and should) test the quiz

Make sure there’s a ‘view as test taker’ mode available to the admin.

 

Here are a few other epics that might follow this one.

Example Epic II

‘As the HR manager, I want to give the screening quiz to a job candidate so I can assess their skill sets against the needs of the position.’

Example Epic III

‘As the HR manager, I want to share and explain the results of our screening with the functional manager so they can decide who they want to interview.’

Example B: Example User Stories from HVAC in a Hurry (IT Project)

Example Epic I

‘As Ted the HVAC technician, I want to know the pricing and availability of a part that needs replacing so I can decide my next steps.’

hvac-epic-story

USER STORY ANALYTICS
I know the part number and I want to find it on the system so I can find out its price and availability. How often is this search used per transaction relative to the alternatives?
How often does this search lead to a part order?
– Searches of this type relative to others
– Sequence of this search relative to other search types
– Conversion to order from this type of search (%)
I don’t know the part number and I want to try to identify it online so I can find out its price and availability. (see above)
I don’t know the part number and I can’t determine it and I want help so I can find out its price and availability. (see above)
I want to see the pricing and availability of the part so I decide on next steps and get agreement from the customer How well do tech’s that do this perform relative to others?
– Conversion rate to order
– Customer satisfaction per job of tech’s in a cohort that use the tool vs. baseline (mean customer satisfaction per job)
– Billable hours for tech’s in this cohort vs. baseline (billable hours per week)

Exhibit 1: Storyboarding with AI (chatGPT)

I’m a big fan of simple, low-fidelity storyboards, like the ones you see above. In fact, in my classes I encourage students to hand draw them so that they can create impromptu storyboards on a whiteboard, screen share, etc. That said, if you’re drawing-averse and don’t want to use a speciality system like StoryboardThat, generate AI does offer a pretty good option.

As with anything in digital development, I started by seeing if anyone else had already figured out a good and reliable way to get reasonable storyboards out of an AI, the chatGPT LLM, in this case. I found a ‘Custom GPT’- these are configurations 3rd parties can develop on top of chatGPT and offer on the basic chatGPT UX. They help with prompting the user and structuring the prompts to the AI for a particular purpose (in this case, storyboard). Specifically, I found a storyboarding GPT by Brian Carey that does a nice job of helping keeping the look and feel of the subjects in the storyboard more consistent (the biggest problem I’ve found with this so far).

On that GPT, I used the prompts you see below- and here is the ‘live’ version on chatGPT.
I’d like the panels to be square, 1024×1024

I’ll supply the individual panels in the section below called PANELS

I’d like the subject to be Trent, a 32 year old HVAC technician who is 5′ 8″ tall, fit but skinny, has black hair, and is wearing a short sleeved collared work shirt. Please make sure to use the same typeface on all the thought and talking bubbles. Please make the drawings simple low fidelity stick figures.

PANELS
Panel 1:
* Title: Trent Needs a Part
* Description: Trent is looking at a broken AC unit and realizes he needs to replacement a part that he’s holding. The part is a circuit board.

Panel 2:
* Title: Search A- Trent Knows the Part Number
* Description: Holding that same part, Trent tries to look it up by part number on his tablet. Add a thought bubble that says “I need part number [xyz].”

Panel 3:
* Title: Search B- Trent Doesn’t Know the Part Number
* Description: Holding that same part and looking at the broken AC unit, Trent tries to look it up by make and model on his tablet. Add a thought bubble that says “Let’s see what the heck this is.”

Panel 4:
* Title: Search C- Trent is Stuck
* Description: Trent lays that same part by the broken AC unit and takes a photo of it with his tablet.  Add a thought bubble that says “Let’s see if the folks back at the shop know this part.”

Panel 5:
* Title: Trent Finds Pricing & Availability
* Description: Trent successfully finds the part on his tablet.  Add a thought bubble that says “Let’s how much this is going to cost the customer, and how soon I can get it for them.”

Panel 6:
* Title: Trent Works out Next Steps with the Customer
* Description: Trent walks over to the customer who is a 50 year-old woman of latin descent. Add a talk bubble for Trent that says “I think I’ve found the problem. Here are the next steps…”. Add to the customer a thought bubble that says “I wonder how soon he’ll have it fixed and how much it will cost?”.

Citations and Image Credits

Pair Programmers: By Lisamarie Babik (Ted & Ian Uploaded by Edward) [CC-BY-2.0 (http://creativecommons.org/licenses/by/2.0)], via Wikimedia Commons
Chemist: By Linda Bartlett (Photographer) [Public domain or Public domain], via Wikimedia Commons
Present: By Kgbo (Own work) [CC-BY-SA-3.0 (http://creativecommons.org/licenses/by-sa/3.0)], via Wikimedia Commons
Chocolates: By Dwight Burdette (Own work) [CC-BY-3.0 (http://creativecommons.org/licenses/by/3.0)], via Wikimedia Commons
Meter: By Iainf 05:15, 12 August 2006 (UTC) (Own work) [GFDL (http://www.gnu.org/copyleft/fdl.html), CC-BY-SA-3.0 (http://creativecommons.org/licenses/by-sa/3.0/) or CC-BY-2.5 (http://creativecommons.org/licenses/by/2.5)], via Wikimedia Commons