agentleFS
manish1803manish1803/nextjs-fullstack-skills/skills/04-ux-ui-design/ux-research-flow-design/SKILL.md

ux-research-flow-design

Skill2 starsChanged 4 months agoMITView on GitHub

Design user flows, information architecture, and interaction patterns before writing UI code — map the user's journey, decision points, and edge/error states. Use whenever starting a new feature or product, when the user asks "how should this flow work", or before building any multi-step process (onboarding, checkout, wizards).

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    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:

    Use this *before* generating UI code for any non-trivial feature — a flow designed on the fly in code tends to miss edge states.

    line 8
  2. Distinctive:

    Decision points & branches: every place the flow forks (e.g.

    line 13
  3. Distinctive:

    Keep primary navigation to 5-7 top-level items.

    line 19
  4. Distinctive:

    Every page should answer "where am I, what can I do here, how do I get back" without the user having to think.

    line 20
  5. Distinctive:

    Before generating components, produce a brief flow outline (can be a short text list or a simple diagram) covering: entry points → steps → …

    line 29

≈ “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

UX Research & Flow Design Skill

Use this before generating UI code for any non-trivial feature — a flow designed on the fly in code tends to miss edge states.

Flow-mapping process

  1. Entry points: where does the user arrive from (which page, which trigger)? A flow can have multiple entries (e.g. "upgrade plan" reachable from a paywall, settings, or an email link) — each needs the right context carried through.
  2. Happy path steps: the minimum sequence of screens/states from entry to the user's goal being met.
  3. Decision points & branches: every place the flow forks (e.g. "already has a payment method?", "email already registered?") — enumerate both branches explicitly.
  4. Edge & error states: what happens on network failure, validation error, permission denial, empty data, or the user abandoning mid-flow and returning later? A flow isn't done until these are specified, not left to be improvised while coding.
  5. Exit points: where does the user land after success, after abandoning, after error?

Information architecture

  • Group navigation/content by user mental model (task-based: "Billing," "Team," "Integrations"), not by internal system structure.
  • Keep primary navigation to 5-7 top-level items; anything more needs grouping or progressive disclosure.
  • Every page should answer "where am I, what can I do here, how do I get back" without the user having to think.

Interaction pattern selection

  • Modal — a short, focused, single-purpose task that shouldn't lose the underlying page context (confirm delete, quick edit).
  • Full page / route — a task with multiple steps, that deserves a URL, or that the user might want to bookmark/return to.
  • Drawer/side panel — inspecting/editing an item from a list without losing the list context.
  • Inline edit — quick, low-risk single-field changes (renaming something) where a modal would be overkill.

Deliverable shape when this skill runs

Before generating components, produce a brief flow outline (can be a short text list or a simple diagram) covering: entry points → steps → branches → edge states → exit points. Confirm it with the user for anything with real ambiguity (e.g. checkout, onboarding) before writing UI code.

Anti-patterns to flag

  • Jumping straight to component code for a multi-step flow without mapping branches/edge states first
  • Error/empty/loading states designed as an afterthought once the happy path is built
  • Navigation structured around backend data models instead of user tasks

Example prompt this skill should trigger on

"We need an onboarding flow for new users to connect their first data source."

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.