Design Userflow logo

Design Userflow

Community
LuckyOneTwoThree
design-userflow

Use when designing user flows and task flows. Automatically designs user flows from PRD and IA proposals, generating Task Flows and User Flows with conditional branches, exception paths, quality checks, and optimization suggestions. Keywords: user flow, User Flow, Task Flow, flow design, path optimization, user path, operation flow.

Overview

PublisherLuckyOneTwoThree
Repositoryvibe-skill
Skill namedesign-userflow
Stars
34
Forks
8
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by LuckyOneTwoThree on GitHub. Read the source before you install it.

Installation

Install the Design Userflow AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/LuckyOneTwoThree/vibe-skill/tree/main/.codex/skills/design-userflow
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LuckyOneTwoThree/vibe-skill.git /tmp/vibe-skill
mkdir -p .claude/skills
cp -r /tmp/vibe-skill/.codex/skills/design-userflow .claude/skills/design-userflow
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Design Userflow in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Design Userflow on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Design Userflow is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

User Flow Auto-Design

Core Principles

  1. Exception paths are as important as happy paths: 80% of UX problems occur on exception paths
  2. Zero tolerance for dead ends: Any path that prevents users from completing a task must be eliminated
  3. Batch generation, human filtering: AI generates flow proposals in bulk, humans make final selection and judgment
  4. Shortest path first: Core task path step count < 5 is optimal

AI->Human AI suggests -> Human approves

Interaction Mode

AI->Human AI suggests, human approves

Input

Input ItemTypeRequiredSourceDescription
PRDmarkdownYesoutput/pm-design/design-prd/prd.mdProduct requirements document
PRD Structured DataJSONOoutput/pm-design/design-prd/prd.jsonMachine-consumable PRD version containing user_flows[]/pages[], for flow design alignment
IA ProposalJSONYesoutput/pm-design/design-ia/ia_proposals.jsonInformation architecture proposal from Pipeline 9
User Research DataJSONOoutput/pm-discovery/user-research-voice-analysis / output/pm-discovery/user-research-behavior-analysisUser behavior patterns, task preferences

Execution Steps

Step 1: Task Flow Generation [Core]

Define task-level flows:

  • Starting Point: User enters scenario
  • Step Sequence: Core path to complete task
  • System Response: System feedback at each step
  • End Point: Task completion state

Step 2: User Flow Generation [Core]

Expand into complete user flows:

  • Conditional Branches: if/else decision nodes
  • Exception Paths: Network errors, no permissions, empty states, etc.
  • Return Paths: Operations to go back to previous step
  • Alternative Paths: Different ways to accomplish the same goal

Each step must be annotated with:

  • User action and system feedback
  • Page location (page_id)
  • Data operation type (read/create/update/delete) and related entity -- This is the direct input for downstream API design, helping api-design-spec precisely map user operations to API endpoints

Step 3: Flow Quality Auto-Check [Core]

Validate generated flows for quality:

Check ItemDescription
Shortest pathMinimum steps for core task
Exception coverageException path coverage rate
Return pathsWhether return operations are supported
Decision point informationWhether information at decision points is sufficient
Dead endsSituations where task cannot be completed

Step 4: Flow Optimization Suggestions [Deep]

Propose improvements based on quality check results:

  • Long path marking: Paths with >5 steps flagged
  • Exception handling supplementation: Suggestions for uncovered exception scenarios
  • Guidance suggestions: Guidance optimization for complex nodes
  • Dead end handling: Eliminate or optimize dead ends

Output Depth Grading

Depth LevelOutput ScopeDescription
quickTask Flow and exception pathsCore conclusions + minimum viable deliverable
standardFull deliverables (default)Complete output including all Steps
deepFull flow + exception path full coverage + flow performance optimization + multi-role flow matrixFull deliverables + extended analysis + deep simulation

Output

Storage Path: output/pm-design/design-userflow/ Output File: userflow.json

json
{
  "user_flow": {
    "task": "Core Task Name",
    "flow_type": "task_flow | user_flow",
    "steps": [
      {
        "step": 1,
        "step_id": "UF-S001",
        "action": "User Action",
        "page_id": "page-dashboard",
        "system_response": "System Feedback",
        "expected_outcome": "Expected Result",
        "error_handling": "Exception Handling",
        "data_operations": [
          {
            "operation_type": "read | create | update | delete",
            "related_entity": "entity_id",
            "description": "Description of data operation triggered by this step"
          }
        ],
        "branch": null
      },
      {
        "step": 2,
        "step_id": "UF-S002",
        "action": "User Action",
        "page_id": "page-courses",
        "system_response": "System Feedback",
        "expected_outcome": "Expected Result",
        "error_handling": "Exception Handling",
        "branch": {
          "condition": "Condition Description",
          "if_true": {
            "step_id": "UF-S002a",
            "action": "Action when condition is met",
            "page_id": "page-target",
            "expected_outcome": "Expected result when condition is met"
          },
          "if_false": {
            "step_id": "UF-S002b",
            "action": "Action when condition is not met",
            "page_id": "page-fallback",
            "expected_outcome": "Expected result when condition is not met"
          }
        }
      }
    ],
    "quality_check": {
      "shortest_path_steps": 3,
      "exception_coverage": 0.85,
      "dead_ends": 0,
      "issues": []
    }
  }
}

Output Validation Rules: See Output Validation Rules section below

Decision Rules

