MCPInstall

deploy-site

Deploys an existing Power Pages site to a Power Pages environment using PAC CLI. Routes SPA sites to the existing build and upload-code-site workflow, and PAC-downloaded non-SPA (classic) sites to an isolated upload workflow with explicit data-model and website-identity checks. Handles tooling verification, authentication, environment confirmation, upload approval, and verification. Use when the user wants to deploy, upload, publish, or push either site type.

Installs
232
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/microsoft/power-platform-skills --skill deploy-site
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads deploy-site automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Plugin check: Run node "${PLUGIN_ROOT}/scripts/check-version.js" — if it outputs a message, show it to the user before proceeding.

Deploy Power Pages Site

Route to the correct deployment workflow before running SPA build, attachment, or activation logic.

Core Principles

  • Verify before acting: Always confirm PAC CLI availability, authentication status, and the target environment before attempting any deployment.
  • Use TaskCreate/TaskUpdate: Track all progress throughout all phases — create the todo list upfront with all phases before starting any work.
  • Never change environment settings without consent: If deployment requires modifying environment configuration (e.g., unblocking JavaScript attachments), always explain the change and get explicit user permission first.

Initial request: $ARGUMENTS


Site-Type Routing

Classify explicit request signals first:

  • React, Vue, Angular, Astro, SPA, code site, or powerpages.config.json → SPA site
  • non-SPA, classic, traditional, declarative, Enhanced, EDM, Standard data model, .portalconfig, or website.yml → Non-SPA site

When the request is not explicit, search the current workspace for:

  • SPA roots containing powerpages.config.json;
  • non-SPA roots containing both .portalconfig/ and website.yml, including a nested .powerpages-site/.

Exclude dependency, build-output, temporary, generated-output, and version-control directories. Use request paths and the current directory to resolve one project. Never choose the first result arbitrarily.

<!-- gate: deploy-site:0.project-type | category=plan | cancel-leaves=nothing -->

🚦 Gate (plan · deploy-site:0.project-type): Select the exact project when SPA and non-SPA sites, or multiple valid roots, remain possible.

Trigger: Project type or root is ambiguous after discovery. Why: The two site types require incompatible PAC upload commands. Cancel leaves: Nothing; no build or upload has started.

If ambiguous, use AskUserQuestion to select the exact project root and detected type.

  • Non-SPA site: Read and follow ${PLUGIN_ROOT}/skills/deploy-site/workflows/non-spa-site.md. Do not continue into the SPA phases below.
  • SPA site: Continue with the existing workflow below.

Non-SPA upload approval

The authoritative markers and prompts live in workflows/non-spa-site.md. Gate deploy-site:non-spa-4.permissions-audit handles permission-sensitive changes before upload. Gate deploy-site:non-spa-5.upload approves the exact root, environment, website identity, model, and local change summary immediately before upload.

SPA-Site Deployment Workflow

The following phases retain the existing SPA behavior.


Phase 1: Verify PAC CLI

Goal: Ensure PAC CLI is installed and available on the system PATH

Actions:

  1. Create todo list with all 6 phases (see Progress Tracking table)

  2. Run pac help to check if the PAC CLI is installed and available on the system PATH.

    pac help
    
  3. If the command succeeds: PAC CLI is installed. Proceed to Phase 2.

  4. If the command fails (command not found / not recognized):

    1. Inform the user that PAC CLI is required but not installed.

    2. Fetch installation instructions from https://aka.ms/PowerPlatformCLI using the following approach:

      • Tell the user: "PAC CLI is not installed. You can install it by running:"

        dotnet tool install --global Microsoft.PowerApps.CLI.Tool
        
      • If dotnet is also not available, direct the user to https://aka.ms/PowerPlatformCLI for full installation instructions including .NET SDK setup.

    3. After installation, verify by running pac help again.

    4. If it still fails, stop and ask the user to resolve the installation manually.

Output: PAC CLI installed and verified


Phase 2: Verify Authentication

Goal: Ensure the user is authenticated with PAC CLI and has a valid session

