azure-static-web-apps

Automate Azure Static Web Apps setup, local development, and deployment with the SWA CLI.

3|Updated Jul 25, 2025
One-click install
npx skills add https://github.com/tfsugjp/csharptemplate --skill azure-static-web-apps-tfsugjp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-static-web-apps
Source: https://github.com/tfsugjp/csharptemplate/tree/main/.github/skills/azure-static-web-apps
Command: npx skills add https://github.com/tfsugjp/csharptemplate --skill azure-static-web-apps-tfsugjp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

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

Core Features & Use Cases

  • Local emulator with API proxy and auth simulation
  • Framework auto-detection and configuration
  • Direct deployment to Azure
  • Database connections support
  • Use Case: Set up GitHub Actions CI/CD for Static Web Apps and deploy to Azure

Quick Start

Install the SWA CLI, run swa init to configure the project, and start the local emulator with swa start.

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 web app to Azure using the SWA CLI?

The SWA CLI provides a local emulator with API proxy and auth simulation for Azure Static Web Apps. It supports framework auto-detection and configuration, allowing you to test your static frontend and optional serverless API backend locally before deployment.

What is the best way to configure staticwebapp.config.json for an Azure Static Web App?

Configuring staticwebapp.config.json is automated by the SWA CLI's guided workflows. The CLI supports automatic framework detection and helps define routing, authentication, and database connections for your Azure Static Web Apps project.

Does the SWA CLI support local development with API proxy and auth simulation?

Yes, the SWA CLI includes a local emulator with API proxy and auth simulation. This allows you to run and test Azure Static Web Apps locally, simulating serverless API backends and authentication flows before deploying.

Can I set up GitHub Actions CI/CD for Azure Static Web Apps?

You can set up GitHub Actions CI/CD for Azure Static Web Apps using the SWA CLI. It supports guided workflows to configure continuous integration and deployment pipelines, automating the build and release process to Azure.

Do I need to manually specify my frontend framework when running swa init?

You do not need to manually specify your frontend framework when running swa init. The SWA CLI supports automatic framework detection, identifying your project setup and generating the appropriate configuration for deployment.