
Here's a skill that automates the tedious process of keeping Azure Verified Modules current in your Bicep infrastructure files. It scans your Bicep templates, checks the Microsoft Container Registry for latest AVM versions, and updates module references while running bicep lint and build validation to catch issues. The smart part is it only applies non-breaking updates automatically and pauses for approval when it detects parameter changes or security modifications that need human review. Saves you from manually tracking down version numbers and ensures your infrastructure code stays compliant with current AVM standards without breaking existing deployments.
$ npx -y skills add github/awesome-copilot --skill update-avm-modules-in-bicep --agent claude-codeInstalls into .claude/skills of the current project.
Update Bicep file ${file} to use latest Azure Verified Module (AVM) versions. Limit progress updates to non-breaking changes. Don't output information other than the final output table and summary.
${file}avm/res/{service}/{resource} using #search tool#fetch tool to get latest version of each AVM module from MCR: https://mcr.microsoft.com/v2/bicep/avm/res/{service}/{resource}/tags/list#fetch tool to get docs from: https://github.com/Azure/bicep-registry-modules/tree/main/avm/res/{service}/{resource}#editFiles toolbicep lint and bicep build using #runCommands tool to ensure compliance.Always use tools #search, #searchResults,#fetch, #editFiles, #runCommands, #todos if available. Avoid writing code to perform tasks.
⚠️ PAUSE for approval if updates involve:
Only display results in table with icons:
| Module | Current | Latest | Status | Action | Docs |
|--------|---------|--------|--------|--------|------|
| avm/res/compute/vm | 0.1.0 | 0.2.0 | 🔄 | Updated | [📖](link) |
| avm/res/storage/account | 0.3.0 | 0.3.0 | ✅ | Current | [📖](link) |
### Summary of Updates
Describe updates made, any manual reviews needed or issues encountered.
Sponsors