Actions:

  1. Run pac auth who to check the current authentication status.

    pac auth who
    
  2. If authenticated: Extract the following values from the output:

    • Environment name and URL
    • Environment ID — the GUID after Environment ID:
    • Cloud — the value after Cloud: (e.g., Public, UsGov, UsGovHigh, UsGovDod, China)

    Proceed to Phase 3.

  3. If not authenticated:

    1. Inform the user they are not authenticated with PAC CLI.
    <!-- not-a-gate: free-text env URL fallback when PAC CLI auth is missing — data-gathering, no destructive action -->
    1. Use AskUserQuestion to ask for the environment URL:

      QuestionHeaderOptions
      You are not authenticated with PAC CLI. Please provide your Power Pages environment URL (e.g., https://org12345.crm.dynamics.com) so I can authenticate you.Auth(free text input via "Other")

      Provide two placeholder options to guide the user:

      • "I'll paste the URL" (description: "Select 'Other' below and paste your environment URL")
      • "I don't know my URL" (description: "You can find it in the Power Platform admin center under Environments > your environment > Environment URL")
    2. Once the user provides the URL, run the authentication command:

      pac auth create --environment "<USER_PROVIDED_URL>"
      

      This will open a browser window for the user to sign in.

    3. After the command completes, verify by running pac auth who again.

    4. If authentication succeeds, proceed to Phase 3.

    5. If authentication fails, present the error to the user and help them troubleshoot.

Output: Authenticated PAC CLI session with environment name and URL extracted


Phase 3: Confirm Environment

Goal: Ensure the user is deploying to the correct target environment

Actions:

<!-- gate: deploy-site:3.confirm-env | category=consent | cancel-leaves=nothing -->

🚦 Gate (consent · deploy-site:3.confirm-env): Echo the current environment and require explicit confirmation before any upload. Covers the follow-up "pick a different env" sub-prompt in the same section — wrong-env deploys are the #1 destructive shared-state failure for this skill, so this gate must fire even when PAC CLI shows a recognizable env.

Trigger: Phase 3 entry; environment resolved from PAC CLI. Why we ask: Site uploaded to wrong tenant / wrong env — committed to a Dataverse instance the user did not intend; cleanup requires manual deletion or another deploy from a different env. Cancel leaves: Nothing — no upload fired.

  1. Present the current environment information to the user and ask them to confirm.

    Use AskUserQuestion with the following structure:

    QuestionHeaderOptions
    You are currently connected to environment: <ENV_NAME> (<ENV_URL>). Do you want to deploy to this environment?EnvironmentYes, use this environment, No, let me choose a different one
  2. If "Yes, use this environment": Proceed to Phase 4.

  3. If "No, let me choose a different one":

    1. Run pac org list to retrieve all available environments:

      pac org list
      
    2. Parse the output to extract environment names and URLs.

    3. Use AskUserQuestion to present the available environments as options (pick up to 4 most relevant, or let user specify).

    4. Once the user selects an environment, switch to it:

      pac org select --environment "<SELECTED_ENV_ID_OR_URL>"
      
    5. Verify the switch by running pac auth who again.

Output: Confirmed target environment for deployment


Phase 4: Deploy the SPA Site

Goal: Locate the project, build it, and upload to Power Pages

Actions:

4.1 Locate the Project Root

Determine the project root directory. The project root is the directory containing powerpages.config.json. Use Glob to search for it:

**/powerpages.config.json
<!-- gate: deploy-site:4.1.multi-project | category=plan | cancel-leaves=nothing -->

🚦 Gate (plan · deploy-site:4.1.multi-project): More than one powerpages.config.json candidate found — pick the right project to deploy.

Trigger: Phase 4.1 glob returned multiple matches. Why we ask: Wrong project uploaded — pollutes the target env with files from a different site. Cancel leaves: Nothing — no upload fired.

If found in the current working directory or a subdirectory, use that directory as PROJECT_ROOT. If multiple are found, ask the user which one to deploy using AskUserQuestion.

If not found, ask the user to provide the path to the project root.

4.2 Offer Permissions Audit (Redeployments Only)

If .powerpages-site already exists (i.e., this is not the first deployment), table permissions and site settings may have drifted from the code since the last deployment. Offer to audit before deploying.

<!-- gate: deploy-site:4.2.audit-permissions | category=plan | cancel-leaves=nothing -->

🚦 Gate (plan · deploy-site:4.2.audit-permissions): Re-deployment detected — offer to run /audit-permissions to catch drift between code and table permissions before push.

Trigger: .powerpages-site exists (not first deployment). Why we ask: Stale permission YAML deploys, causing 403s for users until next audit run. Cancel leaves: Nothing — audit is read-only; declining just proceeds to build + upload.

Use AskUserQuestion:

QuestionHeaderOptions
This site has been deployed before. Would you like to run a permissions audit to verify table permissions match your current code before deploying?AuditYes, audit permissions (Recommended), Skip — permissions are up to date

If "Yes": Invoke /audit-permissions to run the audit. After the audit completes, resume with Step 4.3. If "Skip": Proceed to Step 4.3.

If .powerpages-site does not exist (first deployment), skip this step — there are no existing permissions to audit.

4.3 Build the Site

Before uploading, ensure the site is built:

cd "<PROJECT_ROOT>"
npm run build

If the build fails, stop and help the user fix the build errors before retrying.

4.4 Upload to Power Pages

Run the upload command:

pac pages upload-code-site --rootPath "<PROJECT_ROOT>"

If the upload succeeds: Proceed to Phase 5 to verify the deployment.

If the upload fails: Check the error message:

  • If the failure is related to blocked JavaScript (.js) attachments → proceed to Phase 6
  • If the failure mentions .html type attachments are currently blocked → this is a misleading error. See Troubleshooting: HTML Blocked Attachment Error below
  • For other errors → present the error to the user and help them troubleshoot

Output: Site built and uploaded to Power Pages


Phase 5: Verify Deployment

Goal: Confirm the deployment was successful and handle post-deployment steps

Actions:

5.1 Verify .powerpages-site Folder

Confirm .powerpages-site exists and list its contents (web-roles/, site-settings/, table-permissions/).

5.2 Record Skill Usage

Reference: ${PLUGIN_ROOT}/references/skill-tracking-reference.md

Follow the skill tracking instructions in the reference to record this skill's usage. Use --skillName "DeploySite".

5.3 Confirm Upload Output

Review the output from the pac pages upload-code-site command in Phase 4 (or Phase 6 retry). Verify it reported a successful upload with no errors.

5.4 Commit Changes

Stage and commit deployment artifacts:

git add -A
git commit -m "Deploy site to Power Pages"

5.5 Check Activation Status

Run the activation status check:

node "${PLUGIN_ROOT}/scripts/check-activation-status.js" --projectRoot "<PROJECT_ROOT>"

Evaluate the JSON result:

  • If activated is true: Inform the user their site is already activated (show websiteUrl if present). Proceed to step 5.6, then skip to Suggest Next Steps. Do NOT ask about activation.
  • If activated is false: Proceed to step 5.5.1.
  • If error is present: Fall back to step 5.5.1. Do not block the deployment flow.

5.5.1 Ask About Activation (only if site is NOT already activated)

<!-- gate: deploy-site:5.5.1.activate | category=plan | cancel-leaves=nothing -->

🚦 Gate (plan · deploy-site:5.5.1.activate): Site deployed but not yet activated — offer to invoke /activate-site to provision the subdomain.

Trigger: Phase 5.5 detected activated:false on a fresh deploy. Why we ask: Auto-activating writes the wrong subdomain (permanent for the site); auto-skipping leaves the site without a live URL. Cancel leaves: Nothing — no activation API call fired.

Ask the user if they want to activate the site using AskUserQuestion:

QuestionHeaderOptions
Site deployed successfully! Would you like to activate (provision) the site now so it gets a live URL?ActivateActivate now (Recommended) — Provision the site with a subdomain and make it live, Skip for now — I'll activate later

If "Activate now": Invoke the /activate-site skill. After activation completes, proceed to step 5.6 to clear the site cache. If "Skip for now": Suggest next steps (see Suggest Next Steps).

5.6 Clear Site Cache (Only If Activated)

After confirming the site is activated (either it was already activated in step 5.5, or the user just activated it in step 5.5.1), offer to clear the runtime cache so the deployed changes are immediately visible.

Prerequisites: The site must be activated and the project root must be known (from Phase 4.1).

<!-- gate: deploy-site:5.6.restart-cache | category=plan | cancel-leaves=nothing -->

🚦 Gate (plan · deploy-site:5.6.restart-cache): Restart the deployed site to flush its runtime cache. Brief production downtime (a few seconds) — explicit user consent required even though the action is recoverable.

Trigger: Site confirmed activated (either pre-existing or just activated in 5.5.1). Why we ask: Production users see stale content for several minutes until cache TTL expires. Cancel leaves: Nothing — the deploy itself already succeeded; cache will refresh on its own.

Use AskUserQuestion to confirm before proceeding:

QuestionHeaderOptions
Would you like to restart the site so your latest changes are immediately visible? This may cause a brief downtime (a few seconds).RestartYes, restart site (Recommended), Skip — I'll restart later

If "Skip": Skip to Suggest Next Steps.

If "Yes": Run the cache-clearing script, passing the project root:

node "${PLUGIN_ROOT}/scripts/clear-site-cache.js" --projectRoot "<PROJECT_ROOT>"

The script reads siteName from powerpages.config.json, looks up the website via the Power Platform API, and restarts it to flush the runtime cache.

Evaluate the result:

  • If success is true: Inform the user: "Site cache cleared — your latest changes should now be visible at <websiteUrl>."
  • If success is false: Warn the user that cache clearing failed and show the error, but do not block the deployment flow. The deployment itself succeeded; cache will eventually refresh on its own. Suggest the user can manually clear cache from the Power Pages admin center if needed.

Output: Deployment verified, changes committed, activation offered, cache cleared


Phase 6: Handle Blocked JavaScript

Goal: Resolve blocked JavaScript attachment errors and retry deployment

Actions:

6.1 Explain the Issue

Tell the user:

"The upload failed because JavaScript (.js) file attachments are blocked in your Power Pages environment. This is a security setting that prevents uploading .js files. To deploy a SPA site, this restriction needs to be relaxed for .js files."

6.2 Ask for Permission

<!-- gate: deploy-site:6.2.unblock-js | category=consent | cancel-leaves=attachment-block-modified -->

🚦 Gate (consent · deploy-site:6.2.unblock-js): Reactive blockedattachments modification — destructive shared-state change (tenant-wide env setting). Same shape as deploy-pipeline:7.6.2.blocked-attachments.

Trigger: Upload failed with the blocked-.js error. Why we ask: Auto-unblocking modifies a tenant security setting without explicit consent — visible across the entire environment, not just this site. Cancel leaves: attachment-block-modified is only possible if the user approved and then a downstream step partial-completed. Pure Cancel here leaves nothing — the original blockedattachments value is untouched.

Use AskUserQuestion:

QuestionHeaderOptions
Would you like to remove the JavaScript (.js) block from the environment's blocked attachments list? This is required to deploy SPA sites.Unblock JSYes, remove the .js block (Recommended), No, do not change environment settings

If "No": Stop and inform the user that the deployment cannot proceed without unblocking .js attachments.

If "Yes": Proceed to 6.3.

6.3 Update Blocked Attachments

  1. Run pac env list-settings to retrieve the current environment settings:

    pac env list-settings
    
  2. Find the blockedattachments property in the output. It will contain a semicolon-separated list of file extensions (e.g., ade;adp;app;asa;ashx;asmx;asp;bas;bat;cdx;cer;chm;class;cmd;com;config;cnt;cpl;crt;csh;der;dll;exe;fxp;hlp;hta;htr;htw;ida;idc;idq;inf;ins;isp;its;js;jse;ksh;lnk;mad;maf;mag;mam;maq;mar;mas;mat;mau;mav;maw;mda;mdb;mde;mdt;mdw;mdz;msc;msh;msh1;msh1xml;msh2;msh2xml;mshxml;msi;msp;mst;ops;pcd;pif;prf;prg;printer;pst;reg;rem;scf;scr;sct;shb;shs;shtm;shtml;soap;stm;tmp;url;vb;vbe;vbs;vsmacros;vss;vst;vsw;ws;wsc;wsf;wsh).

  3. Remove js from the list. Parse the semicolon-separated values, filter out js, and rejoin with semicolons.

  4. Update the setting:

    pac env update-settings --name blockedattachments --value "<UPDATED_LIST_WITHOUT_JS>"
    
  5. Confirm the update was successful.

6.4 Retry Upload

Run the upload command again:

pac pages upload-code-site --rootPath "<PROJECT_ROOT>"

If it succeeds: Proceed to Phase 5 to verify the deployment.

If it fails again with a different error, present the error to the user and help troubleshoot.

Output: JavaScript unblocked and site deployed successfully


Troubleshooting: HTML Blocked Attachment Error

If the upload fails with an error like:

Error: Unable to upload webfile name 'index.html' with record Id <GUID> as '.html' type attachments are currently blocked on this environment.

This error is misleading. The .html extension is not actually blocked — the real cause is a stale environment manifest file in the .powerpages-site folder. This manifest maps local files to Dataverse record IDs from a previous upload. When the mapping becomes outdated (e.g., after environment changes or record deletions), the upload fails with this confusing error.

Fix

  1. Locate the environment-specific manifest file in the .powerpages-site folder. It follows the naming pattern <environment-host>-manifest.yml (e.g., demo1.crm.dynamics.com-manifest.yml). Use your file-search tool (e.g., Glob with pattern <PROJECT_ROOT>/.powerpages-site/*-manifest.yml) to find it.

  2. Delete the manifest file at <PROJECT_ROOT>/.powerpages-site/<environment-host>-manifest.yml.

  3. Retry the upload:

    pac pages upload-code-site --rootPath "<PROJECT_ROOT>"
    

If the retry succeeds, proceed to Phase 5. If it fails with a different error, present the error to the user and help them troubleshoot.

Important: Do NOT attempt to unblock .html in the environment's blocked attachments list — the error is not caused by the attachment block setting.


Suggest Next Steps

If the user skips activation (or after activation completes), suggest:

  • /activate-site — Provision the site with a subdomain and make it live (if not already activated)
  • /test-site — Test the deployed site in the browser (verify pages load, check API calls)
  • /audit-permissions — Audit table permissions against current code (recommended after redeployments)
  • /setup-datamodel — Create Dataverse tables for dynamic content
  • /add-seo — Add meta tags, robots.txt, sitemap.xml, favicon

Important Notes

NEVER Use pac pages upload

Always use pac pages upload-code-site — never use pac pages upload. The pac pages upload command is designed for portal-studio-style sites and will corrupt SPA site metadata if used on a SPA site project. This applies to every upload step in this skill (Phase 4.4, Phase 6.4, and troubleshooting retries).

Throughout All Phases

  • Use TaskCreate/TaskUpdate to track progress at every phase
  • Ask for user confirmation at key decision points (see list below)
  • Present errors clearly — when a command fails, show the user the relevant error output and explain what went wrong before suggesting fixes

Key Decision Points (Wait for User)

  1. After Phase 2: If not authenticated, get environment URL from user
  2. At Phase 3: Confirm or switch the target environment
  3. At Phase 4.1: If multiple powerpages.config.json found, ask which project to deploy
  4. At Phase 4.2: Audit permissions now or skip (redeployments only)
  5. At Phase 5.5: Activate site now or later
  6. At Phase 6: Get permission before modifying blocked attachments setting

Progress Tracking

Before starting Phase 1, create a task list with all phases using TaskCreate:

Task subjectactiveFormDescription
Verify PAC CLI installationVerifying PAC CLICheck if PAC CLI is installed, install if missing
Verify authenticationVerifying authenticationCheck current auth status, authenticate if needed
Confirm target environmentConfirming environmentShow current environment, let user confirm or switch
Deploy the SPA siteDeploying siteLocate project root, build, and upload via pac pages upload-code-site
Verify deploymentVerifying deploymentConfirm .powerpages-site folder exists, review upload output, commit changes, offer activation
Handle blocked JavaScriptResolving JS blockIf upload fails due to blocked JS, offer to unblock and retry

Mark each task in_progress when starting it and completed when done via TaskUpdate. Phase 6 may be marked completed immediately if no JavaScript blocking issue is encountered. This gives the user visibility into progress and keeps the workflow deterministic.


Begin with Phase 1: Verify PAC CLI

FAQ

What does the deploy-site skill do?

Deploys an existing Power Pages site to a Power Pages environment using PAC CLI. Routes SPA sites to the existing build and upload-code-site workflow, and PAC-downloaded non-SPA (classic) sites to an isolated upload workflow with explicit data-model and website-identity checks. Handles tooling verification, authentication, environment confirmation, upload approval, and verification. Use when the user wants to deploy, upload, publish, or push either site type.

How do I install deploy-site?

Run npx skills add https://github.com/microsoft/power-platform-skills --skill deploy-site in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/deploy-site/ (personal) or .claude/skills/deploy-site/ (project).

Which AI agents can use deploy-site?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is deploy-site safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains deploy-site?

It is published by microsoft in microsoft/power-platform-skills, and it is an official skill from the maker of the technology it covers. It has 232 recorded installs.

More from microsoft/power-platform-skills

View all →

add-sharepoint

microsoft/power-platform-skills

Open the skill to read its SKILL.md instructions.

Official337 installs

create-code-app

microsoft/power-platform-skills

Creates Power Apps code apps using React and Vite. Use when building code apps, scaffolding projects, or deploying to Power Platform.

OfficialFrontend & Design308 installs

add-dataverse

microsoft/power-platform-skills

Adds Dataverse tables to a Power Apps code app with generated TypeScript models and services. Can also create new Dataverse tables. Use when connecting to Dataverse, adding tables, creating schema, or querying Dataverse data.

OfficialCode Quality & Workflow304 installs

configure-canvas-mcp

microsoft/power-platform-skills

Open the skill to read its SKILL.md instructions.

OfficialAI & Agents296 installs

add-office365

microsoft/power-platform-skills

Open the skill to read its SKILL.md instructions.

Official289 installs

canvas-app

microsoft/power-platform-skills

Open the skill to read its SKILL.md instructions.

Official284 installs

Popular devops & cloud skills

View category →

microsoft-foundry

microsoft/azure-skills

Build, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and resources end to end. USE FOR: foundry, azd ai agent, azd provision/deploy, hosted agent scaffold/develop/run/deploy/troubleshoot, prompt agent create, managed harness agent create, GitHub Copilot harness agent, create agent, update agent, add tool to agent, invoke agent, agent insights, evaluate agent, batch eval, continuous eval, continuous monitoring, agent CI/CD, optimize prompt, improve prompt, optimize agent instructions, Agent Optimizer scaffold, dataset curation from traces, deploy model, model fine-tuning (SFT/DPO/RFT), Foundry project, RBAC, role assignment, permissions, quota, capacity, region, deployment failure, AI Services, create Foundry resource, knowledge index, customize deployment, onboard, availability, training-data, grader, distillation, large file upload. DO NOT USE FOR: Azure Functions, App Service, general Azure deploy (use azure-deploy), general Azure prep (use azure

OfficialDevOps & Cloud579.1K installs

azure-diagnostics

microsoft/azure-skills

Debug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe triage. WHEN: debug production issues, troubleshoot app service, app service high CPU, app service deployment failure, troubleshoot container apps, container app 503 or target port mismatch, troubleshoot functions, function telemetry missing or stopped after a config/connection-string change, troubleshoot AKS, VM RDP, Linux SSH, VM black screen, can't connect to VM, reset VM password, NSG or firewall blocking, kubectl cannot connect, kube-system/CoreDNS failures, pod pending, crashloop, node not ready, upgrade failures, analyze logs, KQL, insights, image pull failures, cold start issues, health probe failures, resource health, root cause of errors, troubleshoot event hubs, troubleshoot service bus, messaging SDK error, AMQP connection failure, message lock lost, lock renewal during long-running processing, service bus dead letter.

OfficialDevOps & Cloud569.8K installs

azure-prepare

microsoft/azure-skills

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.

OfficialDevOps & Cloud569K installs

azure-ai

microsoft/azure-skills

Use for Azure AI: Search, Speech, OpenAI, Document Intelligence. Helps with search, vector/hybrid search, speech-to-text, text-to-speech, transcription, OCR. WHEN: AI Search, query search, vector search, hybrid search, semantic search, speech-to-text, text-to-speech, transcribe, OCR, convert text to speech.

OfficialDevOps & Cloud568.8K installs

azure-deploy

microsoft/azure-skills

Execute Azure deployments for ALREADY-PREPARED applications that have existing .azure/deployment-plan.md and infrastructure files. DO NOT use this skill when the user asks to CREATE a new application — use azure-prepare instead. This skill runs azd up, azd deploy, terraform apply, and az deployment commands with built-in error recovery. Requires .azure/deployment-plan.md from azure-prepare and validated status from azure-validate. WHEN: "run azd up", "run azd deploy", "execute deployment", "push to production", "push to cloud", "go live", "ship it", "bicep deploy", "terraform apply", "publish to Azure", "launch on Azure". DO NOT USE WHEN: "create and deploy", "build and deploy", "create a new app", "set up infrastructure", "create and deploy to Azure using Terraform" — use azure-prepare for these.

OfficialDevOps & Cloud568.6K installs

azure-validate

microsoft/azure-skills

Pre-deployment validation for Azure readiness. Run deep checks on configuration, infrastructure (Bicep or Terraform), RBAC role assignments, managed identity permissions, and prerequisites before deploying. WHEN: validate my app, check deployment readiness, run preflight checks, verify configuration, check if ready to deploy, validate azure.yaml, validate Bicep, test before deploying, troubleshoot deployment errors, validate Azure Functions, validate function app, validate serverless deployment, verify RBAC roles, check role assignments, review managed identity permissions, what-if analysis, validate Container Apps deployment.

OfficialDevOps & Cloud568K installs