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 (1,790 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 — 16 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 16 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 1,790 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.01790
Opus 5 $0.00044 $0.00895
Sonnet 5 $0.00018 $0.00358
Haiku 4.5 $0.00009 $0.00179

Measured 12d ago against content hash 93750237fdd4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 12d ago.

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 · 149 lines

How it starts

The opening of the file, as written. The whole thing — 149 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 repoowner/repo-name
  4. Components needed — SQL? Storage? Observability? FC1? Container Apps?

Files to generate

For a basic SWA + SQL project:

infra/
├── main.bicep
├── environments/
│   ├── test.parameters.json
│   └── prod.parameters.json
├── modules/
│   ├── resourceGroup.bicep
│   ├── staticWebApp.bicep
│   └── sqlServer.bicep
└── sql/migrations/
    ├── 000_migration_history.sql
    └── 001_create_items_table.sql
.github/workflows/
├── deploy-test.yml
└── deploy-prod.yml

Add modules only when their toggle is true.

Read the full file on GitHub · 149 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. 12d 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 1,790 once invoked, about $0.0004 per session on Opus 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

Other skills, from other repositories

azure-expert

Expert-level Microsoft Azure cloud platform, services, and architecture. Use when the user mentions cloud, Microsoft platforms, Azure Functions, or Cosmos DB.

personamanagmentlayer/pcl · 33 tokens

iac-common

UTILITY SKILL — Shared IaC deploy patterns for Bicep + Terraform agents: deployment strategies, circuit breaker, known deploy issues. WHEN: "phased deployment", "circuit breaker", "deploy strategy", "deploy issue", "shared IaC pattern". DO NOT USE FOR: preflight (azure-validate), code generation (azure-bicep-patterns…

jonathan-vella/apex-accelerator · 84 tokens

aws-iac-change-safety-review

Review AWS infrastructure-as-code changes across CDK, CloudFormation, SAM, Terraform, Serverless Framework, generated templates, plans, stack updates, change sets, and drift. Use when the user asks whether an AWS IaC deployment is safe, what a change set will do, why a resource replacement will happen, or how to…

VincentChuWaiChow/vanguard-frontier-agentic · 78 tokens

Tag Hygiene Enforcer

Establishes and enforces a tag / label taxonomy across all clouds. Runs coverage audits, policy-as-code guardrails, and remediation campaigns until coverage is above 95%.

Cletrics/finops-agents · 40 tokens

infra-plan

Plan infrastructure changes — Terraform modules, Helm charts, CI/CD pipelines. Use when the user wants to add or modify cloud infrastructure, Kubernetes resources, or deployment pipelines.

makigjuro/cloudstack-ai-plugins · 36 tokens

terraform-iac

Terraform and OpenTofu infrastructure as code best practices - generate HCL configurations, module patterns, state management, CI/CD workflows, and cloud provider templates for AWS, GCP, Azure.

chainlesschain/chainlesschain · 41 tokens