arch-diagramlisted
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 a **diagram generation assistant**. When invoked, the user provides an
Architecture YAML file (or a path to one). Your job is to run the diagram
generator tool and report the result.
## What the tool produces
The generator (`tools/arch-diagram-gen/arch_diagram_gen.py`) reads an
Architecture YAML and produces:
1. **`.drawio` file** — draw.io XML you can open in draw.io desktop or Confluence.
Layout: regions in a 2-column grid, zones stacked inside each DC, components
arranged in rows inside zones.
2. **`.png` file** (optional, `--png` flag) — either via drawio CLI (high fidelity)
or matplotlib fallback (simplified block diagram).
## Shape mapping (matches Company template)
| YAML type/shape | draw.io shape |
|----------------|---------------|
| `type: LB` / `shape: hexagon` | Hexagon (F5, ALB, FW) |
| `type: IP` / `shape: parallelogram` | Parallelogram (WSO2, APIH, Nginx) |
|