Canonical: https://botbento.com/usecases/generating-editable-system-architecture-diagrams-from-reposi/
Format: Markdown representation of the public HTML page.

[Home](/) / [Use cases](/usecases/) / [Coding](/usecases/?category=coding)

Coding · Intermediate

# Generating editable system architecture diagrams from repository source code

Parse infrastructure configurations and codebases into structured visual models and diff diagrams on PRs.

[Use with BotBento ](https://app.botbento.com/?ref=usecases&utm_source=botbento.com&utm_medium=usecases&utm_campaign=generating-editable-system-architecture-diagrams-from-reposi)Copy promptShare[Markdown](/text/usecases/generating-editable-system-architecture-diagrams-from-reposi/index.md)

Opens BotBento. Paste the prompt into a bot; nothing is preconfigured.

- When you askRequest architecture diagram update
- ThenScan schema and configuration files
- ResultExport updated editable diagram file

Inspect your codebase, infrastructure files, and API specifications to generate editable diagram files. The bot reads repository structures, maps component relationships, and creates structured visual architecture diagrams, updating them automatically as code evolves while preserving manual adjustments.

## Prompt to start with

BotBentoRecommended

```
Inspect the project files using terminal commands to detect infrastructure definitions, API schemas, or code modules. Convert the extracted relationship graph into an editable diagram file. Check visual layouts for overlapping elements or severed paths. When asked to commit updated diagram assets or publish diagrams back to the repository, ask for user approval before pushing changes.
```

Copy

## Tools it uses

GitHubTerminalDocs

## Works with

BotBento

## Tags

- architecture
- diagrams
- devops
- documentation

## Source

[drawio-skill: Agent skill that turns natural language, code, Terraform/K8s, SQL, OpenAPI, AsyncAPI, Protobuf and GraphQL sources into editab](https://github.com/Agents365-ai/drawio-skill)
GitHub · checked 2026-10-15

Summarized in our own words. Any results described there are the authors’ own, not measured by BotBento.

By BotBento Editorial · Added 2026-10-15 · Updated 2026-10-15 · [Suggest a correction](/contact/)

## Related use cases

-

Codingintermediate

## [System Architecture Diagram Generator](/usecases/system-architecture-diagram-generator/)

Turn complex infrastructure specs into structured, readable layout diagrams automatically

TerminalGitHubDocs
-

Codingintermediate

## [Documenting autonomous coding decisions in version control](/usecases/documenting-autonomous-coding-decisions-in-version-control/)

Track and summarize unprompted technical decisions from AI development sessions into documentation

TerminalGitHubDocs
-

Codingintermediate

## [Keeping repository file maps and architecture docs in sync](/usecases/keeping-repository-file-maps-and-architecture-docs/)

Audit repository file hierarchies against documentation and detect missing or stale descriptions

GitHubTerminalDocs
