Design Userflow 标志

Design Userflow

社区
LuckyOneTwoThree
design-userflow

用于设计用户流程和任务流程。根据 PRD 和 IA 方案自动设计用户流程,生成包含条件分支、异常路径、质量检查和优化建议的 Task Flows 和 User Flows。关键词:用户流程、User Flow、Task Flow、流程设计、路径优化、用户路径、操作流程。

概览

发布者LuckyOneTwoThree
代码仓库vibe-skill
技能名称design-userflow
星标数
34
复刻数
8
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 LuckyOneTwoThree 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Design Userflow AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/LuckyOneTwoThree/vibe-skill/tree/main/.codex/skills/design-userflow
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Design Userflow,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Design Userflow。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Design Userflow 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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

常见问题

Design Userflow AI 技能有什么作用?

用于设计用户流程和任务流程。根据 PRD 和 IA 方案自动设计用户流程,生成包含条件分支、异常路径、质量检查和优化建议的 Task Flows 和 User Flows。关键词:用户流程、User Flow、Task Flow、流程设计、路径优化、用户路径、操作流程。

为什么在 TypingMind 中使用 Design Userflow?

因为您只需安装一次,就能搭配任何模型使用。Design Userflow 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Design Userflow?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/LuckyOneTwoThree/vibe-skill/tree/main/.codex/skills/design-userflow。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Design Userflow?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Design Userflow 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Design Userflow 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Design Userflow AI 技能免费吗?

是的。LuckyOneTwoThree 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