@workspace can you generate a mermaid flow diagram of my application (data flow from up to bottom, use colors, keep formatting simple)
You need a folder containing your application code (python, typescript, …) and/or infrastructure code
Copy/Paste the generated code into a markdown (.md) file, preview your markdown file (e.g. using mermaid extension in VS Code)
Install Prompt
Add this prompt to your Amazon Q CLI prompt library:
1. Download to local prompt library:
mkdir -p .amazonq/cli-prompts && curl -o .amazonq/cli-prompts/generate-mermaid-application-flow-diagram-from-code.md https://promptz.dev/prompts/architecture/generate-mermaid-application-flow-diagram-from-code/2. Use with Q CLI:
q prompts use generate-mermaid-application-flow-diagram-from-code