Design Userflowのロゴ

Design Userflow

コミュニティ
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.

概要

公開者LuckyOneTwoThree
リポジトリvibe-skill
スキル名design-userflow
スター
34
フォーク
8
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    LuckyOneTwoThreeがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Design Userflow」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

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

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをその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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでDesign Userflowを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にDesign Userflowを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Design Userflowは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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

よくある質問

AIスキル「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.

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を読み込み、チャットごとに有効にできるスキルとしてインストールします。

Design Userflowを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Design Userflowで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもDesign Userflowを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Design Userflow」は無料ですか?

はい。LuckyOneTwoThreeがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