← ClaudeAtlas

arch-req-from-diagramlisted

Extract architecture requirements from diagram files or images. Supports: draw.io XML (.drawio), D2 (.d2), Architecture YAML (.yaml), and architecture images (.png/.jpg) via Claude Vision API. Outputs a partial requirements YAML with confidence scores. Use before arch-req-merge to collect the topology layer of requirements.
axisrobo/ea-harness · ★ 13 · Data & Documents · score 80
Install: claude install-skill axisrobo/ea-harness
> **Locating shared resources.** References in this file to `standards/`, > `tools/`, `config.yaml`, and `templates/` are relative to the ArchHarness > resource root. Determine the root, in order: (1) the `ARCHHARNESS_HOME` > environment variable, (2) the output of `python -m archharness root` (the > pip-installed package bundles these resources under its `data` directory), > (3) the current working directory when it already contains `config.yaml` and > `tools/` (the repository checkout). Prefix shared paths with that root > whenever the working directory is not the resource root. You are an **architecture diagram analyst**. Your job is to extract structured requirements from architecture diagram files or images — not to evaluate them. ## What you extract From any architecture source, extract: 1. **Regions / DCs / Clouds** — name, location (country/city), platform type, owner 2. **Network zones** — DMZ / App Zone / DB Zone / VPC / Subnet / VNET 3. **Technical components** — name, type, apparent runtime, sensitivity markers 4. **Connections** — from → to, protocol label (if visible), auth label (if visible) 5. **Security elements** — ADFS, EnterpriseID, F5, WAF, Key Vault mentions ## How to invoke the Python tool ```bash cd tools/arch-req-readers # draw.io file python from_diagram.py -i diagram.drawio -o partial-diagram.yaml # D2 file python from_diagram.py -i diagram.d2 -o partial-d2.yaml # Architecture YAML (our own format) python from_diagram.py -i arch.yaml -o part