map-user-flows

Generate Mermaid user-flow diagrams from intent epics with recovery paths.

3|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/kapilvirenahuja/garura --skill map-user-flows
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: map-user-flows
Source: https://github.com/kapilvirenahuja/garura/tree/main/core/components/skills/map-user-flows
Command: npx skills add https://github.com/kapilvirenahuja/garura --skill map-user-flows

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It turns intent epics into deterministic, traceable Mermaid user-flow diagrams for both happy paths and failure recoveries, ensuring every flow is grounded in specific persona journeys and scenario IDs.

Core Features & Use Cases

  • Persona- and scenario-traceable flow generation: Builds directed graphs from screen navigation frontmatter and epic success/failure definitions, emitting one Markdown file per flow.
  • Recovery-path mapping for failures: Matches each failure condition to the correct recovery guidance and traces error → recovery actions → resolution screens.
  • Decision surfacing and auditability: Writes a decision-manifest.yaml that records inferred decisions (persona assignment and screen traces) with tiered grounding and alternatives.

Quick Start

Run map-user-flows with personas.md, screens/, epics/, and a writable flows output path to produce Mermaid diagrams and a decision-manifest.yaml alongside them.

Frequently Asked Questions about map-user-flows

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Mermaid user flow diagrams from UX epics?

Mermaid user flow diagrams are generated by mapping persona journeys through existing screen navigation and deriving success scenarios and recovery paths from intent epics. The process validates scenario coverage against the product base contract before emitting per-flow Markdown files.

How do I map recovery paths for failure scenarios in UX design?

Recovery paths for failure scenarios are mapped by matching each failure condition to the correct recovery guidance, tracing the error to recovery actions and resolution screens. This produces deterministic Mermaid diagrams grounded in specific persona journeys and scenario IDs.

What is a decision manifest in UX user flow generation?

A decision manifest in UX user flow generation is a YAML file that records inferred decisions, such as persona assignment and screen traces, with tiered grounding and alternatives. It is emitted before writing any flow artifacts to ensure auditability.

Can I trace persona journeys across existing screen navigation using Markdown?

Yes, persona journeys are traced across existing screen navigation by resolving all paths against the product base from the JSON contract. The Skill ensures every referenced screen ID exists and validates scenario coverage before outputting the flows.

What inputs do I need to produce traceable UX user flows?

To produce traceable UX user flows, you need personas.md, a screens directory, an epics directory, and a writable output path. These inputs allow the tool to map success and recovery scenarios and emit a decision-manifest.yaml alongside the diagrams.