skills/devops-network-calculator-for-azure/SKILL.md
Azure network planning, CIDR calculation, subnet sizing, and best-practices tool. Use this skill whenever the user asks about subnet sizing, CIDR planning, AKS networking, NSG rules, network segmentation, IP address management, VNet planning, address space analysis, overlap detection, or any Azure networking topic. Also trigger when the user mentions network calculator, net-calc, calculate hosts, plan subnets, or asks about Azure network best practices, even if they don't explicitly say 'network calculator'.
npx skillsauth add julianobarbosa/claude-code-skills devops-network-calculator-for-azureInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Offline Azure network planning tool. Calculates CIDRs, detects overlaps, analyzes VNet utilization, plans AKS networking, and generates Terraform-ready output. Zero external dependencies — uses Python stdlib only.
# What CIDR do I need for 500 hosts?
python3 scripts/network-calc.py calculate --from-hosts 500
# Analyze current VNet
python3 scripts/network-calc.py analyze --from-tfvars terraform/terraform.tfvars
# Validate for overlaps (pre-commit compatible)
python3 scripts/network-calc.py validate --from-tfvars terraform/terraform.tfvars
# Find where to place a new subnet
python3 scripts/network-calc.py first-fit --vnet 10.248.0.0/20 \
--subnets "10.248.0.0/22,10.248.4.0/22,10.248.8.0/26,10.248.9.0/24" --hosts 500
| Command | Purpose | Reference |
|---------|---------|-----------|
| calculate | CIDR info, host sizing, subnet splitting | CIDR Guide |
| analyze | VNet utilization, gap analysis | CIDR Guide |
| validate | Overlap detection, Azure constraint checks | Azure Constraints |
| first-fit | Find optimal placement for new subnet | CIDR Guide |
| plan-multi | Multi-environment VNet allocation | Segmentation |
This project's current VNet: 10.248.0.0/20 (4,096 IPs, 57.8% utilized)
| Subnet | CIDR | Usable | |--------|------|--------| | GatewaySubnet | 10.248.0.0/22 | 1,019 | | PublicSubnet | 10.248.4.0/22 | 1,019 | | AzureBastionSubnet | 10.248.8.0/26 | 59 | | PrivateSubnet | 10.248.9.0/24 | 251 | | Available gaps | | 1,708 |
Key files: terraform/terraform.tfvars, terraform/networking.tf, terraform/nsg.tf
| Guide | When to Read | |-------|-------------| | CIDR Calculation Guide | Subnet sizing, gap analysis, overlap detection | | AKS Networking Guide | CNI comparison, pod/service CIDR, node sizing | | Segmentation Patterns | Design patterns, anti-patterns, decision matrices | | Azure Constraints | Hard limits, naming rules, reserved addresses |
| Template | Purpose | |----------|---------| | VNet Layout | Terraform variable blocks for VNet config | | AKS NSG Rules | NSG rules for AKS workloads | | Multi-Env Plan | Multi-environment planning output |
Follow the instructions in ./workflow.md.
InsufficientFreeAddressesInSubnet mid-scale.GatewaySubnet. Same for AzureBastionSubnet and AzureFirewallSubnet. Typo breaks at apply, not plan.--max-pods first; switching CNI later requires cluster rebuild.plan-multi and reserve growth gaps explicitly.testing
Brief description of what this skill does. Include specific triggers - when should Claude use this skill? Example triggers, file types, or keywords that indicate this skill applies.
tools
Manage and troubleshoot PATH configuration in zsh. Use when adding tools to PATH (bun, nvm, Python venv, cargo, go), diagnosing "command not found" errors, validating PATH entries, or organizing shell configuration in .zshrc and .zshrc.local files.
tools
Zabbix monitoring system automation via API and Python. Use when: (1) Managing hosts, templates, items, triggers, or host groups, (2) Automating monitoring configuration, (3) Sending data via Zabbix trapper/sender, (4) Querying historical data or events, (5) Bulk operations on Zabbix objects, (6) Maintenance window management, (7) User/permission management
development
Operate YouTube Music via natural language. Search songs, artists, albums, playlists, lyrics, charts, recommendations, and control playback. Browse personal library, manage playlists, rate tracks, and inspect account info. Use this skill whenever the user asks about YouTube Music, wants to play music, manage playlists, search by song or artist name, inspect lyrics, or control playback.