azure-functions

Implements serverless Azure Functions using .NET Isolated Worker, Node.js v4, and Python v2 models.

Updated Aug 19, 2026
One-click install
npx skills add https://github.com/nperepichka/Antigravity --skill azure-functions-nperepichka
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: azure-functions
Source: https://github.com/nperepichka/Antigravity/tree/main/config/skills/azure-functions
Command: npx skills add https://github.com/nperepichka/Antigravity --skill azure-functions-nperepichka

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building production-grade serverless applications on Azure Functions requires navigating deprecated runtime models, cold start issues, socket exhaustion, and timeout limits across multiple language stacks. This Skill provides expert patterns and anti-pitfall guidance for writing resilient Azure Functions in .NET, Node.js, and Python. ## Core Features & Use Cases - Multi-Language Programming Models: Covers .NET 8/9/10 Isolated Worker with dependency injection, Node.js v4 TypeScript code-centric registration, and Python v2 decorators with output bindings. - Durable Functions Orchestration: Implements fan-out/fan-in orchestration patterns with compensation logic for long-running workflows. - Production Sharp Edges Table: Documents critical anti-patterns like per-invocation HttpClient creation, blocking async calls, and cold start mitigation with severity ratings and fixes. - Use Case: When building an event-driven order processing API on Azure, use this Skill to scaffold an HTTP-triggered function with proper DI, IHttpClientFactory registration, and Application Insights telemetry while avoiding thread pool starvation. ## Quick Start Use the azure-functions skill to create a .NET Isolated Worker HTTP function with dependency injection and proper HttpClient management.

Frequently Asked Questions about azure-functions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an Azure Function with dependency injection in .NET?▼

Use the .NET Isolated Worker model and register services in Program.cs via HostBuilder.ConfigureServices. Inject dependencies like IOrderProcessor or ILogger through the function class constructor, and configure middleware with ConfigureFunctionsWebApplication.

How to write Azure Functions in Node.js without function.json?▼

Use the Node.js v4 programming model, which registers functions directly in code via app.http() from the @azure/functions package. Define the handler, HTTP methods, auth level, and route in a single TypeScript file without any JSON configuration.

Should I use the in-process or isolated worker model for .NET Azure Functions?▼

Use the Isolated Worker model, since the in-process model is deprecated in .NET 8 and later. The isolated model gives full control over Program.cs, dependency injection, middleware pipelines, and independent framework versioning via Microsoft.Azure.Functions.Worker.Sdk.

Why do Azure Functions fail with socket exhaustion under load?▼

Socket exhaustion happens when a new HttpClient is instantiated per invocation. Register clients once with services.AddHttpClient() in Program.cs and inject IHttpClientFactory, or use module-level singleton clients in Node.js and Python.

How do I handle long-running tasks in Azure Functions?▼

Consumption plans default to a 5-minute timeout, configurable to 10 minutes via functionTimeout in host.json. For longer workflows, use Durable Functions orchestration with the async HTTP 202 pattern or move to a Premium plan.

How can I reduce cold start latency in Azure Functions?▼

Cold starts occur when the platform spins up containers dynamically. Mitigate them by using the Flex Consumption or Premium plan, enabling warmup triggers, and minifying deployment bundles.