All skills
microsoft avatar

/azure-prepare

@b8a1c66
by microsoftmicrosoft/skills3.1k stars
351

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-azd deployments, Python App Service code-only deploys (use python-appservice-deploy), or cross-cloud migration (use azure-cloud-migrate). WHEN: prepare app for azd, create azure.yaml, set up azd infrastructure, modernize app for Azure with azd, deploy with azd, function app, timer trigger, service bus trigger, event-driven function, managed identity, generate Bicep, generate Terraform, create and deploy to Azure.

Use this Skill: https://skilld.dev/gh/microsoft/skills/azure-prepare

This session only. Nothing lands on disk.

referencesservicesfunctionsdurable.md

≈465 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Durable Functions

Long-running orchestrations with checkpointing and state management.

Storage Backend

Durable Functions requires a storage backend to persist orchestration state, queues, and history.

Backend Recommendation Notes
Durable Task Scheduler ✅ Required Fully managed Azure service. Best performance, lowest latency, built-in monitoring. Supports all languages (.NET, Python, Java, JavaScript).
Azure Storage (default) ⛔ Do not use Legacy backend. Higher latency, harder to monitor, no built-in RBAC. Not permitted for new projects.
MSSQL Specialized SQL Server backend. Only when SQL infrastructure already exists and user explicitly requests it.

⛔ MANDATORY: You MUST use Durable Task Scheduler as the storage backend for ALL new Durable Functions projects. Do NOT use Azure Storage as the backend — it is legacy and not permitted. Generate the DTS Bicep module (Microsoft.DurableTask/schedulers + taskHubs), RBAC role assignment (Durable Task Data Contributor), and DURABLE_TASK_SCHEDULER_CONNECTION_STRING app setting. See the Durable Task Scheduler reference for setup, language-specific guidance, and Bicep templates.

When to Use

  • Multi-step workflows
  • Fan-out/fan-in patterns
  • Human interaction workflows
  • Long-running processes

Get Durable Templates

Use the Azure Functions Templates workflow to discover and fetch durable samples:

MCP Tool: functions_template_get(language) → filter resource == "durable"

Fallback: CDN manifest → filter resource == "durable"

Available patterns: Fan-out/Fan-in, Order Processing (with Bicep), Distributed Tracing, Large Payload, Saga, AI Travel Planner, PDF Summarizer, .NET Aspire integration.

Source: SKILL.md on GitHub

2 warnings3d4 checks · Risk SAFE
  • Gen Agent Trust Hub3d

    This skill includes security considerations related to the processing of untrusted project files and the retrieval of external development templates. While these operations are essential for modernizing and preparing Azure applications, they represent a surface area for indirect prompt injection and depend on the integrity of external template repositories.

  • Socket3d

    5 alerts: gptAnomaly, gptSecurity

  • Snyk3d

    Risk: LOW · No issues

  • Runlayer7mo

    86/87 files flagged

Signed by skilld at b8a1c66. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last week
metadata
{
  "author": "Microsoft",
  "version": "1.3.4"
}

README badge

README badge for microsoft/skills/azure-prepare