Install
$ agentstack add skill-manu14357-zskills-azure-resource-visualizer ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Azure Resource Visualizer
Generate architecture diagrams and dependency maps from deployed Azure resources. Identify critical paths, trust boundaries, and potential failures.
Use This Skill When
- The user asks to visualize an Azure architecture or deployment
- The user needs dependency mapping for troubleshooting or review
- The user needs architecture documentation for compliance or knowledge transfer
- The user wants to understand data flow and trust boundaries
Context: Visualization Maturity
Immature: No diagrams, ad hoc PowerPoint slides, out of sync Developing: Some Visio or manual diagrams, updated occasionally Managed: Mermaid/ASCII generated from code/CLI, auto-updated → Target Optimized: Real-time topology from infrastructure code, linked to runbooks and alerts
Required Inputs
- Resource inventory: Subscription ID, resource groups, or IaC code
- Scope: Single app, multi-app, entire subscription?
- Audience: Architects, developers, operations, auditors?
- Detail level: High-level (boxes) or detailed (properties, IPs)?
- Trust boundaries: On-premises? External partners?
- Data flow direction: Producer → Consumer orientation?
Decision Tree
What's the primary purpose of this diagram?
├─ Architecture review (for design) → High-level, show trade-offs
├─ Troubleshooting (incident) → Detailed, show data paths
├─ Compliance/audit (prove design) → Component-level, highlight controls
└─ Knowledge transfer (team onboarding) → Annotated, include SLOs
What's the intended audience?
├─ Technical architects → Include scaling, redundancy, failover
├─ Developers → Include APIs, data sources, CI/CD
├─ Operations → Include monitoring, alerting, runbooks
└─ Auditors → Include security, compliance, audit points
How detailed should it be?
├─ Executive summary → 3-5 main components, high-level flow
├─ Architecture design → All resources, dependencies, zones
└─ Forensic/detailed → Resource IDs, IPs, security rules, policies
Workflow
Phase 1: Collect Resource Inventory
- Query all resources (CLI or portal):
```bash # Get all resources in subscription az resource list --query "[].{name:name, type:type, group:resourceGroup}" -o table
# Get all resources with details az graph query -q "resources | project name, type, resourceGroup, location, properties" -o table ```
- Map resource relationships:
```bash # Get VNet peering az network vnet peering list --resource-group $RG --vnet-name $VNET
# Get service connections az network private-endpoint-connection list --resource-group $RG
# Get role assignments az role assignment list --all --output table ```
- Document externals (on-premises, partner networks, public APIs):
`` ├─ On-premises SQL Server (10.0.0.10) ├─ Partner API (api.partner.com) ├─ CDN (cdn.example.com) └─ Monitoring (Azure Portal, on-call system) ``
Phase 2: Identify Dependencies & Trust Boundaries
- Compute → Data dependencies:
`` App Service ├─ Reads: SQL Database, Key Vault, Blob Storage ├─ Writes: Application Insights, Blob Storage └─ Calls: External API (partner.api.com) ``
- Network security & isolation:
`` Public Internet └─ [Application Gateway] (0.0.0.0/0) └─ [NSG Allow 443] └─ [App Service] (private IP 10.1.1.0/24) └─ [NSG Allow SQL port 1433 to DB subnet] └─ [SQL Database] (private IP 10.1.2.0/24) ``
- Identity & access paths:
`` App Service └─ System-assigned managed identity └─ Role: "Key Vault Secrets User" └─ [Key Vault] (access allowed) ``
Phase 3: Generate Diagrams
Example 1: High-Level Diagram (Mermaid)
graph TB
Internet["Internet / Users"]
CDN["Azure CDN"]
AGW["Application Gateway"]
AppSvc["App Service"]
DB["SQL Database"]
Storage["Blob Storage"]
KV["Key Vault"]
AppIns["Application Insights"]
Internet -->|HTTPS| CDN
Internet -->|HTTPS| AGW
AGW -->|Private| AppSvc
AppSvc -->|SQL| DB
AppSvc -->|Blob| Storage
AppSvc -->|Secret| KV
AppSvc -->|Telemetry| AppIns
style AppSvc fill:#lightblue
style DB fill:#orange
style KV fill:#red
Example 2: Network Topology (ASCII)
┌─ Public Internet ─────────────────────────────────────────┐
│ │
│ [User Browsers] │
│ │ │
│ ├─→ [Azure CDN] ←─ Static content │
│ │ │
│ └─→ [App Gateway] (0.0.0.0/0) │
│ │ (443: HTTPS only, deny HTTP) │
└─────────────┼───────────────────────────────────────────────┘
│
┌─────────▼──────────────────────────────────────────┐
│ Hub VNet (10.0.0.0/16) │
│ ┌────────────────────────────────────────────┐ │
│ │ App Subnet (10.0.1.0/24) │ │
│ │ [App Service] (private) │ │
│ │ └─ NSG: Allow 443 from App Gateway │ │
│ └────────────────────────────────────────────┘ │
│ │ │
│ ├─→ DNS (Azure DNS) │
│ │ │
│ ┌────────▼──────────────────────────────────┐ │
│ │ Data Subnet (10.0.2.0/24) │ │
│ │ [SQL Database] (private endpoint) │ │
│ │ └─ NSG: Allow 1433 from App Subnet │ │
│ └────────────────────────────────────────────┘ │
│ │ │
│ ┌────────▼──────────────────────────────────┐ │
│ │ Management Subnet (10.0.3.0/24) │ │
│ │ [Key Vault] (private endpoint) │ │
│ │ [Storage Account] (for backups) │ │
│ └────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────┘
│
┌─────────▼──────────────────────────────────────────┐
│ Monitoring & Logging (Shared) │
│ [Log Analytics Workspace] │
│ [Application Insights] │
│ [Storage Account] (logs archive) │
└─────────────────────────────────────────────────────┘
Example 3: Data Flow Diagram
┌─ Producer ─────┐
│ Event Source │
│ (Order placed) │
└───────┬────────┘
│
└──→ Service Bus Topic: "order-events"
│
├──→ Subscription: "email-service" ──→ Logic App ──→ Send Email
│
├──→ Subscription: "inventory-service" ──→ Function ──→ Update Inventory
│
└──→ Subscription: "analytics-service" ──→ Event Hub ──→ Stream Analytics
├──→ Power BI (dashboard)
└──→ Alert (if anomaly)
Phase 4: Annotate Risk & Critical Paths
- Single points of failure:
``` ⚠️ Critical Path: Users → Application Gateway → App Service → SQL Database
- If App Gateway fails: No user access
- If App Service fails: No processing
- If SQL Database fails: Data unavailable
✓ Mitigations in place:
- Application Gateway: 2+ instances (auto-scale)
- App Service: Standard tier (2+ instances), auto-scale
- SQL Database: GRS (geo-redundant), 35-day backup retention
```
- Security boundaries:
``` ✓ Secure:
- Private endpoints: DB, Key Vault (not on internet)
- NSG rules: Deny by default, allow explicitly
- HTTPS only: TLS 1.2+, no HTTP
⚠️ Risk:
- App Gateway is public (but only accepts 443)
- Application does not filter PII in logs (audit needed)
```
- Compliance markers:
``` 🔒 Encryption:
- In-transit: All APIs use HTTPS
- At-rest: Database TDE enabled, Storage CMK
📊 Audit Trail:
- All API calls → Application Insights
- All database operations → SQL Audit
- All storage access → Storage logging
🔑 Access Control:
- App Service: Managed identity, no secrets in config
- Database: Azure AD authentication
- Key Vault: RBAC (not access policies)
```
Phase 5: Create Documentation
- Markdown format:
```markdown # Architecture Overview
## High-Level Diagram [Include Mermaid or ASCII diagram]
## Components
- Frontend: App Service (P1V2, 2 instances)
- Database: SQL Database (S2 tier, GRS)
- Cache: Azure Cache for Redis (C1 tier, 1GB)
## Data Flow
- User uploads file to Blob Storage
- Blob trigger fires Function
- Function processes file, stores metadata in SQL
- App Service queries metadata, returns to user
## Scaling
- Baseline: 2 instances
- Max: 10 instances (CPU > 80%)
## Resilience
- Availability: 99.95% (21 min downtime/month acceptable)
- RTO: 4 hours (restore from backup)
- RPO: 15 minutes (backup frequency)
```
- Update CI/CD documentation:
- Add diagram links to README.md
- Update architecture decisions in ADR (Architecture Decision Records)
- Link to compliance controls (ISO, SOC2, HIPAA)
Output Contract
- High-Level Topology Summary
- Components: Compute, storage, networking, identity
- Data flow: Producer → Service → Consumer
- External integrations: On-premises, partners, public APIs
- Detailed Architecture Diagram
- Format: Mermaid, ASCII, or JSON
- Include: Trust boundaries, security zones, redundancy
- Annotate: Resource IDs, sizing, configuration
- Dependency & Risk Analysis
- Single points of failure identified
- Critical paths highlighted
- Resilience score (redundancy, auto-scale, backup)
- Security & Compliance Markers
- Encryption: At-rest, in-transit
- Access control: Identities and permissions
- Audit trail: Logging and monitoring
- Documentation Artifacts
- Architecture document (Markdown)
- Runbooks: Failover, scale-out, disaster recovery
- Compliance checklist: Controls mapped to resources
Guardrails
- Keep diagrams readable: Don't show >15 resources in one view; use layers.
- Distinguish inferred links from confirmed: Mark assumed dependencies; verify with CLI.
- Avoid exposing secrets: No API keys, passwords, or connection strings in diagrams.
- Update with changes: Keep diagrams in version control (Markdown + code).
- Audience-appropriate: Executives see 3 boxes; architects see 30+ components.
- Link to monitoring: Annotate diagrams with alert thresholds (CPU >80%, latency >500ms).
- Include operational runbooks: Link to failover, scaling, and incident response procedures.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: manu14357
- Source: manu14357/zskills
- License: MIT
- Homepage: https://zskills.vercel.app
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.