azure-static-web-apps

Installation
Summary

Deploy static sites and serverless APIs to Azure with local development emulation and CLI automation.

  • Provides local emulator (swa start) with API proxy, authentication simulation, and framework auto-detection for React, Vue, Angular, Next.js, and others
  • Supports Azure Functions backends with Node.js, Python, and .NET runtimes; configure via staticwebapp.config.json for routes, auth rules, and headers
  • Includes deployment workflow: swa init (auto-detects framework), swa build, swa start (local testing), swa login, and swa deploy to Azure
  • Integrates with GitHub Actions for CI/CD; auto-generates workflows or accepts manual configuration with deployment tokens
  • Handles database connections, environment-specific deployments (preview/production), and dry-run previews before pushing live
SKILL.md

Overview

Azure Static Web Apps (SWA) hosts static frontends with optional serverless API backends. The SWA CLI (swa) provides local development emulation and deployment capabilities.

Key features:

  • Local emulator with API proxy and auth simulation
  • Framework auto-detection and configuration
  • Direct deployment to Azure
  • Database connections support

Config files:

  • swa-cli.config.json - CLI settings, created by swa init (never create manually)
  • staticwebapp.config.json - Runtime config (routes, auth, headers, API runtime) - can be created manually

General Instructions

Installation

Related skills

More from github/awesome-copilot

Installs
8.6K
GitHub Stars
32.8K
First Seen
Jan 20, 2026