Index of every page on this site: llms.txt
All skills
Run it yourself

Create polished Azure architecture diagrams (standalone HTML + SVG/PNG/draw.io) from a typed JSON spec using the official Azure Architecture Icons, with a monthly cost estimate from the Azure Retail Prices API and an advisory Azure Well-Architected Framework review. Use when the user asks to diagram, visualize, document, cost or review an Azure architecture, virtual network topology, serverless or container design, data pipeline, or an Azure OpenAI / Foundry / RAG / agent workload.

Use this Skill: https://skilld.dev/gh/akashtalole/archify-azure/archify-azure

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈125 tokens for metadata: the name and description. ≈2k when used: this file. ≈381k more on demand in 76 files.

Description uses 6.3% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈502 characters, or 6.3%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

archify-azure

Turns a description of an Azure workload into a checked, explorable diagram. Same philosophy as Archify: write typed JSON, let the tool lay out, route and validate, and report only what was actually verified.

Setup

Installed with npx skills add akashtalole/archify-azure; run every command below from the skill directory (node bin/archify-azure.mjs ...). The official Azure icons are downloaded automatically on the first render/finalize (network needed once). To fetch them yourself or check the install:

node bin/archify-azure.mjs fetch-icons
node bin/archify-azure.mjs doctor

No npm dependencies. PNG export additionally needs Chrome/Chromium (CHROME_PATH, or Playwright's browser).

Diagram types

Type Use for Start from
architecture (default) Topology: subscriptions, virtual networks, zones, services, data stores init three-tier / serverless-api / genai-rag
sequence API call chains, request lifecycles, agent tool calls, retries, async handoffs init sequence
dataflow Pipelines, ETL/ELT, ingestion → store → serve, lineage init dataflow

Unsure? node bin/archify-azure.mjs guide "<scenario>" --json. Existing assets: a Mermaid flowchart/sequence (import mermaid) or a Terraform (azurerm) / Bicep / ARM repo (import iac) — see references/importers.md; review the icon mappings it lists and the relationships it inferred before delivering.

Workflow

  1. Understand the workload. Identify entry point, main request path, data stores, async paths, identity, and observability. For AI workloads also: model deployment, content safety, retrieval/grounding data, logging, agent tools. If the user pastes an architecture description, a Bicep/ARM/Terraform repo, or a Mermaid flowchart, read it for topology and re-author as a spec (do not mechanically convert styling).
  2. Pick icons. node bin/archify-azure.mjs icons search "<term>" --json. Use service ids/aliases (functions, storage, app-gateway); never invent ids. Use exact official names in label (full name first, short form after).
  3. Read references/spec.md once, and the closest example in examples/ (three-tier zones/VNet, serverless-api, genai-rag, product-catalog-search). Start from node bin/archify-azure.mjs init <template>.
  4. Author the spec (see Authoring rules). Put it in .archify-azure/<slug>-<timestamp>/spec.json, with meta.output beside it.
  5. Finalize (the one command): node bin/archify-azure.mjs finalize <spec.json> --json. It validates, renders, runs strict artifact checks and a real-browser check, exports the PNG and writes <out>.receipt.json. A non-zero exit is never success: exit 1 = a gate failed — read stages[].detail.errors, fix every listed item (unknown icons come with suggestions); layout warnings mean reorder children, change layout, widen gap, or move a node next to its main neighbour. Rerun the whole command after each edit; max ~4 repair rounds, then report what remains. (render --strict is the quick loop while iterating.)
  6. Look at the PNG (open it) — the receipt says visualReview: "not-performed" because mechanics are checked, aesthetics are not. Fix collisions, tangled routes, unclear labels.
  7. Cost and review. finalize also writes a Cost tab (Azure Retail Prices API) and a Well-Architected review tab into the same HTML; read cost and review in the receipt. Do not paper over gaps by adding decorative icons: either the architecture really has the control (add it, with its connection) or say it's out of scope. See references/cost-estimation.md and references/well-architected.md.
  8. Report: absolute paths to .html (and .svg/.png), node/edge counts, warnings, monthly cost with its confidence and the key assumptions, the findings by risk, how many recommendations were actually evidenced, and explicitly: "cost is an indicative list-price estimate and the review is advisory — inferred from the drawing, not from deployed configuration".

Cost estimation rules (adapted from the AWS billing-and-cost-management skill)

  • Check today's date before quoting prices; the price book records its retrieval date.
  • Never do cost arithmetic by reasoning: run archify-azure cost (deterministic code) and quote its numbers. 730 hours/month.
  • Only public pay-as-you-go rates from the Azure Retail Prices API. Never invent a price; unpriced components stay "not-itemized" / "not-estimated".
  • Put real usage in each node's usage; defaulted assumptions make the estimate "indicative". Point to the Azure Pricing Calculator for a quote.

Well-Architected review rules (structure adapted from the AWS well-architected-review skill)

  • The corpus is the frozen Azure Well-Architected Framework snapshot (archify-azure wa corpus); use canonical recommendation ids only (RE:05, SE:07…), never fabricate one.
  • Five statuses: Implemented, Partially Implemented, Not Implemented, Not Applicable, Cannot Determine. Say "Cannot Determine" rather than guess.
  • Risk = impact × likelihood; do not manufacture Criticals, and acknowledge strengths. Scores are provisional when few recommendations are evidenced.
  • The report is CONFIDENTIAL: do not post it to broadly visible channels without approval.

Authoring rules (Azure Architecture Center + Well-Architected)

  • Structure first: azure-cloud › subscription › region › resource-group › vnet › subnet. Show ≥ 2 availability zones (or zone-redundant tiers) when the design claims high availability. PaaS and global services (Storage, Cosmos DB, Front Door, Entra ID, Key Vault, Service Bus, Monitor) sit outside the VNet or beside it, linked by private endpoints when used.
  • One main flow, left → right, in a single row so icons share a centre line; branches above/below via column or stack. 6–15 nodes is the readable range; split bigger systems into several diagrams.
  • Number only the primary request path (step); dashed edges for async, replication, control and telemetry.
  • Label every non-obvious edge with protocol/action. Don't label edges that a label would not clarify.
  • Use custom groups for service-scoped boundaries (e.g. a "Generative AI" group), stack only for alignment.
  • Never alter icons; never invent services or icons; do not draw controls the user didn't ask for just to please the review.
  • AI workloads: draw clients → authenticated API layer (API Management) → orchestrator → (content safety, retrieval, model) → logging. Name the safety node "… Content Safety" so the review recognises it; show the vector store / knowledge source (AI Search) and where diagnostic logs go. See references/well-architected.md.
  • Readers get Reach, Route, Finder, Passport, presentation and export for free; point users at them and at deep links (#focus=…&reach=downstream, #route=a~b) — see references/viewer-runtime.md. Reach/Route are authored reachability, not impact analysis: say so.
  • Diagram conventions are summarised in references/azure-diagram-guidelines.md.

Commands

finalize, render, export --format drawio, validate, cost, wa review|corpus, review, import mermaid|iac, icons search|info|categories|groups, guide, schema, init, fetch-icons, doctor — run node bin/archify-azure.mjs --help. Always pass --json when parsing results.

Don't

  • Don't claim visual quality you didn't inspect, or that the review certifies compliance.
  • Don't commit the downloaded icon package; don't install this skill into a live agent setup unless asked.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The archify-azure skill is a security-conscious tool for visualizing and reviewing Azure architectures. It avoids external npm dependencies, sanitizes data before rendering reports, and limits network activity to fetching assets from trusted Microsoft and GitHub sources. Rendering and validation are performed using local headless browser execution on tool-generated content.

  • Socket1mo

    3 alerts: gptAnomaly

  • Snyk1mo

    Risk: LOW · No issues

Signed by skilld at 60ad979. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 2 months ago
metadata
{
  "version": "0.1",
  "companion_to": "tt-a1i/archify"
}

README badge

README badge for akashtalole/archify-azure