本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)40k · #7462

update-avm-modules-in-bicep

できること

このエージェントは、Bicepファイル内のAzureコードモジュール(AVMと呼ばれます)を自動的に最新バージョンに更新します。更新を確認して適用することで、コードを最新の機能や修正に保つことができます。

使う場面

  • ✓Bicepファイルで最新バージョンのAzureモジュールを使いたいとき。
  • ✓複数のモジュールを手作業ではなく、まとめて更新したいとき。
  • ✓パッチを適用して、Azureのコードを最新かつ安全な状態に保ちたいとき。

スキルのリンク

https://github.com/github/awesome-copilot/blob/main/skills/update-avm-modules-in-bicep/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/github/awesome-copilot/blob/main/skills/update-avm-modules-in-bicep/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“「network.bicep」ファイル内のAVMモジュールを、最新バージョンに更新してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントはまず、ファイルで使われているAzureモジュールを確認します。次に、利用可能な最新バージョンを探し、見つかればファイルを自動的に更新します。変更が互換性を壊さないものに限って自動で行い、大きな変更の場合は実行前に許可を求めます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Update Azure Verified Modules in Bicep Files

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.

Process

  1. Scan: Extract AVM modules and current versions from ${file}
  2. Identify: List all unique AVM modules used by matching avm/res/{service}/{resource} using #search tool
  3. Check: Use #fetch tool to get latest version of each AVM module from MCR: https://mcr.microsoft.com/v2/bicep/avm/res/{service}/{resource}/tags/list
  4. Compare: Parse semantic versions to identify AVM modules needing update
  5. Review: For breaking changes, use #fetch tool to get docs from: https://github.com/Azure/bicep-registry-modules/tree/main/avm/res/{service}/{resource}
  6. Update: Apply version updates and parameter changes using #editFiles tool
  7. Validate: Run bicep lint and bicep build using #runCommands tool to ensure compliance.
  8. Output: Summarize changes in a table format with summary of updates below.

Tool Usage

Always use tools #search, #searchResults,#fetch, #editFiles, #runCommands, #todos if available. Avoid writing code to perform tasks.

Breaking Change Policy

⚠️ PAUSE for approval if updates involve:

  • Incompatible parameter changes
  • Security/compliance modifications
  • Behavioral changes

Output Format

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.

Icons

  • 🔄 Updated
  • ✅ Current
  • ⚠️ Manual review required
  • ❌ Failed
  • 📖 Documentation

Requirements

  • Use MCR tags API only for version discovery
  • Parse JSON tags array and sort by semantic versioning
  • Maintain Bicep file validity and linting compliance
よくある質問

AVMモジュールとは何ですか?

AVMモジュールは、Azureがリソースを標準化された効率的な方法でデプロイできるように用意している、既成のコードのかたまりです。

更新によってコードが動かなくなる可能性がある場合はどうなりますか?

更新が「破壊的変更」(コードの動作に影響するおそれのある変更)とみなされる場合、エージェントは作業を止めて、変更を行う前に許可を求めます。

どのモジュールが更新されたかは、どうすればわかりますか?

エージェントは、モジュール名、旧バージョン、新バージョン、更新状況を示す表と、変更内容の要約を表示します。

詳細

作者による元の説明

Update Azure Verified Modules (AVM) to latest versions in Bicep files.

repo: github/awesome-copilot

人気

GitHubのスター
40k
ランキング
#7462
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル