Token导航 LogoToken导航

Agent Skill · 研究检索

user-flow(用户流量)

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

user-flow 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 69,749。

总安装 216周安装 9GitHub Stars 1下载 72核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

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

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于辅助界面设计、视觉规范和交互体验优化。适合生成 UI 方案或改进组件层级结构。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。使用时需结合品牌与设计系统,避免堆砌装饰元素。涉及真实页面改动时应通过截图检查文本溢出与对齐。

user-flow 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/user-flow

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/hungv47/design-skills --skill user-flow;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

user-flow 怎么安装?

在终端执行 npx skills add https://github.com/hungv47/design-skills --skill user-flow。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

user-flow 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

user-flow 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/hungv47/design-skills --skill user-flow 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

user-flow 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

user-flow 用的人多吗?

公开数据是累计安装 216 次,近一周安装 9 次,下载 72 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

user-flow 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
user-flow

用户流量 · 本页

2161执行命令未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

User Flow Design — Orchestrator

*Design — Step 2 of 2. Coordinates specialized agents to map navigation paths, decision points, edge cases, and screen-to-screen transitions into a validated flow diagram.*

Core Question: "Can the user complete their goal without thinking?"

Critical Gates — Read First

  • Do NOT create diagrams before mapping structure. Diagram-agent needs structure-agent's screen inventory and edge-case-agent's state coverage. Visualizing before mapping produces incomplete flows.
  • Do NOT skip edge cases. Error, empty, loading, permission, and offline states must be mapped for every screen. Happy-path-only flows break at the first unexpected state.
  • Do NOT accept >7 happy path steps without challenge. Miller's threshold is the validation baseline. Every step must justify its existence — can it be removed, combined, or automated?
  • Stale product context (>30 days) produces misaligned flows. Recommend re-running icp-research before proceeding if artifact dates are old.

Inputs Required

  • A product or feature requiring flow mapping (new feature, redesign, or existing flow audit)
  • Target user role or persona (flows change per role)
  • The user goal the flow serves (one goal per flow)

Output

  • .agents/design/user-flow.md

Quality Gate

