| name | azure-infra-review |
| description | Reviews Bicep modules, azure.yaml, and infrastructure changes for the KB Agent project. Checks naming, RBAC, module wiring, and doc sync. Use when working on infra/ or reviewing infrastructure PRs. |
Azure Infrastructure Review
Review infrastructure changes for correctness, convention compliance, and documentation sync.
Module Structure
infra/
├── azure/
│ ├── azure.yaml # AZD project definition
│ ├── hooks/ # AZD pre/post-provision hooks
│ └── infra/
│ ├── main.bicep # Orchestration — wires all modules + role assignments
│ ├── main.parameters.json # AZD parameter file
│ └── modules/
│ ├── monitoring.bicep # Log Analytics + Application Insights
│ ├── storage.bicep # Storage account with containers + RBAC
│ ├── ai-services.bicep # AI Services + model deployments + RBAC
│ ├── search.bicep # AI Search service + RBAC
│ ├── foundry-project.bicep # Foundry project
│ ├── cosmos-db.bicep # Cosmos DB NoSQL (serverless)
│ ├── cosmos-db-role.bicep # Cosmos DB native RBAC role
│ ├── function-app.bicep # Functions on Container Apps (Docker)
│ ├── container-registry.bicep # Azure Container Registry
│ ├── container-app.bicep # Container Apps Environment + web app
│ ├── container-apps-env.bicep # Container Apps Environment
│ ├── agent-container-app.bicep # Agent Container App
│ ├── apim.bicep # API Management
│ └── apim-agent-api.bicep # APIM agent API definition
└── docker/
├── docker-compose.dev-infra.yml
└── docker-compose.dev-services.yml
Review Checklist
Naming & Conventions
RBAC & Security
Module Wiring
Service Definitions
Documentation Sync
Validation
Reference