AgentSkillsCN

azure-functions

精通Azure Functions开发模式,包括隔离工作器模型、Durable Functions编排、冷启动优化以及生产环境最佳实践。涵盖.NET、Python与Node.js…

SKILL.md
--- frontmatter
name: azure-functions
description: "Expert patterns for Azure Functions development including isolated worker model, Durable Functions orchestration, cold start optimization, and production patterns. Covers .NET, Python, and Node.js ..."
source: vibeship-spawner-skills (Apache 2.0)

Azure Functions

Patterns

Isolated Worker Model (.NET)

Modern .NET execution model with process isolation

Node.js v4 Programming Model

Modern code-centric approach for TypeScript/JavaScript

Python v2 Programming Model

Decorator-based approach for Python functions

Anti-Patterns

❌ Blocking Async Calls

❌ New HttpClient Per Request

❌ In-Process Model for New Projects

⚠️ Sharp Edges

IssueSeveritySolution
Issuehigh## Use async pattern with Durable Functions
Issuehigh## Use IHttpClientFactory (Recommended)
Issuehigh## Always use async/await
Issuemedium## Configure maximum timeout (Consumption)
Issuehigh## Use isolated worker for new projects
Issuemedium## Configure Application Insights properly
Issuemedium## Check extension bundle (most common)
Issuemedium## Add warmup trigger to initialize your code