generate_workflow
Generates WORKFLOW.html from any project directory: visual system workflow with components, communication paths, concurrency model, capacity, and bottleneck analysis.
Instructions
Scan a project directory and generate WORKFLOW.html — a visual system workflow showing all components, their communication paths, concurrency model, concurrent request capacity, and bottleneck analysis. Works with Python (FastAPI, Flask, Django), Node.js (Express, Nest.js), Go, and mixed projects. Detects: API frameworks, gateways, LLM providers, vector stores, databases, queues, rate limits, async primitives, and worker counts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_file | No | Output path for WORKFLOW.html. Defaults to <project_dir>/WORKFLOW.html. | |
| project_dir | No | Absolute path to the project root. Defaults to current working directory. | |
| open_browser | No | Open the generated file in the default browser. |