Logo Design Userflow

Design Userflow

Cộng đồng
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.

Tổng quan

Nhà phát hànhLuckyOneTwoThree
Kho mãvibe-skill
Tên kỹ năngdesign-userflow
Sao
34
Bản fork
8
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được LuckyOneTwoThree công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Design Userflow trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/LuckyOneTwoThree/vibe-skill/tree/main/.codex/skills/design-userflow
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Design Userflow trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Design Userflow ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Design Userflow với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Câu hỏi thường gặp

Kỹ năng AI Design Userflow làm được gì?

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.

Vì sao nên dùng Design Userflow trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Design Userflow là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Design Userflow trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/LuckyOneTwoThree/vibe-skill/tree/main/.codex/skills/design-userflow. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Design Userflow?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Design Userflow với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Design Userflow với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Design Userflow có miễn phí không?

Có. Kỹ năng này được LuckyOneTwoThree phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