scaffolding-azure-bicep-infrastructure

scaffolding-azure-bicep-infrastructure is a skill for Claude Code from alexpizarro/azure-lean-stack-skills. It costs 88 tokens per session (2,449 once invoked), scanned A, original, MIT.

A setup tool for creating Azure infrastructure files with Bicep, Microsoft's language for describing cloud resources, plus GitHub Actions deployment workflows. It can scaffold an Azure web app and optional SQL, storage, and monitoring components.

In plain words
What is it for?
Use it to start an Azure web app project, add or reorganize infrastructure modules, and create test and production deployment workflows with consistent resource names.
Why use it?
It removes the need to create the initial infrastructure folders, deployment workflows, environment settings, and database migration files by hand. Optional components help keep unused Azure resources out of a project.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the azure-lean-stack-skills plugin — 17 skills shipped together

Good fit Use it to start an Azure web app project, add or reorganize infrastructure modules, and create test and production deployment workflows with consistent resource names.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alexpizarro/azure-lean-stack-skills/scaffolding-azure-bicep-infrastructure
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add alexpizarro/azure-lean-stack-skills --skill scaffolding-azure-bicep-infrastructure
Clone the repo
git clone --depth 1 https://github.com/alexpizarro/azure-lean-stack-skills

Made for: Claude Code.

Or install azure-lean-stack-skills, the plugin that ships this one along with the rest of its 17 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for scaffolding-azure-bicep-infrastructure

README.md
[![agentmods](https://agentmods.dev/badge/skills/alexpizarro/azure-lean-stack-skills/scaffolding-azure-bicep-infrastructure/github.svg)](https://agentmods.dev/skills/alexpizarro/azure-lean-stack-skills/scaffolding-azure-bicep-infrastructure)
Your own site
<a href="https://agentmods.dev/skills/alexpizarro/azure-lean-stack-skills/scaffolding-azure-bicep-infrastructure"><img src="https://agentmods.dev/badge/skills/alexpizarro/azure-lean-stack-skills/scaffolding-azure-bicep-infrastructure/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for scaffolding-azure-bicep-infrastructure

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexpizarro/azure-lean-stack-skills/scaffolding-azure-bicep-infrastructure"><img src="https://agentmods.dev/badge/skills/alexpizarro/azure-lean-stack-skills/scaffolding-azure-bicep-infrastructure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,449 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00088 $0.02449
Opus 5.5 $0.00035 $0.00980
Sonnet 5.5 $0.00018 $0.00490
Haiku 4.5 $0.00009 $0.00245

Measured 1mo ago against content hash a25ca1d8deff, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

scaffolding-azure-bicep-infrastructure scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (templates/scripts/ci/install-sqlcmd.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/scaffolding-azure-bicep-infrastructure/SKILL.md · 166 lines

How it starts

The opening of the file, as written. The whole thing — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Scaffolding Azure Bicep Infrastructure

Generates the Bicep + workflow files for a new Azure web app. Modular by default: every component (SQL, Storage, Observability) is an opt-in boolean toggle on main.bicep, so projects only provision what they actually use.

When to invoke

  • New project: generate infra/, infra/environments/, .github/workflows/
  • Existing project: add a new module or refactor into the modular-toggle pattern

Workflow checklist

Copy this checklist into your response and check items off as you complete them:

Azure Bicep scaffolding:
- [ ] Step 1: Collect inputs (org, project, GitHub repo, components)
- [ ] Step 2: Generate infra/main.bicep with modular toggles
- [ ] Step 3: Generate infra/modules/ (resourceGroup, staticWebApp, sqlServer; add storage/observability/aca if toggled)
- [ ] Step 4: Generate infra/environments/test.parameters.json + prod.parameters.json
- [ ] Step 5: Generate .github/workflows/ (deploy-test.yml, deploy-prod.yml, pr-checks.yml)
- [ ] Step 6: Generate infra/sql/migrations/000_migration_history.sql + 001_create_items_table.sql
- [ ] Step 7: Verify naming consistency — every resource uses {org}-{project}-{component}-{env}
- [ ] Step 8: Run cost-guardrails audit before first deploy (skill: applying-azure-cost-guardrails)

Before starting, collect

  1. org — short org/company prefix (e.g. acme)
  2. project — short app name (e.g. taskapp)
  3. GitHub repo — owner/repo-name
  4. Components needed — SQL? Storage? Observability? FC1? Container Apps?

Files to generate

For a basic SWA + SQL project:

infra/
├── main.bicep                       — subscription-scoped root, toggles: deploySql / deployStorage / deployObservability, sqlSku
├── environments/
│   ├── test.parameters.json
│   └── prod.parameters.json
├── modules/
│   ├── resourceGroup.bicep
│   ├── staticWebApp.bicep
│   ├── sqlServer.bicep              — Serverless (default) or Basic via sqlSku
│   ├── storageAccount.bicep         — copy of optimizing-azure-blob-storage-cost's template (used when deployStorage)
│   └── applicationInsights.bicep    — copy of instrumenting-azure-app-insights's template (used when deployObservability)
└── sql/migrations/
    ├── 000_migration_history.sql
    └── 001_create_items_table.sql
.github/workflows/
├── deploy-test.yml
├── deploy-prod.yml
└── pr-checks.yml
scripts/ci/install-sqlcmd.sh         — called by both deploy workflows
.nvmrc                               — 22

Read the full file on GitHub · 166 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +17 lines a25ca1d8deff
  2. 2mo ago First seen · 149 lines · 88 tokens per session scan A 93750237fdd4

Subscribe to this mod's changes

scaffolding-azure-bicep-infrastructure is a skill published in the GitHub repository alexpizarro/azure-lean-stack-skills (1 stars, last pushed 1mo ago), licensed MIT. It adds 88 tokens to every session and 2,449 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

scaffolding-azure-bicep-infrastructure compared with skills from other repositories

scaffolding-azure-bicep-infrastructure next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scaffolding-azure-bicep-infrastructurealexpizarro/azure-lean-stack-skillsSkill11mo agoMITA88Claude Code
cloud-native-azure-functionsj4flmao/agent-skillsSkill383d agoMITA124Claude Code, Codex
azure-expertpersonamanagmentlayer/pclSkill4411d agoApache-2.0A33Claude Code
aws-iac-change-safety-reviewVincentChuWaiChow/vanguard-frontier-agenticSkill242d agoApache-2.0A78Claude Code
infra-planmakigjuro/cloudstack-ai-pluginsSkill14d agoMITA36Claude Code
Tag Hygiene EnforcerCletrics/finops-agentsSkill486mo agoMITA40Claude Code, Codex
terraform-iacchainlesschain/chainlesschainSkill11yesterdaynoneA41Claude Code