architecture-diagrams
Installation
SKILL.md
Architecture Diagrams Skill
Goal
Turn infrastructure source files or a declared DS_CATALOG_V1 data model into a readable architecture diagram for reviews, ADRs, and design discussions. Preserve the caller's selected output format and the source's authority boundaries.
Infrastructure inputs include Terraform, Bicep, ARM templates, shell scripts, Kubernetes manifests, and Docker or Compose files. Catalog input uses declared entities and relationships from data-catalog, the durable data-catalog skill. It does not infer a data model from SQL or ORM files.
This skill documents infrastructure topology and data models. To document a software system, meaning its containers, its components, and the people and systems around it, use the c4-architecture skill instead.
Success criteria
- The diagram includes only the confirmed source scope.
- Infrastructure sources retain their existing parsing and relationship behavior.
- Catalog diagrams preserve declared entity IDs, endpoints, cardinality, endpoint minimums, join keys, confidence, and evidence basis without inventing relationships.
- Caller preference controls ASCII or Mermaid output.
- Inferred and assumed catalog relationships remain visibly distinct from confirmed relationships.