A
azure-functions
by @sickn33v1.0.0
3.7(0)
"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 ..."
Azure FunctionsServerless ComputingFunction as a Service (FaaS)Event-driven ArchitectureAzure DevelopmentGitHub
安装方式
npx skills add sickn33/antigravity-awesome-skills --skill azure-functionscompare_arrows
Before / After 效果对比
1 组使用前
1传统的函数部署和管理需要配置虚拟机或容器,部署流程复杂,且难以实现按需伸缩和事件驱动。
2```csharp
3// 传统Web API控制器,需要部署到App Service或VM
4public class TraditionalController : ControllerBase
5{
6 [HttpGet("/hello")]
7 public IActionResult GetHello()
8 {
9 return Ok("Hello from traditional API!");
10 }
11}
12```使用后
1使用Azure Functions,可以轻松构建事件驱动的无服务器函数,实现按需执行、自动伸缩,并简化部署和管理。
2```csharp
3// Azure Function,事件驱动的无服务器函数
4using Microsoft.AspNetCore.Http;
5using Microsoft.AspNetCore.Mvc;
6using Microsoft.Azure.Functions.Worker;
7
8public static class HelloFunction
9{
10 [Function("HelloFunction")]
11 public static IActionResult Run([HttpTrigger(AuthorizationLevel.Function, "get", "post")] HttpRequest req)
12 {
13 return new OkObjectResult("Hello from Azure Function!");
14 }
15}
16```description SKILL.md
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 ..." risk: unknown source: "vibeship-spawner-skills (Apache 2.0)" date_added: "2026-02-27"
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
| Issue | Severity | Solution |
|---|---|---|
| Issue | high | ## Use async pattern with Durable Functions |
| Issue | high | ## Use IHttpClientFactory (Recommended) |
| Issue | high | ## Always use async/await |
| Issue | medium | ## Configure maximum timeout (Consumption) |
| Issue | high | ## Use isolated worker for new projects |
| Issue | medium | ## Configure Application Insights properly |
| Issue | medium | ## Check extension bundle (most common) |
| Issue | medium | ## Add warmup trigger to initialize your code |
When to Use
This skill is applicable to execute the workflow or actions described in the overview.
forum用户评价 (0)
发表评价
效果
易用性
文档
兼容性
暂无评价,来写第一条吧
统计数据
安装量323
评分3.7 / 5.0
版本1.0.0
更新日期2026年3月16日
对比案例1 组
用户评分
3.7(0)
5
0%
4
0%
3
0%
2
0%
1
0%
为此 Skill 评分
0.0
兼容平台
🔧Claude Code
时间线
创建2026年3月16日
最后更新2026年3月16日