bicep-validator

Validate Bicep modules and parameter files for syntax, type, and reference errors.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/irwins/platform-agent-kit --skill bicep-validator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bicep-validator
Source: https://github.com/irwins/platform-agent-kit/tree/main/.github/skills/bicep-validator
Command: npx skills add https://github.com/irwins/platform-agent-kit --skill bicep-validator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Bicep Validator helps developers and platform engineers automatically validate Bicep modules and parameter files, catching syntax, type, and reference errors before deployment.

Core Features & Use Cases

  • CI/PR validation for Bicep modules and parameter files
  • Validation of syntax, type compatibility, and resource/property references
  • Guidance for linting via bicepconfig.json and triage steps when issues are detected
  • Integration with Azure CLI: az bicep build and az bicep build-params to surface errors

Quick Start

Run az bicep build --file <path-to-file.bicep> to validate a Bicep module. Run az bicep build-params --file <path-to-file.bicepparam> to validate a parameter file. Ensure Azure CLI with the Bicep extension is installed and up to date before running these commands.

Frequently Asked Questions about bicep-validator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate Bicep modules and parameter files in a CI pipeline?

You can validate Bicep modules and parameter files in CI by running az bicep build --file <path.bicep> and az bicep build-params --file <path.bicepparam> to catch syntax, type, and reference errors before deployment.

What errors does Bicep validation catch before Azure deployment?

Bicep validation catches syntax errors, type compatibility issues, and invalid resource or property references, ensuring IaC code quality. It reports compile results and provides guidance for triaging missing properties.

Do I need Azure CLI to validate .bicep and .bicepparam files?

Yes, validating .bicep and .bicepparam files requires Azure CLI with the Bicep extension installed and up to date. The validator integrates with Azure CLI commands to surface compile results and common issues.

How can I lint Bicep code and configure triage steps for PR checks?

You can lint Bicep code and triage issues in PR checks by applying bicepconfig.json configurations. The validator surfaces compile results and provides guidance for triaging detected syntax and type errors.