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

user-flow用户流量

Agent Skill

user-flow 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

212

周安装

9

GitHub Stars

1

下载量

74
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于根据关键词或任务场景进行信息检索和筛选的场景。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 安装前需确认权限范围和维护状态,注意可能触发联网或文件操作。
  • user-flow 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

User Flow Design — Orchestrator

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

Core Question: "Can the user complete their goal without thinking — on every surface of every platform it ships on?"

Critical Gates — Read First

  • Do NOT dispatch Layer 1 before platforms and surfaces are enumerated. See references/platform-touchpoints.md for the catalog and interview gate. Wireframe size, entry points, and edge states all depend on it.
  • Do NOT accept "cross-platform" as a platform answer. Enumerate every platform: macOS, iOS, iPadOS, Android, Windows, web-desktop, web-mobile, watchOS, tvOS, visionOS, CarPlay, Android Auto, Linux.
  • Do NOT create diagrams before mapping structure. Diagram-agent needs structure + edge-case outputs first.
  • Do NOT skip edge cases. Error/empty/loading/permission/offline + per-surface platform edge states must be mapped for every screen and every selected surface.
  • Do NOT accept >7 happy path steps without challenge. Miller's threshold. Every step must justify its existence.
  • One flow = one file. Run once per flow. Each run writes .agents/product/flow/<flow-name>.md. No pooling.
  • Stale product context (>30 days) produces misaligned flows. Recommend re-running icp-research.

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)
  • Target platforms — explicit list from the platform catalog in references/platform-touchpoints.md
  • Per-platform surfaces in scope — explicit list of surfaces per platform

Output

  • .agents/product/flow/<flow-name>.md — one file per flow run
  • .agents/product/flow/index.md — catalog index, auto-created / auto-updated when ≥2 flow files exist in the directory

Flow name is derived from the user's brief (e.g., "checkout flow" → checkout.md); if ambiguous, the orchestrator confirms the slug with the user before writing.

Quality Gate

The critic agent runs the full rubric (see agents/critic-agent.md). The non-negotiable checks the orchestrator must confirm before accepting a PASS:

  • Platforms + per-platform surfaces explicitly enumerated (no "cross-platform")
  • Every platform × surface has entry + mini-frame + per-surface edge state (Surface Coverage Map complete)
  • Mini-frame dimensions match references/platform-touchpoints.md
  • Every decision point has ≥2 labeled exits; no dead-end errors
  • Happy path ≤7 steps; ≤3 primary actions per screen
  • Every core screen has an ASCII wireframe + 2-4 sentence Description; wireframe CTAs match structure actions (no drift)
  • 2-3 critical edge-state variants included

Chain Position

Previous: brand-system (optional — design tokens). Next: handoff to implementation. Related: system-architecture (consumes flows for API design), task-breakdown (consumes flows for decomposition), discover (specs → flows).

Re-run triggers: features change significantly, new research patterns, usability-testing failures, or new user roles.

Deference: discover if requirements unclear · brand-system for design tokens · task-breakdown after for task decomposition.


Agent Manifest

AgentLayerFileFocus
Structure1 parallelagents/structure-agent.mdEntries, screens, decisions, exits, flow type, surface entry map
Edge Case1 parallelagents/edge-case-agent.mdError/empty/loading/permission/offline + per-surface edge states
Diagram2a parallelagents/diagram-agent.mdMermaid flowchart, 5 node shapes, annotations
Wireframe2a parallelagents/wireframe-agent.mdASCII wireframe per core screen + edge variants + per-surface mini-frames
Validation2b seqagents/validation-agent.mdMiller's threshold, ≤3 actions/screen, integrity, surface coverage
Critic2b finalagents/critic-agent.mdFull rubric PASS/FAIL + surface coverage matrix

Shared References (read by agents)

  • references/research-checklist.md — pre-design research methods, IA, content strategy
  • references/platform-touchpoints.md — surface catalog (13 platforms + cross-platform channels): entry triggers, flow roles, native dimensions, per-surface edge states

Routing Logic

Only one route — all flows use the full agent stack. Flows >15 screens are split automatically via structure-agent's sub-flow decomposition.

Pipeline: Step 0 (interview + gated enumeration) → Layer 1 parallel (structure + edge-case) → Merge → Layer 2a parallel (diagram + wireframe) → Layer 2b sequential (validation → critic). Critic FAIL re-dispatches named agents (max 2 cycles). Deliver to .agents/product/flow/<flow-name>.md; update index.md if ≥2 flows exist.


Step 0: Pre-Dispatch Context Gathering

Product Context Check

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

If research/product-context.md has a date field older than 30 days, recommend re-running icp-research to refresh it before proceeding. Tip: /navigate status (from meta-skills) gives a single-pass freshness report across all upstream artifacts.

