azure-deployment-preflight

azure-deployment-preflight is a skill for Claude Code, Codex from boshi-xixixi/TraeSkill. It costs 90 tokens per session (1,757 once invoked), scanned A, original, MIT.

A pre-deployment check for Bicep files, which are configuration files that describe Azure infrastructure. It validates the files, previews expected changes, and checks whether the required permissions are available.

In plain words
What is it for?
Use it before Azure CLI or Azure Developer CLI deployments, including commands such as azd up, azd provision, or az deployment.
Why use it?
It can expose syntax errors, unexpected infrastructure changes, or missing access before anything is deployed to Azure.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it before Azure CLI or Azure Developer CLI deployments, including commands such as azd up, azd provision, or az deployment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/boshi-xixixi/traeskill/azure-deployment-preflight
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 boshi-xixixi/TraeSkill --skill azure-deployment-preflight
Clone the repo
git clone --depth 1 https://github.com/boshi-xixixi/TraeSkill

Made for: Claude Code, Codex.

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-deployment-preflight

README.md
[![agentmods](https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/azure-deployment-preflight/github.svg)](https://agentmods.dev/skills/boshi-xixixi/traeskill/azure-deployment-preflight)
Your own site
<a href="https://agentmods.dev/skills/boshi-xixixi/traeskill/azure-deployment-preflight"><img src="https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/azure-deployment-preflight/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 azure-deployment-preflight

Your own site · 80×15
<a href="https://agentmods.dev/skills/boshi-xixixi/traeskill/azure-deployment-preflight"><img src="https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/azure-deployment-preflight.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,757 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.00090 $0.01757
Opus 5 $0.00045 $0.00879
Sonnet 5 $0.00018 $0.00351
Haiku 4.5 $0.00009 $0.00176

Measured 9d ago against content hash dab815a49ff9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

azure-deployment-preflight 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 9d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.trae/Skills/.agents/skills/azure-deployment-preflight/SKILL.md · 217 lines

How it starts

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

Azure Deployment Preflight Validation

This skill validates Bicep deployments before execution, supporting both Azure CLI (az) and Azure Developer CLI (azd) workflows.

When to Use This Skill

  • Before deploying infrastructure to Azure
  • When preparing or reviewing Bicep files
  • To preview what changes a deployment will make
  • To verify permissions are sufficient for deployment
  • Before running azd up, azd provision, or az deployment commands

Validation Process

Follow these steps in order. Continue to the next step even if a previous step fails—capture all issues in the final report.

Step 1: Detect Project Type

Determine the deployment workflow by checking for project indicators:

  1. Check for azd project: Look for azure.yaml in the project root

    • If found → Use azd workflow
    • If not found → Use az CLI workflow
  2. Locate Bicep files: Find all .bicep files to validate

    • For azd projects: Check infra/ directory first, then project root
    • For standalone: Use the file specified by the user or search common locations (infra/, deploy/, project root)
  3. Auto-detect parameter files: For each Bicep file, look for matching parameter files:

    • <filename>.bicepparam (Bicep parameters - preferred)
    • <filename>.parameters.json (JSON parameters)
    • parameters.json or parameters/<env>.json in same directory

Step 2: Validate Bicep Syntax

Run Bicep CLI to check template syntax before attempting deployment validation:

bicep build <bicep-file> --stdout

What to capture:

  • Syntax errors with line/column numbers
  • Warning messages
  • Build success/failure status

If Bicep CLI is not installed:

  • Note the issue in the report
  • Continue to Step 3 (Azure will validate syntax during what-if)

Step 3: Run Preflight Validation

Choose the appropriate validation based on project type detected in Step 1.

For azd Projects (azure.yaml exists)

Use azd provision --preview to validate the deployment:

Read the full file on GitHub · 217 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 217 lines · 90 tokens per session scan A dab815a49ff9

Subscribe to this mod's changes

azure-deployment-preflight is a skill published in the GitHub repository boshi-xixixi/TraeSkill (262 stars, last pushed 3mo ago), licensed MIT. It adds 90 tokens to every session and 1,757 once invoked, about $0.0005 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-30.