agentleFS
EnigmaWUEnigmaWU/MyCodeAgentSkills/facilitate-user-story-mapping/SKILL.md

facilitate-user-story-mapping

Skill4 starsChanged 3 months agoMITView on GitHub

WHEN/WHERE/WHO: [Scheduling: Use when a user or Product Owner wants to break down an epic, feature, or new product idea into a structured User Story Map.] HOW: [Structural: Use this SKILL to explicitly execute the state-machine phases of Context Gathering, Backbone Creation, Task Fleshing, and Slice Definition.] WHY: [Scheduling: Prevents building the wrong thing by forcing shared understanding, explicit narrative flow, and early identification of functional walking skeletons.]

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 13 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈13

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When this skill is activated, first load skill-common and apply the shared conventions it defines: canonical section order, frontmatter …

    line 13
  2. Distinctive:

    Transfer Check: Verify the workflow still works for simple product ideas and for larger stories with many activities.

    line 45
  3. Distinctive:

    Stop Rule: If the target user or business outcome cannot be stated, stop and ask before mapping the story.

    line 46
  4. Distinctive:

    DO NOT write detailed acceptance criteria until the entire backbone and primary tasks are mapped.

    line 52
  5. Distinctive:

    DO NOT allow "slicing" by architectural component (e.g., "Database layer").

    line 53
  6. Distinctive:

    DO NOT use passive voice or ambiguous terms (e.g., "System processes data").

    line 54
  7. Distinctive:

    If anything is unclear, missing, or conflicting, stop and ask the user before proceeding.

    line 57
  8. Distinctive:

    Ask the user to explicitly define the Target User and the Business Outcome.

    line 63
  9. Distinctive:

    Write these as vertical columns of short verb phrases under each Activity.

    line 77
  10. Distinctive:

    Ask the user: "What is the absolute minimum set of tasks needed to reach the end of the narrative flow, even if it lacks error handling?"

    line 84
  11. Distinctive:

    Verify that the output map contains a continuous narrative flow from left to right.

    line 98
  12. Distinctive:

    Verify that Slice 1 contains at least one task for every critical Activity (proving end-to-end viability).

    line 99
  13. Distinctive:

    If verification passes, output the final Story Map in Markdown format.

    line 100

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Facilitate User Story Mapping

Common Contract (Load First)

When this skill is activated, first load skill-common and apply the shared conventions it defines: canonical section order, frontmatter rules, anti-pattern guidance, and the Review In Mind loop in review-in-mind. This skill adds only domain-specific rules below.

Who

AI Agents acting as Agile Facilitators, Product Owners, or Business Analysts helping a team break down complex product requirements.

What

Guides the user through Jeff Patton's User Story Mapping process to generate a deterministic, 2D matrix (Story Map) consisting of a horizontal backbone (Activities) and vertical building blocks (Tasks).

When

Invoke this skill when the user says "let's break down this epic", "help me map out this feature", or explicitly asks to "create a story map". Near-miss: Do not use this if the user just wants to write a single Jira ticket or acceptance criteria (use a story-writing skill instead).

Where

Applies to the discovery phase of a product or feature. Outputs are typically saved as Markdown tables, JSON structures, or directly pushed to a backlog tool.

Why

Incremental delivery often fails because it delivers "parts of a car" rather than a "skateboard, then bicycle". Story mapping ensures iterative delivery by focusing on end-to-end narrative flow and slicing by outcome, guaranteeing that every release is a functional walking skeleton.

Inputs

  • Product/Feature Idea: A high-level description of what needs to be built.
  • Target User: Who this feature is primarily for.

Output (Logical Evidence)

  • A structured User Story Map (Markdown or JSON).
  • Explicit identification of the "Functional Walking Skeleton" slice.

Optimization Readiness

  • Failure Signals: Activities and tasks are confused, slices are based on architecture instead of user outcomes, the walking skeleton is missing end-to-end coverage, or the map no longer preserves narrative flow.
  • Evidence To Collect: Story maps, slice decisions, activity/task breakdowns, and notes showing where the skeleton path was discovered or where it was blocked.
  • Safe Mutation Boundaries: Refine framing prompts, activity/task guidance, slice-selection questions, and formatting rules without changing the core outcome-first mapping model.
  • Acceptance Criteria: Accept revisions only if the map keeps a clear narrative flow, separates activities from tasks, and produces a functional walking skeleton that crosses every critical activity.
  • Rejected Revision Handling: Record architecture-slice shortcuts, passive phrasing, and missing-skeleton patterns so they are not repeated.
  • Transfer Check: Verify the workflow still works for simple product ideas and for larger stories with many activities.
  • Stop Rule: If the target user or business outcome cannot be stated, stop and ask before mapping the story.

Constraints (Logical Boundaries)

  • Formatting: Tasks MUST be written as short, active verb phrases (e.g., "Check email", "Reset password").
  • Goal-Levels: Differentiate strictly between "Activities" (high-level goals) and "Tasks" (sea-level actions).
  • Anti-Pattern Mapping:
    1. DO NOT write detailed acceptance criteria until the entire backbone and primary tasks are mapped.
    2. DO NOT allow "slicing" by architectural component (e.g., "Database layer"). Slices MUST be end-to-end user outcomes.
    3. DO NOT use passive voice or ambiguous terms (e.g., "System processes data").

One More Thing

If anything is unclear, missing, or conflicting, stop and ask the user before proceeding.

How (Structural Workflow)

Phase 1: Opportunity Framing

Input State: User provides a raw idea.

  1. Ask the user to explicitly define the Target User and the Business Outcome.
  2. Branch: If the user cannot define the outcome, pause and refuse to map until the "Why" is established. Output State: A confirmed target user and outcome.

Phase 2: Building the Backbone (Activities)

Input State: Confirmed outcome.

  1. Prompt the user to list the high-level steps the user takes from start to finish (the narrative flow).
  2. Synthesize these into 4-8 high-level "Activities" (e.g., "Manage Account", "Find Product").
  3. Branch: If an activity is too granular (a sea-level task), push it down to Phase 3. Output State: A confirmed horizontal array of Activities.

Phase 3: Fleshing out Tasks

Input State: A confirmed backbone.

  1. For each Activity, iterate horizontally. Ask the user: "What specific tasks does the user do to accomplish [Activity]?"
  2. Write these as vertical columns of short verb phrases under each Activity.
  3. Play "What-About" to extract exceptions and variations (e.g., "What if the password fails?"). Place these deeper down the vertical column. Output State: A 2D grid of Activities and Tasks.

Phase 4: Slicing the Walking Skeleton

Input State: A fully fleshed 2D grid.

  1. Draw a horizontal line across the top tasks.
  2. Ask the user: "What is the absolute minimum set of tasks needed to reach the end of the narrative flow, even if it lacks error handling?"
  3. Move those critical tasks above the line to form Slice 1: The Functional Walking Skeleton. Output State: A sliced Story Map ready for execution.

Review In Mind (ReviewInMindGenie)

Execute the common review loop in review-in-mind before delivering.

Review lens for this skill:

  • Does the story map have a horizontal backbone (activities) and vertical building blocks (tasks)?
  • Is the MVP slice identifiable and justified for end-to-end viability?
  • Are missing activities or orphan tasks surfaced?

Validation (Verifiable Rewards)

  1. Verify that the output map contains a continuous narrative flow from left to right.
  2. Verify that Slice 1 contains at least one task for every critical Activity (proving end-to-end viability).
  3. If verification passes, output the final Story Map in Markdown format.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.