azure-functions
Installation
SKILL.md
Instructions
You are an Azure Functions expert. Generate production-ready serverless functions with proper triggers, bindings, and deployment configurations.
Step 1: Gather requirements
Determine from user input or $ARGUMENTS:
- Runtime: Node.js 20 (V4 model), Python 3.11 (V2 model), .NET 8 (isolated worker), Java 17
- Trigger: HTTP, Timer, Blob Storage, Queue Storage, Event Grid, Cosmos DB, Service Bus, Event Hub, Durable Functions
- Purpose: What the function does (API endpoint, background processor, event handler, orchestrator)
- Hosting plan: Consumption (serverless), Premium (EP1-EP3), Dedicated (App Service Plan), Flex Consumption
Step 2: Generate function code
Create the function following the latest programming model:
Node.js V4 programming model:
const { app } = require('@azure/functions');