azure-static-web-apps

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

github ↓ 8.8k
Claude Code
View source ↗

What it does

  • Local emulator with API proxy and auth simulation
  • Framework auto-detection and configuration
  • Direct deployment to Azure
  • Database connections support
  • 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
  • Run swa init for interactive setup with framework detection

Requirements & configuration

  • swa deploy --deployment-token <TOKEN> # Use deployment token
  • Get deployment token:
  • Azure Portal: Static Web App → Overview → Manage deployment token
  • CLI: swa deploy --print-token
  • --deployment-token, -d - Deployment token

Configuration: SWA_CLI_DEPLOYMENT_TOKENAZURE_STATIC_WEB_APPS_API_TOKEN

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

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

Source

Repository: https://github.com/github/awesome-copilot

azure-static-web-apps FAQ

What does the azure-static-web-apps skill do?

Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development, configuring staticwebapp.config.json, adding Azure Functions APIs to SWA, or setting up GitHub Actions CI/CD for Static Web Apps. Local emulator with API proxy and auth simulation Framework auto-detection and configuration

What does azure-static-web-apps require?

swa deploy --deployment-token <TOKEN> # Use deployment token Get deployment token: Azure Portal: Static Web App → Overview → Manage deployment token CLI: swa deploy --print-token --deployment-token, -d - Deployment token Configuration keys: SWA_CLI_DEPLOYMENT_TOKEN, AZURE_STATIC_WEB_APPS_API_TOKEN.

How do I install azure-static-web-apps?

Run: npx -y skills add https://github.com/github/awesome-copilot --skill azure-static-web-apps --agent claude-code — the source lives at github.com/github/awesome-copilot.

Maintain azure-static-web-apps?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

azure-static-web-apps on getagentictools
[![azure-static-web-apps on getagentictools](https://getagentictools.com/badge/skills/github-awesome-copilot-azure-static-web-apps.svg)](https://getagentictools.com/skills/github-awesome-copilot-azure-static-web-apps?ref=badge)
npx agentictools info skills/github-awesome-copilot-azure-static-web-apps

The second line is the CLI lookup for this page — handy in READMEs and docs.