/SKILL.md
Design and document app user flows, screens, and use cases using Mermaid diagrams and HTML wireframes. Use when creating user flow diagrams (flowcharts, state diagrams, sequence diagrams), screen wireframes (HTML), use case documentation, screen maps, or when the user mentions 'flows', 'wireframes', 'user journey', 'screen map', 'navigation flow', 'use cases', 'app flow', 'screen layout', 'flujos', 'pantallas', 'casos de uso'. Bridges Product (PRD) and Visual Design phases. Outputs serve as input for ui-ux-pro-max. Optional Figma export when user explicitly requests it.
npx skillsauth add thomaspraun/ux-flow-designer ux-flow-designerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Bridge between Product (PRD/features) and Visual Design. Generate user flow documentation, Mermaid diagrams, and HTML wireframes.
docs/product/prd.md) or user-provided feature descriptionsdocs/ux-flows/ui-ux-pro-max for visual designOn every invocation, verify:
CHECK ~/.claude/skills/ui-ux-pro-max/ exists
IF missing → READ references/install-commands.md, offer install
CHECK docs/product/prd.md exists
IF missing → CHECK ~/.claude/skills/product-manager-toolkit/
IF missing → READ references/install-commands.md, offer install
OR accept direct user input as feature descriptions
IF user mentions "figma" or "export to figma" →
INFORM user of all requirements (see "Figma Export" section below)
WAIT for user confirmation before reading references/figma-integration.md or checking MCPs
Designing app flows involves these steps. ALL four phases are mandatory and must be executed in order.
Read docs/product/prd.md if it exists. If no PRD, ask user for feature list or use case descriptions.
For each use case, document:
| Field | Description |
|-------|-------------|
| ID | UC-001, UC-002, etc. |
| Name | Short descriptive name |
| Actors | Who participates (User, System, Admin, etc.) |
| Preconditions | What must be true before the flow starts |
| Main Flow | Numbered step-by-step sequence |
| Alternative Flows | Branches, error paths, edge cases |
| Postconditions | What is true after the flow completes |
Save to docs/ux-flows/use-cases.md.
Present the use case list to user for approval before proceeding. Do not advance to Phase 2 without explicit confirmation.
Read references/mermaid-patterns.md for syntax patterns and best practices.
Step 1: Master Screen Map
Generate docs/ux-flows/diagrams/screen-map.md — a flowchart showing ALL screens and general navigation paths of the entire app.
Step 2: Per Use Case Diagrams
For each approved use case, generate 3 diagrams:
graph TD) — screen-to-screen navigation with decision nodesstateDiagram-v2) — app states (loading, error, success, idle, etc.)sequenceDiagram) — frontend-backend interaction with HTTP methodsSave to docs/ux-flows/diagrams/{use-case-id}/:
flow.md — flowchartstates.md — state diagramsequence.md — sequence diagramConstraints:
click or reference)classDef for consistent styling across diagramsGenerate index at docs/ux-flows/diagrams/INDEX.md listing all diagrams with links.
MANDATORY: This phase MUST NOT be skipped, summarized, or deferred. Every invocation of this skill that reaches Phase 2 MUST continue to Phase 3. Do not ask the user whether to proceed — just do it.
Step 1: Generate HTML files
For each unique screen identified in the flowcharts, generate an HTML file using assets/wireframe-template.html as the base template.
Requirements:
#f5f5f5 bg), dashed borders (#ccc), placeholder text (#666).wf-header, .wf-input, .wf-button, .wf-card, .wf-nav, .wf-list-item, .wf-tab-bar, .wf-icon-placeholder, .wf-link, .wf-backStep 2: Add inter-screen navigation
Every wireframe must link to other screens using <a href="target.html" class="wf-link">. This creates a clickable prototype navigable in any browser — no JavaScript needed.
Navigation rules:
<a href="target.html" class="wf-link"><div class="wf-button">Label</div></a><a class="wf-link"> pointing to its screen. Tab bar must be consistent across all screens that share it.<a href="previous.html" class="wf-link wf-back">← Back</a> in the .wf-nav bar<a href="detail.html" class="wf-link"><div class="wf-list-item">...</div></a><a href="target.html" class="wf-link"><div class="wf-card">...</div></a><a> navigation only — no onclick, no form submissions, no JSStep 3: Save and generate index
Save all wireframes to docs/ux-flows/wireframes/.
Generate inventory at docs/ux-flows/wireframes/INDEX.md:
| Column | Description | |--------|-------------| | Screen name | Human-readable name | | File link | Relative link to .html file | | Related use cases | UC-IDs | | Key elements | Main components on the screen | | Outgoing links | List of screens this screen links to |
Step 4: Offer browser preview
After generating all wireframes, propose opening the main entry screen in the browser:
navigate_page to open the fileopen docs/ux-flows/wireframes/{entry-screen}.html via BashDo not wait for the user to ask — proactively offer the preview.
Generate master document docs/ux-flows/UX-FLOWS.md:
# UX Flows — [App Name]
## Master Screen Map
Link to screen-map.md
## Screen Inventory
| Screen | Purpose | Wireframe | Use Cases |
|--------|---------|-----------|-----------|
| ... | ... | link | UC-001 |
## Use Case Diagrams
### UC-001: [Name]
- Flow: link
- States: link
- Sequence: link
## Clickable Prototype Links
| From Screen | Element | To Screen |
|-------------|---------|-----------|
| login.html | [Login] button | home.html |
| ... | ... | ... |
## Navigation Patterns
Summary of recurring navigation patterns (tab bar, back navigation,
modal flows, drawer menus, etc.)
## Open Questions
Design decisions and open questions for ui-ux-pro-max phase.
After completing the handoff document, inform the user:
docs/ux-flows/
├── UX-FLOWS.md # Master handoff document
├── use-cases.md # All use cases
├── diagrams/
│ ├── INDEX.md # Diagram index
│ ├── screen-map.md # Master app navigation
│ ├── uc-001-{name}/
│ │ ├── flow.md # Flowchart
│ │ ├── states.md # State diagram
│ │ └── sequence.md # Sequence diagram
│ └── ...
└── wireframes/
├── INDEX.md # Screen inventory
├── home.html
├── login.html
└── ...
This skill can export wireframes to Figma. Do not check for Figma MCP automatically.
When to mention: At the end of Phase 4 (handoff), inform the user that Figma export is available as an optional next step.
When the user requests Figma export, follow this protocol:
claude mcp add --transport sse figma-dev-mode-mcp-server http://127.0.0.1:3845/ssereferences/figma-integration.mdreferences/figma-integration.md and follow the export workflowNever silently attempt Figma operations. Always present the requirements first.
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.
development
End-to-end Parallels smoke, upgrade, and rerun workflow for OpenClaw across macOS, Windows, and Linux guests. Use when Codex needs to run, rerun, debug, or interpret VM-based install, onboarding, gateway smoke tests, latest-release-to-main upgrade checks, fresh snapshot retests, or optional Discord roundtrip verification under Parallels.