Before delivering, the critic agent verifies:

  • Every decision point has ≥2 labeled exits (including the unhappy path)
  • Error paths lead to recovery states — no dead ends
  • Entry and exit points are explicit (not implied)
  • Flow serves exactly one user goal — split if multiple goals emerged
  • Empty, loading, and permission states are accounted for
  • Back/cancel actions are defined at every step where the user might retreat
  • Happy path ≤7 steps (Miller's threshold)
  • ≤3 primary actions per screen
  • Diagram notation correct (5 shapes used properly)
  • Screen inventory complete with concrete names

Chain Position

Previous: brand-system (optional — provides design tokens and component context) | Next: handoff to implementation

Re-run triggers: When product features change significantly, when user research reveals new patterns, after usability testing reveals flow issues, or when adding new user roles.

Related skills (non-chain): system-architecture (consumes flow diagrams for API design), task-breakdown (uses flows for feature decomposition), plan-interviewer (generates specs that inform flows)

Skill Deference

  • Requirements unclear? Run plan-interviewer first to clarify the spec.
  • Need brand context? Run brand-system — it provides design tokens and component context.
  • Need to break flow into tasks? Run task-breakdown after — it consumes flow diagrams.

Agent Manifest

AgentLayerFileFocus
Structure Agent1 (parallel)agents/structure-agent.mdEntry points, core screens, decision points, exit points, flow type
Edge Case Agent1 (parallel)agents/edge-case-agent.mdError, empty, loading, permission, offline states
Diagram Agent2 (sequential)agents/diagram-agent.mdMermaid flowchart with 5 node shapes, annotations
Validation Agent2 (sequential)agents/validation-agent.mdMiller's threshold, ≤3 actions/screen, structural integrity
Critic Agent2 (final)agents/critic-agent.mdAll edge cases handled, notation correct, screen inventory complete

Shared References (read by agents)

  • references/research-checklist.md — Pre-design research: user research methods, information architecture, content strategy

Routing Logic

Only one route — all flows use the full agent stack. Complexity is handled by the structure-agent's sub-flow decomposition (flows >15 screens are split automatically).

1. Pre-dispatch: Gather context (Step 0) + Flow Interview
2. LAYER 1 — Dispatch IN PARALLEL:
   - structure-agent (maps screens, decisions, transitions)
   - edge-case-agent (maps error, empty, loading, permission, offline states)
3. MERGE: Combine structure + edge cases into unified flow model
4. LAYER 2 — Dispatch SEQUENTIALLY:
   - diagram-agent (receives merged structure + edge cases)
   - validation-agent (receives structure + edge cases + diagram)
5. Dispatch: critic-agent (receives complete flow)
6. If FAIL → re-dispatch named agent(s) with feedback (max 2 cycles)
7. Deliver artifact

Step 0: Pre-Dispatch Context Gathering

Product Context Check

Check for .agents/product-context.md. If missing: INTERVIEW. Interview for product dimensions (what, who, problem, differentiator, constraints) and save to .agents/product-context.md. Or recommend running icp-research (from hungv47/comms-skills) to bootstrap it.

If .agents/product-context.md has a date field older than 30 days, recommend re-running icp-research to refresh it before proceeding.

Required Artifacts

None — this skill can run standalone.

Optional Artifacts

ArtifactSourceBenefit
product-context.mdicp-research (from hungv47/comms-skills)Product and user context for better flow decisions
.agents/design/brand-system.mdbrand-systemComponent inventory and design tokens inform screen-level detail

Flow Interview

Interview for these dimensions before proceeding:

Product context

  1. What product or feature needs flow mapping?
  2. What problem does it solve for the user?
  3. Who is the primary user? (role, technical skill, frequency of use)

Flow scope 4. What is the single user goal this flow serves? 5. Where does the flow start? (specific trigger: link click, app launch, notification tap) 6. What does success look like? (specific end state) 7. Are there existing flows to reference, replace, or extend?

Constraints 8. Platform — web, iOS, Android, cross-platform? 9. Authentication requirements? (logged in, guest, role-based) 10. Technical or business rules that force specific paths?

Context to Pass to All Agents

  1. Product: description, feature, problem it solves
  2. User: role, persona, technical skill, frequency
  3. Goal: the single user goal this flow serves
  4. Platform: web, iOS, Android, cross-platform
  5. Constraints: auth requirements, business rules, existing flows

Dispatch Protocol

How to spawn a sub-agent

  1. Read the agent instruction file — include its FULL content in the Agent prompt
  2. Append the context (product, user, goal, platform, constraints) after the instructions
  3. Resolve file paths to absolute: replace relative paths with absolute paths rooted at this skill's directory
  4. Pass upstream artifacts by content: the orchestrator reads .agents/ files FIRST, then includes relevant excerpts in context. Sub-agents should NOT read artifact files directly.
  5. If feedback exists (from critic FAIL), append with header "## Critic Feedback — Address Every Point"

Conventions

  • Source citation: When stating facts about UX heuristics, usability research, or interaction patterns, cite the source. If from a web search, include the URL. If a fact cannot be attributed, flag it as [UNVERIFIED].
  • Context loaded: When producing the artifact, include which upstream artifacts were read and their versions/dates in the artifact body. This creates an audit trail for downstream skills.

Single-agent fallback

If multi-agent dispatch is unavailable, execute each agent's instructions sequentially in-context:

  • Layer 1: map flow structure (screens, decisions, entries, exits), then map edge cases (error, empty, loading, permission, offline)
  • Layer 2: create Mermaid diagram from structure + edge cases, then validate against usability thresholds
  • Final: evaluate with critic rubric

Layer 1: Parallel Foundation

Spawn IN PARALLEL:

AgentInstruction FilePass These InputsReference Files
Structure Agentagents/structure-agent.mdbrief (product + user + goal + platform + constraints)references/research-checklist.md
Edge Case Agentagents/edge-case-agent.mdbrief (product + user + goal + platform + constraints)references/research-checklist.md

Wait for both to complete. Their outputs feed the merge step and Layer 2.


Merge Step

Combine structure-agent and edge-case-agent outputs into a unified flow model:

SectionOwner Agent
Flow classificationStructure Agent
Entry pointsStructure Agent
Core screens (name, purpose, actions, responses)Structure Agent
Decision points (condition, exits, who decides)Structure Agent
Exit pointsStructure Agent
Screen-to-screen transitionsStructure Agent
Error states per screenEdge Case Agent
Empty states per screenEdge Case Agent
Loading states per screenEdge Case Agent
Permission states per screenEdge Case Agent
Offline states per screenEdge Case Agent
Back/cancel pathsEdge Case Agent

Cross-reference check before Layer 2: Verify that every screen in the structure-agent's inventory has been checked by the edge-case-agent. If any screen is missing edge case coverage, flag it before dispatching diagram-agent.


Layer 2: Sequential Chain

Dispatch ONE AT A TIME, IN ORDER:

StepAgentInstruction FileReceives
1Diagram Agentagents/diagram-agent.mdMerged structure + edge cases
2Validation Agentagents/validation-agent.mdStructure + edge cases + diagram
3Critic Agentagents/critic-agent.mdComplete flow (all outputs merged + validation results)

Critic Gate

  • PASS: Deliver the artifact.
  • FAIL: Re-dispatch named agent(s) with critic feedback. Max 2 rewrite cycles. After 2 failures, deliver with critic annotations and flag to user.

Artifact Template

On re-run: rename existing artifact to user-flow.v[N].md and create new with incremented version.

---
skill: user-flow
version: 1
date: {{today}}
status: draft
---

# User Flow: [Flow Name]

## Context
- **Product:** [product/feature]
- **User:** [role/persona]
- **Goal:** [single user goal]
- **Platform:** [web/iOS/Android/cross-platform]
- **Flow type:** [linear/branching/cyclical/hub-and-spoke]

## Flow Diagram

​```mermaid
graph TD
    [diagram here]
​```

**Annotations:**
1. [Node]: [implementation detail or business rule]

## Screen Inventory

| # | Screen | Purpose | Actions | Next States |
|---|--------|---------|---------|-------------|
| 1 | [name] | [why it exists] | [user actions] | [where each action leads] |

## Edge Cases Handled

| State | Screen(s) | Handling |
|-------|-----------|----------|
| Error | [screens] | [recovery path] |
| Empty | [screens] | [placeholder/onboarding] |
| Loading | [screens] | [skeleton/spinner] |
| Permission | [screens] | [upgrade/redirect] |

## Validation Summary

- Happy path length: [N steps]
- Decision points: [N total]
- Error recovery paths: [N total]
- Dead ends: 0

## Sub-flows

- [Sub-flow name] → see `user-flow-[name].md`

## Next Step

Hand off to implementation. Pair with `brand-system` for visual design tokens if not already created.

Worked Example — Mobile Checkout (Full Flow)

User: "Map the checkout flow for our e-commerce app."

Step 0: Pre-Dispatch + Interview

  • Platform: Mobile app, iOS and Android
  • User: Logged-in customer with items in cart
  • Entry: User taps "Checkout" from cart
  • Goal: Complete purchase
  • Constraints: Apple Pay, credit card, PayPal. Minimum order $10.
  • Flow type assessment: Branching (payment method creates 3 parallel paths)

Layer 1: Parallel Foundation

Both agents dispatched in parallel:

  • Structure agent returns: 6 core screens (Shipping Address, Shipping Method, Payment Selection, Card Entry Form, Order Review, Order Confirmation). 3 decision points (minimum check, payment method, payment result). 2 entry points (Checkout button, deep link). 3 exits (success, abandonment, back to cart).
  • Edge case agent returns: Error states for payment (API timeout, card declined, rate limit). Empty state for address (pre-fill from profile). Loading state for payment processing (spinner + disable back). Permission state for Apple Pay (hide if unsupported). Back/cancel at every screen with data preservation.

Merge

Combined into unified flow model. Cross-reference: all 6 screens have edge case coverage. Proceed.

Layer 2: Sequential Chain

  • Diagram agent returns: Mermaid graph TD with correct shapes (stadiums for entry/exit, diamonds for decisions, hexagons for payment processing). 3 annotations (MinCheck evaluated on subtotal, ApplePay uses Stripe SDK, Processing 3s timeout).
  • Validation agent returns: Happy path 5 steps (PASS ≤7). Max 3 actions per screen (PASS). All paths traced to exits (PASS). 3 error recovery paths (PASS). 0 dead ends. Handoff ready (screen names match dev vocabulary, conditions implementable).
  • Critic agent returns: PASS. All quality gate items checked. Scoring: structural integrity 5, edge case coverage 5, diagram correctness 5, usability 5, handoff readiness 4 (one annotation could be more specific). Overall: 4.8.

Deliver

Artifact saved to .agents/design/user-flow.md.


Anti-Patterns

Happy path only — Mapping only the success path produces flows that break at the first error. INSTEAD: Edge-case-agent runs in parallel with structure-agent, ensuring error/empty/loading/permission/offline states are mapped for every screen.

Generic screen names — "Step 1", "Step 2", "Step 3" tell nobody anything. INSTEAD: Concrete names that match dev/design vocabulary: "Payment Method Selection", "Shipping Address", "Order Review."

Unlabeled diagram edges — Bare --> connections create ambiguity. INSTEAD: Every edge has a label: -->|"Clicks Submit"|. Labels use present tense.

Wrong diagram shapes — Using rectangles for decisions or diamonds for screens. INSTEAD: 5 shapes used consistently — rectangle=screen, diamond=decision, stadium=start/end, hexagon=process, parallelogram=I/O.

Dead-end errors — "Something went wrong" with no recovery path. INSTEAD: Every error state leads to a recovery action (retry, go back, contact support, try alternative).

Overloaded screens — A screen with 5+ primary actions creates decision paralysis. INSTEAD: Split into focused screens or move secondary actions to navigation. ≤3 primary actions per screen.

Vague decision conditions — "If appropriate" or "when ready" are not implementable. INSTEAD: Exact rules a developer can code: "cart.subtotal >= 10.00", "user.role === 'admin'".

Skipping validation — Assuming the structure is correct without tracing paths. INSTEAD: Validation-agent traces every path from every entry to an exit, checking for orphans and dead ends.


Agent Files

Sub-Agent Instructions (agents/)

Shared References (references/)

Scripts

平台分布

Codex

34.76%
按下载量换算25

Claude

30.43%
按下载量换算22

Cursor

18.69%
按下载量换算13

Gemini CLI

8.43%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/hungv47/design-skills --skill user-flow 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

继续浏览同类 Skills