Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)40k · #7462

update-avm-modules-in-bicep

Skill này làm gì

Agent này tự động cập nhật các module mã của Azure (gọi là AVM) trong tệp Bicep của bạn lên phiên bản mới nhất. Nó kiểm tra bản cập nhật và áp dụng, giúp mã của bạn luôn có các tính năng và bản vá mới nhất.

Khi nào nên dùng

  • ✓Khi bạn muốn đảm bảo các tệp Bicep dùng phiên bản mới nhất của module Azure.
  • ✓Khi cần cập nhật nhiều module cùng lúc mà không phải làm thủ công.
  • ✓Để giữ mã Azure luôn cập nhật và an toàn với các bản vá mới nhất.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/github/awesome-copilot/blob/main/skills/update-avm-modules-in-bicep/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Cập nhật các module AVM trong tệp “network.bicep” của tôi lên phiên bản mới nhất.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent trước tiên kiểm tra các module Azure bạn đang dùng trong tệp. Sau đó, nó tìm phiên bản mới nhất và nếu có, tự động cập nhật tệp của bạn. Nó chỉ làm việc này với thay đổi không gây lỗi, trừ khi xin phép bạn trước khi thực hiện thay đổi lớn.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

Module AVM là gì?

Module AVM là các khối mã được Azure xây dựng sẵn để giúp bạn triển khai tài nguyên theo cách chuẩn hóa và hiệu quả.

Điều gì xảy ra nếu một bản cập nhật có thể làm hỏng mã của tôi?

Nếu bản cập nhật được coi là “breaking change” (thay đổi gây lỗi, có thể ảnh hưởng cách mã hoạt động), agent sẽ dừng lại và xin phép bạn trước khi thực hiện.

Làm sao tôi biết module nào đã được cập nhật?

Agent sẽ trình bày một bảng gồm các module, phiên bản cũ, phiên bản mới và trạng thái cập nhật, cùng với tóm tắt các thay đổi.

Chi tiết

Mô tả gốc của tác giả

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

repo: github/awesome-copilot

Độ phổ biến

Sao GitHub
40k
Vị trí xếp hạng
#7462
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự