Skill · em Publicar e operar

azure-prepare

Prepare azd-based Azure projects for deployment: generates azure.yaml, infrastructure (Bicep/Terraform), and Dockerfiles for the Azure Developer CLI (azd) workflow. USE ONLY when the user explicitly wants to use azd as the deployment tool, or the project already has an azure.yaml file. DO NOT USE…

Procedência

Antes de instalar

166 arquivos · 556,7 KB · inclui 2 scripts que executam: references/services/sql-database/scripts/grant-sql-access.ps1, references/services/sql-database/scripts/grant-sql-access.sh

Instalar na sua CLI

O comando baixa a versão fixada (commit 117b038) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.

Claude Code

Neste projeto: Esta skill tem 166 arquivos: grande demais para um comando de copiar e colar. Baixe da origem, na versão fixada.

Global: Esta skill tem 166 arquivos: grande demais para um comando de copiar e colar. Baixe da origem, na versão fixada.

Codex

Neste projeto: Esta skill tem 166 arquivos: grande demais para um comando de copiar e colar. Baixe da origem, na versão fixada.

Global: Esta skill tem 166 arquivos: grande demais para um comando de copiar e colar. Baixe da origem, na versão fixada.

Antigravity

Neste projeto: Esta skill tem 166 arquivos: grande demais para um comando de copiar e colar. Baixe da origem, na versão fixada.

Global: Esta skill tem 166 arquivos: grande demais para um comando de copiar e colar. Baixe da origem, na versão fixada.

Peça ao Rook

Já usa o Rook Labs? Cole no chat do Rook: instale a skill https://rooklabs.sh/marketplace/microsoft.azure-skills.azure-prepare

Prévia do SKILL.md

---
name: azure-prepare
description: "Prepare azd-based Azure projects for deployment: generates azure.yaml, infrastructure (Bicep/Terraform), and Dockerfiles for the Azure Developer CLI (azd) workflow. USE ONLY when the user explicitly wants to use azd as the deployment tool, or the project already has an azure.yaml file. DO NOT USE FOR: non…
license: MIT
metadata:
  author: Microsoft
  version: "1.3.4"
---

# Azure Prepare

> **AUTHORITATIVE GUIDANCE — MANDATORY COMPLIANCE**
>
> This document is the **official, canonical source** for preparing applications for Azure deployment. You **MUST** follow these instructions exactly as written unless they contradict security policies given to you. When in doubt, present the conflicting instructions from this document and ask the user for explicit con…

---

## Triggers

Activate this skill when user wants to:
- Create a new application
- Add services or components to an existing app
- Make updates or changes to existing application
- Modernize or migrate an application
- Set up Azure infrastructure
- Deploy to Azure or host on Azure
- Create and deploy to Azure (including Terraform-based deployment requests)

## Rules

1. **Plan first — MANDATORY** — You MUST physically write an initial `.azure/deployment-plan.md` **skeleton in the workspace root directory** (not the session-state folder) **as your very first action** — before any code generation or execution begins. Write the skeleton immediately, then populate it progressively as P…
2. **Get approval** — Present plan to user before execution
3. **Research before generating** — Load references and invoke related skills
4. **Update plan progressively** — Mark steps complete as you go
5. **Validate before deploy** — Invoke azure-validate before azure-deploy
6. **Confirm Azure context** — Use `ask_user` for subscription and location per [Azure Context](references/azure-context.md)
7. ❌ **Destructive actions require `ask_user`** — [Global Rules](references/global-rules.md)
8. ⛔ **NEVER delete user project or workspace directories** — When adding features to an existing project, MODIFY existing files. `azd init -t <template>` is for NEW projects only; do NOT run `azd init -t` in an existing workspace. Plain `azd init` (without a template argument) may be used in existing workspaces when a…
9. **Scope: preparation only** — This skill generates infrastructure code and configuration files. Deployment execution (`azd up`, `azd deploy`, `terraform apply`) is handled by the **azure-deploy** skill, which provides built-in error recovery and deployment verification.
…

Ver todo o marketplace