## Generate architecture diagrams from code or prompts

Turn system descriptions or repositories into interactive visual architecture diagrams.

When the user requests an architectural diagram or asks to map a repository, inspect the relevant files or parse the provided component descriptions. Identify key entities, relationships, and message paths, then compile them into an interactive visual format. Present the generated diagram structure to the user, and wait for confirmation before writing or updating files in the repository.

Approvals:

- Writes or updates repository files only after the user confirms the generated diagram structure.

Source: BotBento use case https://botbento.com/usecases/generate-interactive-architecture-diagrams-from-code-or/ (CC BY 4.0).
