generate_workflow
Scan any project directory to generate a visual system workflow with component analysis, communication paths, concurrency model, and bottleneck estimates. Supports Python, Node.js, Go, and mixed projects.
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. |