Skip to content
Back to skills

Arch Maps

ASecurity

Draw a system's architecture maps from a script (LLD, one map per flow, HLD, README banner), render them to PNG and check every image. Use to diagram an architecture, a flow, a system or a repo banner, for a README, ARCHITECTURE.md, artifact, slide or doc.

  • 134 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 1, 2026
ai-agentspythongoapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add YudiG12/ganeko-skills --skill arch-maps --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Arch Maps?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Arch Maps
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/yudig12-arch-maps/badge)](https://www.skillsdirectory.com/skills/yudig12-arch-maps)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: arch-maps
description: Draw a system's architecture maps from a script (LLD, one map per flow, HLD, README banner), render them to PNG and check every image. Use to diagram an architecture, a flow, a system or a repo banner, for a README, ARCHITECTURE.md, artifact, slide or doc.
argument-hint: "[lld | flows | hld | banner]"
---

Every **architecture map** comes from a **script → render → look** loop: Python writes SVG/HTML, headless Chrome renders PNG at 2x, and you open each PNG before anyone sees it. The script is the source of truth; the PNG is what gets shown everywhere.

| Map | For | Script | Output |
|---|---|---|---|
| **LLD** | everything that exists and who talks to whom | `docs/architecture/draw.py` | `v1.svg` + `v1.png` |
| **Flow map** | one flow per image, arrows numbered in order | `docs/architecture/draw_flows.py` | `flows/N-name.png` |
| **HLD** | the first look for someone new (top of the README) | `docs/assets/build.py` | `hld-light.png` |
| **Banner** | the top of the README | `docs/assets/build.py` | `banner.png` |

## Steps

1. **Inventory.** Read the code and docs and list the system's pieces: who is outside (people, clients), what you deploy and its parts, the managed services, the outside APIs you only call, and the **flows** (each one a sequence of calls). Done when every piece and flow traces to a file or config you read.

2. **Copy the templates** the first time: `templates/architecture/*` → `docs/architecture/`, `templates/assets/build.py` → `docs/assets/`. Done when the files are in place and the example still renders.

3. **Write the maps.** LLD and flow maps: replace the example block in `draw.py` and the flows in `draw_flows.py`, by the rules in [`LLD.md`](LLD.md). HLD and banner: edit the CONFIG block in `build.py`, by [`README-IMAGES.md`](README-IMAGES.md). Reuse `box()`, `arrow()`, `legend()`, `devices()`, `glyph()`. Done when every piece and flow from step 1 is on a map.

4. **Render** with `docs/architecture/render.sh`. Done when it exits 0.

5. **Look.** Open every PNG. Each label and arrow needs clear space: a pill only on its own arrow, an arrow touching only its two ends, each arrowhead visible. Something crosses? Move the grid and go back to step 4. Done when every PNG is clean.

6. **Place** the PNGs:
   - **README**: banner → badges → one sentence → `hld-light.png` at 720 px.
   - **ARCHITECTURE.md**: `v1.png` at the top, then `## Flows` with each `flows/*.png` at 760 px.
   - **Artifact, slide, doc**: the same PNG files as images.

   Done when every place shows the current PNG. When the system changes (a new service, a new flow), change the script, run steps 4–6, and update every place in the same change.

Files in this skill

  • LLD.md2.4 KB
  • README-IMAGES.md1.1 KB
  • README.md902 B
  • SKILL.md2.7 KB
  • templates/architecture/brands.json4.3 KB
  • templates/architecture/draw.py13.7 KB
  • templates/architecture/draw_flows.py4.3 KB
  • templates/architecture/render.sh958 B
  • templates/assets/build.py12.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.