ConditionAction
Dead end count > 0Must fix, provide fix suggestion for each dead end
Core task path step count > 7Mark "Path too long", suggest splitting into sub-flows
Exception path coverage < 80%Mark "Insufficient exception coverage", list uncovered exception scenarios
Decision point information insufficientMark "Decision point needs supplementation", list missing information items
Return path incompleteMark "Return path missing", suggest supplementing return paths
Flow confidence < 0.5Escalate to human validation, mark "Low flow inference reliability"
Key path mismatch with PRD feature pointsMark "Feature coverage gap", list PRD feature points not covered

Quality Checks

P0 Checks (must pass for quick/standard/deep)

  • Core task step count (< 5 steps optimal, <= 7 steps acceptable)
  • Exception path coverage (>= 80%)

P1 Checks (must pass for standard/deep)

  • Dead end count (= 0)
  • Decision point information sufficiency (All decision points have sufficient judgment information)
  • Return path completeness (All branches have return to main path)
  • PRD feature coverage (Key feature points 100% covered)
  • All outputs have confidence scores (100%)

P2 Checks (must pass for deep only)

  • Extended analysis complete (deep simulation and roadmap generated)
  • Decision records complete (key decisions have rationale and alternatives)

Degradation Strategy

Missing Upstream InputDegradation PlanOutput ImpactData Acquisition Instructions
PRD document missingUser provides feature description, design flow directlyLacks PRD structured data, flow may miss feature pointsRequest user to provide feature list and task descriptions, or upload prd.json file
IA proposal missingUser provides feature description, design flow directlyLacks IA data, flow may not match page structureRequest user to describe page structure or upload IA proposal file
Both PRD and IA missingUser provides feature description, design flow directlyOverall confidence reduced, flow may be less completeRequest user to describe features and page structure
All upstream files missingPrompt user to execute prior stages first, or design flow based on user feature descriptionOutput is only basic flow frameworkRequest user to describe core user tasks and features

Output Validation Rules

Field PathTypeRequiredDescription
user_flowobjectYesUser flow data
user_flow.taskstringYesCore task name
user_flow.flow_typestringYesFlow type (task_flow/user_flow)
user_flow.stepsarrayYesFlow step list, must not be empty
user_flow.steps[].stepintegerYesStep number
user_flow.steps[].step_idstringYesStep unique identifier (aligned with prd.json.user_flows.steps.step_id)
user_flow.steps[].actionstringYesUser action
user_flow.steps[].page_idstringYesAssociated page ID (aligned with prd.json.pages.page_id)
user_flow.steps[].system_responsestringYesSystem feedback
user_flow.steps[].expected_outcomestringYesExpected result (aligned with prd.json.user_flows.steps.expected_outcome)
user_flow.steps[].error_handlingstringNoException handling (aligned with prd.json.user_flows.steps.error_handling)
user_flow.quality_checkobjectYesQuality check results
user_flow.quality_check.shortest_path_stepsintegerYesShortest path step count
user_flow.quality_check.exception_coveragenumberYesException path coverage (0-1)
user_flow.quality_check.dead_endsintegerYesDead end count (must be 0)

Upstream Change Response

Upstream Change Impact

Upstream ChangeImpact ScopeResponse Strategy
PRD feature requirement addition/removalTask flow, step sequenceMark affected tasks and steps, suggest human confirmation on whether to regenerate flow
PRD interaction logic changeConditional branches, exception pathsMark affected branches and exception paths, suggest human confirmation on whether to update flow
IA proposal change (page addition/removal)Page references in flow stepsMark affected steps, suggest human confirmation on whether to adjust flow
IA route changePage transitions in flowMark affected transition paths, suggest human confirmation on whether to update
User research data updateFlow optimization suggestionsMark affected optimization points, suggest human confirmation on whether to adjust flow

Downstream Notification Mechanism

Flow Change TypeNotification ScopeNotification Method
Task flow changedesign-prototype, interaction-specMark flow changes, trigger prototype and interaction spec updates
Conditional branch changedesign-prototype, interaction-specMark branch changes, trigger prototype and interaction spec updates
Exception path changedesign-prototype, interaction-specMark exception path changes, trigger prototype and interaction spec updates
Dead end fixdesign-prototypeMark fix content, trigger prototype update

Alignment with prd.json Data Contract

This Skill's Output Fieldprd.json Corresponding FieldAlignment Rule
user_flow.taskprd.json.user_flows[].nameTask name must be consistent with user_flow name
user_flow.steps[].step_idprd.json.user_flows[].steps[].step_idStep IDs must be consistent
user_flow.steps[].page_idprd.json.pages[].page_idpage_id must exist in prd.json.pages
user_flow.steps[].expected_outcomeprd.json.user_flows[].steps[].expected_outcomeExpected result descriptions must be consistent

Data Acquisition Instructions

This Skill requires PRD and IA proposal data. Please provide via one of the following methods:

  1. Directly describe feature flows and user tasks
  2. Upload PRD document / ia_proposals.json files
  3. Provide data file paths
  • AI is not responsible for external data collection, only for analysis

Frequently asked questions

What does the Design Userflow AI skill do?

Use when designing user flows and task flows. Automatically designs user flows from PRD and IA proposals, generating Task Flows and User Flows with conditional branches, exception paths, quality checks, and optimization suggestions. Keywords: user flow, User Flow, Task Flow, flow design, path optimization, user path, operation flow.

Why use Design Userflow on TypingMind?

Because you install it once and use it with any model. Design Userflow is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Design Userflow in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/LuckyOneTwoThree/vibe-skill/tree/main/.codex/skills/design-userflow. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Design Userflow?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Design Userflow?

As many as you like. As long as a model supports skills, you can use Design Userflow with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Design Userflow AI skill free?

Yes. It is published on GitHub by LuckyOneTwoThree under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