All skills
Skillintermediate
/setup-functions - Setup Azure Functions
Configure and deploy an Azure Functions application.
Claude Code Knowledge Pack7/10/2026
Overview
/setup-functions - Setup Azure Functions
Configure and deploy an Azure Functions application.
Steps
- Ask the user for the function name, runtime (.NET, Node.js, Python, Java), and trigger type
- Initialize the function app project with the appropriate runtime template
- Create the function handler with the selected trigger binding
- Configure app settings and connection strings for the function
- Set up the hosting plan: Consumption (serverless), Premium, or Dedicated
- Configure authentication and authorization if the function exposes HTTP endpoints
- Set up managed identity for accessing Azure resources without credentials
- Configure Application Insights for monitoring and logging
- Set up input and output bindings: Blob Storage, Queue, Cosmos DB, Event Hub
- Create the deployment configuration: Azure DevOps pipeline or GitHub Actions
- Generate the ARM template or Bicep file for infrastructure as code
- Document: function URL, trigger type, bindings, app settings, scaling behavior
Rules
- Use Consumption plan for event-driven workloads to minimize costs
- Always configure Application Insights for production functions
- Use managed identities instead of connection strings for Azure resource access
- Set function timeout appropriate to the workload (Consumption max: 10 min)
- Configure CORS settings for HTTP-triggered functions called from browsers
- Enable deployment slots for production functions to support zero-downtime deploys
- Store secrets in Azure Key Vault, reference them via app settings