jmservera/managed-app-ci-example/marketplace-vm-plan
Claude Code and agent skill by jmservera/managed-app-ci-example
- community
Checking that the SKILL.md file is still in the repository.
Pattern for deploying Azure VMs from marketplace images with plan blocks in Bicep/ARM
Install
npx vskill@latest install jmservera/managed-app-ci-example/marketplace-vm-planSKILL.md
The same SKILL.md was published earlier as jmservera/managed-app-ci-example/marketplace-vm-plan.
Context
When deploying Azure VMs from 3rd-party marketplace images (BYOS, ISV images, etc.), the ARM/Bicep resource definition must include a plan block in addition to the imageReference. This is required by:
- Azure deployment runtime (omission causes deployment failure)
- Marketplace certification policy 300.4.8 (for managed applications)
First-party platform images (e.g., Windows Server, Ubuntu from Canonical) do NOT require a plan block.
Patterns
1. Plan Block Placement
The plan block is a top-level property of the VM resource, sibling of properties:
2. Field Mapping (Critical)
| plan field | maps to | example | |
|---|---|---|---|
plan.publisher | imageReference.publisher | redhat | |
plan.product | imageReference.offer | rhel-byos | |
plan.name | imageReference.sku | rhel-lvm9-gen2 |
3. ARM/JSON Format
4. Terms Acceptance (Pre-Deployment)
5. RHEL BYOS Specific Coordinates
| Field | Value | |
|---|---|---|
| Publisher | redhat (always lowercase) | |
| Offer | rhel-byos | |
| SKU (RHEL 9 Gen2) | rhel-lvm9-gen2 (verify with az cli) | |
| Version | latest |
Examples
Complete RHEL 9 BYOS VM in Bicep
Anti-Patterns
- Omitting plan block for marketplace images → deployment will fail with "MarketplacePurchaseEligibilityFailed" or similar
- Using `plan` for first-party images → deployment may fail; plan is only for 3rd-party/BYOS
- Mismatched plan/imageReference values → plan.product must equal imageReference.offer, plan.name must equal imageReference.sku
- Hardcoding SKUs without verification → SKU names change; always validate with
az vm image list-skus - Forgetting terms acceptance → programmatic deployment requires
az vm image terms acceptbefore first use - Using BYOS without Red Hat Cloud Access → BYOS images are private offers; subscription must be enrolled
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.squad/skills/marketplace-vm-plan/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jmservera/managed-app-ci-example/marketplace-vm-plan)