Required Artifacts

None — this skill can run standalone.

Optional Artifacts

  • product-context.md (icp-research) — product/user context for better flow decisions
  • brand/DESIGN.md (brand-system) — component inventory, design tokens
  • brand/BRAND.md (brand-system) — voice, terminology for screen Descriptions

Flow Interview

Interview for these dimensions before proceeding. Full platform/surface enumeration details live in references/platform-touchpoints.md § "Using this catalog at the interview."

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. Confirm the flow name (auto-derived slug from brief, e.g. "checkout flow" → checkout). 6. Where does the flow start? (specific trigger — answer multiple if multi-surface) 7. What does success look like? (specific end state) 8. Are there existing flows to reference, replace, or extend?

Platforms & surfaces — mandatory gate (see references/platform-touchpoints.md) 9. Target platforms — one or more from: macOS, iOS, iPadOS, Android, Windows, web-desktop, web-mobile, watchOS, tvOS, visionOS, CarPlay, Android Auto, Linux. Reject "cross-platform." 10. Per-platform surfaces in scope — for every platform, pick surfaces from the catalog. Catalog is authoritative; don't list from memory. 11. Cross-platform channels in scope — from the catalog's Cross-platform section. 12. Primary surface per platform — the *one* default entry on each platform (drives default wireframe size).

Constraints 13. Authentication? (logged in, guest, role-based) 14. Technical or business rules that force specific paths? 15. Minimum OS versions? (drives available surfaces — e.g., Live Activities iOS 16.1+, Control Center custom controls iOS 18+)

Gate: Do not proceed to Layer 1 until Q9–Q12 are answered explicitly. "All surfaces" and "cross-platform" fail the enumeration test.

Context to Pass to All Agents

