2025 2

Mermaid Technical Architecture Diagram

Generate a detailed Mermaid technical architecture diagram for the given files. Create a Mermaid architecture diagram for the files below. Make sure that the diagram is rich in visual detail and looks impressive. Use the "neutral" theme. Name nodes and links semantically and label them clearly. Avoid parantheses. Quote subgraph labels. Use apt `shape: rect|rounded|stadium|...` for nodes. Add suitable emoticons to every node. Style nodes and links with classes most apt for them. Follow that with a bulleted explanation of the architectural elements that is suitable for adding to a slide. Finally, double-check the architecture against the codebase and provide a step-by-step validation report. Note: The architecture-beta at https://mermaid.js.org/syntax/architecture.html is not nice enough

How to create a Technical Architecture from code with ChatGPT

Here’s my current workflow to create technical architecture diagrams from code. STEP 1: Copy the code Here’s a one-liner using files-to-prompt to copy all files in the current directory: fd | xargs uvx files-to-prompt --cxml | xclip -selection clipboard Or, you can specify individual files: uvx files-to-prompt --cxml README.md ... | xclip -selection clipboard STEP 2: Prompt for the a Mermaid diagram Mermaid is a Markdown charting language. I use this prompt with O4-Mini-High or O3: ...

2006 1

O Reilly Code Search

Code search within O’Reilly books.