← ClaudeAtlas

setup-dotnet-azure-sitelisted

Use when creating a new Azure deployment environment (staging, QA, demo, testing) for an existing .NET production app hosted on Azure App Service. Triggers on: "set up a staging environment", "create a new deployment site", "I need a testing environment that mirrors production", "spin up a QA site." Covers Azure resource provisioning via az CLI, GitHub branch creation, GitHub Actions CI/CD (detecting existing workflows or creating fresh), and per-environment secret isolation via GitHub Environments. Skip for non-.NET apps (Python, Node.js) or non-Azure hosting (Vercel, AWS, GCP).
MaskedControl/skills · ★ 0 · DevOps & Infrastructure · score 71
Install: claude install-skill MaskedControl/skills
# Setup .NET Azure Deployment Site ## Overview Creates a complete new deployment environment (staging, QA, demo) for an existing .NET Azure-hosted app by analyzing production, provisioning the right Azure resources, detecting or creating GitHub Actions CI/CD, and wiring up per-environment secrets. **Core principle:** Share what can be shared; skip what staging doesn't need. New databases can live on the existing production SQL server — no new server cost. Communication and email services can be referenced cross-resource-group at no extra cost. Data Factory and alert rules are almost never needed in staging. ## Prerequisites Before starting, confirm: - `az login` — Azure CLI authenticated - `gh auth login` — GitHub CLI authenticated - Contributor access on the Azure subscription - Admin access on the GitHub repository ## Phase 1: Gather Information Ask the user for these inputs upfront: | Input | Example | Used for | |-------|---------|----------| | Environment name | `staging`, `qa`, `demo` | Naming all resources | | Production resource group | `myapp-prod-rg` | Analysis source | | GitHub repo | `owner/repo` | Branch + workflow | | Base branch | `main`, `master` | Starting point for new branch | | New branch name | `staging` | CI/CD trigger (must match GitHub Environment name exactly) | | Azure region | `australiaeast`, `eastus` | Resource location | | App Service Plan tier | `B1` (default), `B2`, `S1` | Cost vs performance | | .NET version | `8`, `9` | Runtime for Ap