azure-static-web-apps

Create, emulate, and deploy Azure Static Web Apps with the SWA CLI.

1|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/ajilantony/copilot-agentops --skill azure-static-web-apps-ajilantony
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-static-web-apps
Source: https://github.com/ajilantony/copilot-agentops/tree/main/skills/azure-static-web-apps
Command: npx skills add https://github.com/ajilantony/copilot-agentops --skill azure-static-web-apps-ajilantony

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @azure/static-web-apps-cli, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the creation, configuration, and deployment of Azure Static Web Apps, streamlining the process of hosting modern web applications on Azure.

Core Features & Use Cases

  • Local Development Emulation: Use the SWA CLI to emulate your app locally, including API proxy and authentication simulation.
  • Automated Configuration: Leverage swa init for framework auto-detection and swa-cli.config.json generation.
  • Deployment: Deploy your static frontend and serverless API backend directly to Azure Static Web Apps.
  • Use Case: You have a React frontend and a Node.js API. This Skill helps you set up the local development environment, configure routing and API runtime, and deploy the entire application to Azure Static Web Apps with a single command.

Quick Start

Use the azure-static-web-apps skill to initialize a new SWA project and deploy it to Azure.

Frequently Asked Questions about azure-static-web-apps

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a static site and serverless API to Azure Static Web Apps?

You can deploy a static site and serverless API to Azure Static Web Apps using the SWA CLI, which handles uploading frontend assets and configuring API routes in a single command.

Can I emulate Azure Static Web Apps locally including authentication and API proxy?

Yes, local emulation of Azure Static Web Apps is supported through the SWA CLI, allowing you to simulate API proxy endpoints and authentication flows before deploying.

Do I need npm and Azure CLI to deploy static web apps to Azure?

Yes, you need npm installed to install the SWA CLI package and the Azure CLI to handle authentication when deploying static web apps to Azure.

What is the best way to configure routing for a React frontend deployed to Azure?

The best way to configure routing for a React frontend on Azure is using the SWA CLI to generate a swa-cli.config.json file, which defines routes and API runtime settings.

Does the SWA CLI support automated framework detection for web development?

Yes, the SWA CLI supports automated framework detection during project initialization, automatically identifying frontend frameworks to generate the required configuration files.