ba-ui-function-gen

Generate Mermaid user flows and HTML prototypes from brand guidelines and data models.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/clovernguyen1010-ship-it/Clover_Nguyen --skill ba-ui-function-gen-clovernguyen1010-ship-it
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ba-ui-function-gen
Source: https://github.com/clovernguyen1010-ship-it/Clover_Nguyen/tree/main/.agent/skills/ba-ui-function-gen
Command: npx skills add https://github.com/clovernguyen1010-ship-it/Clover_Nguyen --skill ba-ui-function-gen-clovernguyen1010-ship-it

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Turn brand guidelines and data models into actionable UI prototypes and user flows for a single function, speeding up stakeholder validation without heavy frontend work.

Core Features & Use Cases

  • Generate a Mermaid-based user flow that maps interactions and state transitions.
  • Produce a standalone HTML prototype that reflects the function’s UI controls and data model.
  • Organize outputs under docs-BA/Prototypes/[function-name]/ with a clear menu path for easy discovery.

Quick Start

Provide the function name, data model, and brand guidelines to generate the UI prototype and user flow.

Frequently Asked Questions about ba-ui-function-gen

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

FAQPage Schema
How do I generate a UI prototype from brand guidelines and a data model?

To generate a UI prototype from brand guidelines and a data model, provide a function description alongside those inputs. The Skill outputs a standalone HTML prototype and a Mermaid user flow file stored under docs-BA/Prototypes/[function-name]/ for stakeholder walkthroughs.

Can I create a Mermaid user flow diagram for product discovery without building a frontend?

Yes, you can create a Mermaid user flow diagram for product discovery without frontend development. Supplying a function description, data model, and brand guidelines generates a Mermaid file mapping interactions and state transitions for design validation.

What inputs are required to produce an HTML prototype for a single function?

Producing an HTML prototype for a single function requires three inputs: brand guidelines, a data model, and a function description. These define the UI components, interactions, and validation rules reflected in the final output.

Does this approach work for stakeholder walkthroughs during design validation?

This approach works for stakeholder walkthroughs during design validation by producing isolated HTML prototypes. It translates data models and brand guidelines into standalone UI controls, speeding up validation without heavy frontend work.

How are generated UI prototypes and user flows organized?

Generated UI prototypes and user flows are organized under docs-BA/Prototypes/[function-name]/. This directory structure ensures outputs for each function are isolated and provide a clear menu path for easy discovery.

When do I need a standalone HTML prototype for product discovery?

You need a standalone HTML prototype for product discovery when validating UI controls and interactions against a specific data model. It allows you to speed up stakeholder validation without committing to heavy frontend engineering.