Product · user · goal · flow slug · platform list · surface matrix · cross-platform channels · primary surface per platform · minimum OS versions · constraints (auth, 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 context (product, user, goal, platform, constraints) after the instructions.
  3. Resolve file paths to absolute (rooted at this skill's directory).
  4. Pass upstream artifacts by content: orchestrator reads .agents/ files first and includes excerpts; sub-agents do NOT read artifact files directly.
  5. On critic FAIL, append feedback under ## Critic Feedback — Address Every Point.

Conventions

  • Source citation: Cite sources for UX heuristics / research / patterns; include URLs from web searches; flag unattributable claims [UNVERIFIED].
  • Context loaded: Artifact body includes which upstream artifacts were read + versions/dates (audit trail for downstream skills).

Single-agent fallback

If multi-agent dispatch is unavailable, execute each agent's instructions sequentially in-context: Layer 1 (structure → edge cases) → Layer 2 (diagram + wireframes → validation) → critic.


Layer 1: Parallel Foundation

Spawn IN PARALLEL:

AgentInstruction FilePass These InputsReference Files
Structure Agentagents/structure-agent.mdbrief (product + user + goal + platforms + surface matrix + constraints)references/research-checklist.md, references/platform-touchpoints.md
Edge Case Agentagents/edge-case-agent.mdbrief (product + user + goal + platforms + surface matrix + constraints)references/research-checklist.md, references/platform-touchpoints.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:

  • Structure agent contributes: flow classification, entry points, platform-surface entry matrix, core screens (name/purpose/actions/responses), decision points, exits, screen-to-screen transitions.
  • Edge-case agent contributes: error/empty/loading/permission/offline states per screen, back/cancel paths, per-surface platform edge states (app not running, widget stale, refresh throttled, notification grouping, deep-link fallback, etc.).

Cross-reference checks before Layer 2: (1) every screen has edge coverage; (2) every declared platform × surface has an entry-matrix row; (3) every platform × surface has a per-surface edge-state row. If any check fails, flag before dispatching Layer 2.


Layer 2a: Parallel Rendering

Spawn IN PARALLEL (both consume the same merged Layer 1 output):

AgentInstruction FilePass These InputsReference Files
Diagram Agentagents/diagram-agent.mdbrief + merged structure + edge casesnone
Wireframe Agentagents/wireframe-agent.mdbrief + platforms + surface matrix + merged structure + edge casesreferences/platform-touchpoints.md (for per-surface native dimensions)

Wait for both to complete before Layer 2b.

Layer 2b: Sequential Chain

Dispatch ONE AT A TIME, IN ORDER:

StepAgentInstruction FileReceives
1Validation Agentagents/validation-agent.mdStructure + edge cases + diagram + wireframes
2Critic 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

Output path: .agents/product/flow/<flow-name>.md (one file per flow).

On re-run of the same flow: rename the existing <flow-name>.md to <flow-name>.v[N].md and create a new file at <flow-name>.md with incremented version.

Multi-flow products: run this skill once per flow — each run creates its own file. After any run that results in ≥2 distinct flow slugs (not counting .v[N] versioned files of the same flow) in .agents/product/flow/, the orchestrator auto-creates or updates .agents/product/flow/index.md (see template below). Versioned files like checkout.v1.md sit next to their live checkout.md and are excluded from the slug count and from the index.

Per-flow file

---
skill: user-flow
version: 1
date: {{today}}
status: draft
flow_name: [slug, matches filename]
platforms: [macOS, iOS, web-desktop, ...]
---

# User Flow: [Flow Name]

## Context
- **Product:** [product/feature]
- **User:** [role/persona]
- **Goal:** [single user goal]
- **Platforms:** [explicit list — e.g., macOS 13+, iOS 17+, web-desktop]
- **Flow type:** [linear/branching/cyclical/hub-and-spoke]

## Target Platforms & Surfaces

Matrix of every surface the flow occupies. Surfaces not listed are explicitly out of scope. Primary surface per platform marked ★.

| Platform | Primary surface ★ | Other surfaces in scope | Out-of-scope surfaces (explicit) |
|----------|-------------------|-------------------------|----------------------------------|
| [platform] | ★ [surface] | [surface · surface · ...] | [surface · surface · ...] |

### Cross-platform channels in scope
- [ ] Email / SMS / Push / Calendar / Clipboard / In-app / Third-party chat *(check all that apply; pull from catalog)*

## Flow Diagram

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

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

## Per-Surface Entry Points

One row per platform × surface from the matrix above.

| Platform | Surface | Entry trigger | Pre-loaded state | Auth required | First screen in flow | Handback when flow ends |
|----------|---------|--------------|-------------------|----------------|----------------------|--------------------------|
| [platform] | [surface] | [concrete trigger from catalog] | [data loaded before UI shows] | [yes/no/optional] | [screen name] | [where focus/state goes] |

## Screen Inventory

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

## Screen Wireframes

*Low-fidelity ASCII layouts — one per core screen. Shows regions and hierarchy, not brand design. Pair with `brand-system` for visual tokens.*

### Screen 1: [Name]

**Primary actions (≤3):** [action 1] · [action 2] · [action 3]
**Description:** [2-4 sentences — content/data, visual priority, mood. Designer-ready.]

​```
┌──────────────────────────────────────┐
│ [ wireframe ]                        │
└──────────────────────────────────────┘
​```

[Repeat for every screen in the inventory]

## Per-Surface Mini-Frames

*One ASCII mini-frame per selected surface, rendered at the surface's native dimensions. See `references/platform-touchpoints.md` for dimensions per surface.*

### [Platform] — [Surface name] ([native dimensions])

**Why this surface carries this flow:** [one line]

​```
┌──────────────────────────────┐
│  [ mini-frame ]              │
└──────────────────────────────┘
​```

[Repeat for every selected surface from the matrix. For multi-state surfaces (Dynamic Island compact/expanded, widget small/medium/large), include a mini-frame per state.]

## Critical Edge-State Variants

*2-3 high-stakes edge states across the whole flow — not one per screen.*

**Variant: [Screen — State]**

**Why this variant matters:** [one line]

​```
┌──────────────────────────────────────┐
│ [ variant wireframe ]                │
└──────────────────────────────────────┘
​```

## Coverage Map

| # | Screen | Wireframed | Edge variant(s) |
|---|--------|------------|-----------------|
| 1 | [name] | ✓ | — or [state] |

## Surface Coverage Map

| Platform | Surface | Entry defined ✓ | Mini-frame ✓ | Edge states ✓ |
|----------|---------|-----------------|--------------|----------------|
| [platform] | [surface] | ✓ | ✓ | ✓ |

## Edge Cases Handled

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

## Per-Surface Edge States

Surface-specific failure modes that generic error/empty/loading don't capture. Pull candidates from the "Edge states to check" column of `references/platform-touchpoints.md` for each declared surface.

| Platform | Surface | Edge state | Handling |
|----------|---------|------------|----------|
| [platform] | [surface] | [surface-specific failure mode] | [recovery path] |

## Validation Summary

- Happy path length: [N steps]
- Decision points: [N total]
- Error recovery paths: [N total]
- Dead ends: 0
- Platforms × surfaces covered: [N]
- Surfaces with mini-frames: [N / total]
- Surfaces with per-surface edge states: [N / total]

## Sub-flows

- [Sub-flow name] → see `.agents/product/flow/[slug]-[sub].md`

## Next Step

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

index.md (auto-generated when ≥2 flow files exist)

---
skill: user-flow
type: index
date: {{today}}
---

# Product Flow Index

Generated from the files in this directory. Update whenever a flow file is added, renamed, or versioned.

## Flows

| File | Flow | Platforms | Last updated | Version | Status |
|------|------|-----------|--------------|---------|--------|
| [flow-slug.md](./flow-slug.md) | [Flow name] | [platforms] | [date] | [n] | [draft/done] |

## Platform coverage at a glance

| Platform | Flows touching this platform |
|----------|-------------------------------|
| [platform] | [slug · slug · ...] |

Worked Example — Food-Delivery Checkout (Multi-Platform)

User: "Map the checkout flow for our food-delivery app. We ship on iOS, Android, and web."

Step 0 — Interview produces: slug checkout; platforms iOS 17+ / iPadOS 17+ / Android 13+ / web-desktop / web-mobile; surfaces picked per platform from the catalog (primary marked ★), ~13 surfaces total across Home icon, Lock-screen widget, Dynamic Island / Live Activity, Apple Pay, Quick Settings tile, notification + inline reply, Google Pay, URL routing, Web Push, OAuth redirect, PWA install, Add-to-Home-Screen; cross-platform channels email + push + SMS; branching flow type; Apple Pay / Google Pay / card; minimum order $10; Live Activity required.

Layer 1 — Structure agent returns 6 core screens (Cart Review → Shipping Address → Shipping Method → Payment Selection → Order Review → Order Confirmation), 3 decision points, 3 exits, and a 13-row Per-Surface Entry Matrix. Edge-case agent returns standard 5-category coverage per screen plus per-surface edge states pulled from the catalog (Live Activity 8h ceiling, Quick Settings tile desync, Web Push denied, PWA state loss on iOS, universal link fallback).

Merge — all 6 screens covered, all 13 platform × surface rows have entry + edge rows. Proceed.

Layer 2a — Diagram agent returns Mermaid graph TD. Wireframe agent returns 6 core-screen wireframes (mobile 34ch, desktop 68ch), 2 critical edge variants, and 13 per-surface mini-frames at native dimensions from the catalog.

Layer 2b — Validation: happy path 5 steps (PASS), ≤3 actions/screen (PASS), surface coverage 13/13 (PASS). Critic: PASS 4.8.

Deliver.agents/product/flow/checkout.md. No index.md yet (only one flow). Second flow triggers index creation.


Anti-Patterns

Happy path only — Flows break at the first error. INSTEAD: Edge-case-agent maps error/empty/loading/permission/offline for every screen.

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

Unlabeled edges / wrong shapes — Bare --> connections and mixed-up shapes break diagrams. INSTEAD: Every edge has a present-tense label (-->|"Clicks Submit"|); 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, back, contact support, alternative).

Overloaded screens — 5+ primary actions creates decision paralysis. INSTEAD: ≤3 primary actions per screen; split or move to navigation.

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

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

Flow tables without wireframes / wireframing every edge — A screen inventory is not a screen; wireframing every edge state creates 30 frames of noise. INSTEAD: One wireframe per core screen + 2-3 critical edge variants picked on impact.

"Cross-platform" as a platform answer — Collapses platform-specific surface decisions into nothing. macOS, iOS, and Android surfaces are different — a flow on "cross-platform" has no defined surface set. INSTEAD: Enumerate every platform. "Cross-platform" is a refusal to enumerate.

Pooling many flows into one file — One FLOW.md for checkout + onboarding + password reset drifts quickly. INSTEAD: One flow per file at .agents/product/flow/<flow-name>.md. Use index.md for the catalog view.

Skipping per-surface coverage — Picking surfaces at Step 0 but only wireframing main screens, or treating "widget refresh budget exhausted" / "Live Activity 8h ceiling hit" / "universal link fell back to web" as generic "network errors." Each declared surface has specific layout constraints and specific failure modes. INSTEAD: One mini-frame per selected surface at its native dimensions, plus a per-surface edge-state table — both pulled from references/platform-touchpoints.md.

Drift between wireframe and structure inventory — Wireframe shows 5 CTAs when the structure-agent listed 2 actions. INSTEAD: Wireframe CTAs must match the structure actions column exactly.

Wireframes without descriptions — An ASCII frame + CTA label gives layout but not intent. INSTEAD: Each screen has a 2-4 sentence Description covering content/data, visual priority, and mood. "Shows information" is not a description — name the actual content, hierarchy, and mood.


Files

Agents: see Agent Manifest above for the canonical list. Full instructions in agents/. References: references/research-checklist.md (pre-design research), references/platform-touchpoints.md (surface catalog). Scripts: scripts/generate_flow.py — generate Mermaid diagrams programmatically for complex / multi-variant flows.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.84%
按下载量换算26

Claude

28.87%
按下载量换算21

Cursor

18.2%
按下载量换算13

Gemini CLI

9.83%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

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

安装前确认

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

来源信息

继续浏览同类 Skills