Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

design-user-flow设计用户流程

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

333

周安装

14

GitHub Stars

2

下载量

116
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:design-user-flow(设计用户流程)
来源仓库:https://github.com/hungv47/agent-skills
仓库路径:skills/design-user-flow
安装命令:
npx skills add https://github.com/hungv47/agent-skills --skill design-user-flow
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/hungv47/agent-skills --skill design-user-flow

简介

绘制数字产品的屏幕间导航路径与决策节点图。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

  • 从用户行为出发梳理端到端任务流程与异常分支。
  • 输出结构化流程图,支持敏捷迭代与团队共识建立。
  • 需明确起始动作与成功指标,避免流程过于宽泛或碎片化。
  • design-user-flow 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

User Flow Design

Guide for creating user flow diagrams (wireflows) that map navigation paths and screen-to-screen transitions in digital products.

Process Overview

User flow design follows this sequence:

  1. Gather context and understand objectives
  2. Conduct pre-design research (if needed)
  3. Define flow structure and decision points
  4. Create the flow diagram
  5. Validate and iterate

Step 1: Gather Context

Ask targeted questions to understand the product and user needs:

Product context

  • What product/feature are you designing?
  • What problem does it solve?
  • Who are the users?

Flow scope

  • What user action or journey needs mapping?
  • Where does the flow start and end?
  • Are there existing flows to reference or update?

Constraints

  • Platform (web, mobile, desktop)?
  • Technical limitations?
  • Business rules or requirements?

Step 2: Pre-Design Research

Before creating flows, gather foundational elements. Reference references/research-checklist.md for detailed guidance on:

  • User research (personas, pain points, use cases)
  • Information architecture (hierarchy, navigation structure)
  • User stories and jobs-to-be-done
  • Flow logic (decision points, conditions, edge cases)
  • Content requirements (copy, data, states)
  • Technical constraints

When to skip: If the user has already completed research or provided sufficient context, proceed to Step 3.

Step 3: Define Flow Structure

Map out the flow before visualizing:

Identify key components

  • Entry points (how users enter the flow)
  • Core screens/states (main interaction points)
  • Decision points (where paths split)
  • Actions (user interactions, system responses)
  • Exit points (success states, error states, abandonment)

Consider edge cases

  • Error states and failure paths
  • Empty states (no data, first use)
  • Loading states
  • Permission requirements
  • Authentication needs

Example structure

Entry: App launch
├─ Already logged in? → Dashboard
└─ Not logged in → Login screen
   ├─ Success → Dashboard
   ├─ Forgot password → Password reset flow
   └─ No account → Signup flow

Step 4: Create Flow Diagram

Generate the visual representation using appropriate format:

Format options

  • Mermaid diagram (for code-based flows)
  • Text-based outline (for simple flows)
  • Detailed description (for complex flows requiring nuance)

Mermaid syntax for user flows

graph TD
    Start[User Opens App]
    Start --> Check{Logged In?}
    Check -->|Yes| Dashboard[Dashboard Screen]
    Check -->|No| Login[Login Screen]
    Login --> Auth{Credentials Valid?}
    Auth -->|Yes| Dashboard
    Auth -->|No| Error[Error Message]
    Error --> Login
    Login --> Forgot[Forgot Password]
    Login --> Signup[Sign Up Flow]

Use scripts/generate_flow.py to create Mermaid diagrams programmatically when working with complex flows or multiple variations.

Flow documentation Include for each screen/state:

  • Screen name and purpose
  • User actions available
  • System responses
  • Next possible states
  • Notes on special conditions

Step 5: Validate and Iterate

Review the flow for completeness:

Validation checklist

  • All user paths lead to logical outcomes
  • Error states are handled
  • Back/cancel actions are defined
  • Edge cases are covered
  • Flow matches user mental model
  • Technical constraints are respected

Common issues

  • Dead ends (states with no exit)
  • Missing error handling
  • Unclear decision criteria
  • Overly complex paths
  • Skipped permission checks

Ask user for feedback and iterate based on real scenarios.

Flow Types

Linear flow Single path from start to finish. Use for onboarding, tutorials, checkout processes.

Branching flow Multiple paths based on conditions. Use for personalized experiences, multi-role systems.

Cyclical flow Users can loop through states. Use for dashboards, content feeds, iterative processes.

Hub-and-spoke flow Central hub with multiple branches. Use for navigation-heavy apps, settings, multi-feature products.

Best Practices

Keep it focused

  • One flow per user goal
  • Break complex journeys into sub-flows
  • Don't mix different user types in one flow

Be specific

  • Use concrete screen names, not generic labels
  • Define exact conditions for decision points
  • Specify system responses, not just user actions

Show reality

  • Include failure states and errors
  • Account for loading times and async operations
  • Consider partial data or empty states

Make it readable

  • Group related screens
  • Use consistent naming
  • Add annotations for complex logic
  • Keep visual hierarchy clear

Resources

scripts/generate_flow.py

Python script to generate Mermaid flow diagrams from structured input. Useful for creating consistent flows across multiple features or variations.

references/research-checklist.md

Comprehensive guide for pre-design research including user research methods, information architecture principles, and content strategy frameworks.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.15%
按下载量换算42

Claude

29.08%
按下载量换算34

Cursor

16.54%
按下载量换算19

Gemini CLI

9.05%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills