bicep-style-guide

Enforce Bicep coding standards for naming, file layout, and comments.

1|Updated Apr 19, 2026
One-click install
npx skills add https://github.com/SandboxServers/github-copilot-agents --skill bicep-style-guide
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bicep-style-guide
Source: https://github.com/SandboxServers/github-copilot-agents/tree/main/skills/bicep-style-guide.skill
Command: npx skills add https://github.com/SandboxServers/github-copilot-agents --skill bicep-style-guide

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Ensures Bicep code adheres to a consistent style guide, improving readability and maintainability.

Core Features & Use Cases

  • Naming Conventions: Enforces consistent naming for resources, parameters, variables, and outputs.
  • File Layout: Standardizes the order of content in Bicep files for clarity and predictability.
  • Commenting Rules: Requires descriptive comments for parameters, outputs, and complex expressions.
  • Decorator Usage: Encourages the use of decorators to validate input and maintain security.
  • Parameter Design: Promotes robust parameter interfaces with default values and constraints.
  • Resource Configuration: Defines a structured approach to resource properties and dependencies.
  • Module Design: Outlines best practices for creating modular and self-documenting code.
  • Tags: Ensures all taggable resources are properly tagged for better management.
  • PR Rejection Criteria: Provides guidelines to prevent common errors in code submissions.

Quick Start

Apply the bicep-style-guide skill to your codebase to enforce best practices and improve readability.

Frequently Asked Questions about bicep-style-guide

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

FAQPage Schema
How do I enforce coding standards for Bicep files in Azure infrastructure as code?

To enforce Bicep coding standards, apply a style guide that checks naming conventions, file layout, and decorator usage. This standardizes resource configuration and parameters to improve readability and maintainability in Azure infrastructure as code.

What are the best practices for structuring Bicep file layouts and naming conventions?

Bicep best practices for file layout include standardizing content order for clarity, enforcing consistent naming for resources and parameters, and requiring descriptive comments for complex expressions to ensure predictability and maintainability.

Do I need prior Bicep knowledge to use a Bicep style guide effectively?

Yes, prior Bicep knowledge is required to use a Bicep style guide effectively. The guide targets developers writing Bicep scripts for cloud deployment and focuses on enforcing rules for modular design, parameter constraints, and resource tagging.

How do I prevent common Bicep code errors in pull request submissions?

To prevent common Bicep code errors in pull requests, establish PR rejection criteria based on style guide rules. This ensures robust parameter design with default values, proper decorator validation, and consistent resource tagging before submission.

When should I use decorators and parameter constraints in Bicep modules?

Use decorators and parameter constraints in Bicep modules to validate inputs and maintain security. A style guide encourages using decorators for robust parameter interfaces, ensuring modular and self-documenting code that reduces deployment errors.