agentleFS
UwayxtUwayxt/agent-skills/.agents/skills/user-flow-mapping/SKILL.md

user-flow-mapping

Skill4 starsChanged 2 months agoMITView on GitHub

Map user decisions from entry to goal. Use when user flow, journey map, how does the user get from A to B, task flow, or map the steps.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Map Decisions, Not Just Screens

A user flow is a map of decisions, not a list of screens. Every diamond (decision point) the user hits is a place the product can lose them or guide them. Map decisions first, screens second.

1. Identify the Goal

What is the user trying to accomplish? One flow = one goal. "Complete a purchase" is one flow. "Browse and maybe buy" is two flows crammed together — split them.

2. Name the Entry Points

Where does the user start? Direct link, dashboard shortcut, notification, search result. Multiple entry points = multiple paths to map.

3. Map the Happy Path

The straight line from entry to goal. Fewest steps, no errors, no edge cases. Use a decision-free sequence: Step → Step → Step → Done.

4. Map Decision Points

Where does the user choose? Each choice branches the flow. Use diamond notation in Mermaid or ASCII. Common decisions: "Has account?" / "Valid input?" / "Has permission?".

5. Map Error and Edge Paths

What happens when things go wrong? Form validation fails, payment declined, session expired, no results found. Each error path must either recover (back to happy path) or exit gracefully.

6. Annotate with Data Needs

At each step, what data does the screen need to display? Where does it come from? This bridges UX and engineering.

Output Format

  • Flow diagram (Mermaid flowchart TD or ASCII).
  • Annotated step list (step → screen → data needed → decisions).

Completion Criteria

Done when happy path, at least 2 error paths, and all decision points are mapped. Not done if the flow is a linear list without any decision diamonds.

Anti-patterns

  • Mapping screens instead of decisions.
  • Flows that assume the happy path is the only path.
  • Vague actions like "The user clicks the button" — which button? Where? What if it's disabled?

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.