azure-bicep-patterns

azure-bicep-patterns is a skill for Claude Code, Codex from AgenticPawan/FullStack-Pilot. It costs 83 tokens per session (1,362 once invoked), scanned A, original, MIT.

A review checklist for Bicep files, which are Azure infrastructure templates written as code. It checks whether templates and deployment workflows follow stated production-readiness rules.

In plain words
What is it for?
Use it to review Bicep structure, parameters, secret handling, GitHub Actions what-if checks, resource tags, environment conditions, Azure Verified Modules, and reuse of existing resources.
Why use it?
It helps find configuration, security, cost, deployment, and maintainability problems before Azure resources are deployed.

Skill for Claude CodeCodex

Part of the pilot-azure plugin — 15 skills, 3 agents shipped together

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.

agentmods
npx agentmods add skills/agenticpawan/fullstack-pilot/azure-bicep-patterns
Any agent
npx skills add AgenticPawan/FullStack-Pilot --skill azure-bicep-patterns
Clone the repo
git clone --depth 1 https://github.com/AgenticPawan/FullStack-Pilot

Made for: Claude Code, Codex.

Or install pilot-azure, the plugin that ships this one along with the rest of its 15 skills, 3 agents.

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 azure-bicep-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/agenticpawan/fullstack-pilot/azure-bicep-patterns.svg)](https://agentmods.dev/skills/agenticpawan/fullstack-pilot/azure-bicep-patterns)
Your own site
<a href="https://agentmods.dev/skills/agenticpawan/fullstack-pilot/azure-bicep-patterns"><img src="https://agentmods.dev/badge/skills/agenticpawan/fullstack-pilot/azure-bicep-patterns.svg" alt="Measured on agentmods" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,362 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00083 $0.01362
Opus 5 $0.00042 $0.00681
Sonnet 5 $0.00017 $0.00272
Haiku 4.5 $0.00008 $0.00136

Measured 4d ago against content hash 0ac790be64af, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

azure-bicep-patterns 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 4d 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.

plugins/pilot-azure/skills/azure-bicep-patterns/SKILL.md · 152 lines

How it starts

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

Checklist

Score each item pass / fail / n-a. Output a scored summary at the end.

ID Category Check
BIC-001 Structure Template decomposed into modules (not one monolithic main.bicep > 200 lines)
BIC-002 Parameterization Environment-specific values (SKUs, counts, names) use parameters with @allowed
BIC-003 Security Secrets and keys use @secure() parameter type — never plain string
BIC-004 Deployment GitHub Actions workflow has a what-if step before az deployment group create
BIC-005 Tagging All resources have env, costCenter, owner, managedBy tags
BIC-006 Conditional Non-production environments skip expensive resources via if (env == 'prod')
BIC-007 AVM Resources with an Azure Verified Module equivalent use the AVM module
BIC-008 Idempotency Template uses existing keyword for pre-existing resources, not hard-coded IDs

BIC-001 — Module decomposition

A monolithic main.bicep > 200 lines that deploys compute, network, data, and security resources in one file is hard to review and redeploy independently.

// GOOD: main.bicep orchestrates modules
module network 'modules/network.bicep' = {
  name: 'network'
  params: { env: env, location: location }
}

module app 'modules/app.bicep' = {
  name: 'app'
  params: { env: env, location: location, vnetId: network.outputs.vnetId }
}

BIC-002 — Parameterization

// BAD: SKU hard-coded — must edit source for each environment
sku: { name: 'Standard_LRS' }

// GOOD: parameter with environment-appropriate defaults
@allowed(['Standard_LRS', 'Standard_GRS', 'Premium_LRS'])
param storageSku string = env == 'prod' ? 'Standard_GRS' : 'Standard_LRS'

BIC-003 — Secure parameters

// BAD: secret passed as plain string — shows in deployment logs
param sqlAdminPassword string

// GOOD: @secure() — value redacted from logs and portal history
@secure()
param sqlAdminPassword string

Read the full file on GitHub · 152 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. 4d ago First seen · 152 lines · 83 tokens per session scan A 0ac790be64af

Subscribe to this mod's changes

azure-bicep-patterns is a skill published in the GitHub repository AgenticPawan/FullStack-Pilot (2 stars, last pushed 1mo ago), licensed MIT. It adds 83 tokens to every session and 1,362 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

subdomain-takeover-hunt

Detect and verify subdomain takeover via dangling CNAME to unclaimed services.

uphiago/recon-skills · 23 tokens

apim-terraform

Guide for creating Terraform files for Azure API Management (APIM) and related Azure services. Use when users want to create, modify, or understand Terraform configurations for APIM instances, APIs, backends, subscriptions, policies, products, loggers, diagnostics, and supporting infrastructure using the azurerm…

Azure-Samples/AI-Gateway · 87 tokens

apim-bicep

Guide for building Bicep files for Azure API Management (APIM) and related Azure services. Use when users want to create, modify, or understand Bicep templates for APIM instances, APIs, backends, subscriptions, policies, products, loggers, diagnostics, and MCP servers. This skill provides Bicep syntax, patterns from…

Azure-Samples/AI-Gateway · 86 tokens

awesome-azd-template-submit

Submit an azd template to the awesome-azd gallery. Use when asked to submit, add, or contribute a template to awesome-azd. Requires only a GitHub repository URL — all metadata (title, description, languages, frameworks, Azure services, IaC) is auto-detected by the submission pipeline.

Azure/awesome-azd · 72 tokens

drawio-aws

Use when the user asks for an AWS architecture diagram — VPC/networking, event-driven, landing zone, multi-AZ, serverless pipeline, or any diagram built with AWS service icons. Builds with the declarative layout engine using ground-truth mxgraph.aws4 stencils, validates (stencils/colors/nesting/geometry), runs a…

sparklabx/drawio-ai-kit · 94 tokens

cloud-iam-deep

GCP/AWS/Azure cloud exploitation -- Cloud Functions, Firestore, Cloud Run, S3, MinIO, Blob Storage, SA keys.

uphiago/recon-skills · 35 tokens