Azure Functions

Azure Functions

Shows a coding agent how to create serverless Azure Functions with triggers, bindings, authentication and monitoring, using Azure CLI, Node.js and Terraform.

Skill files7 files

references/

scripts/

templates/

SKILL.md99 lines
1
---
2
name: azure-functions
3
description: >
4
Create serverless functions on Azure with triggers, bindings, authentication,
5
and monitoring. Use for event-driven computing without managing
6
infrastructure.
7
---
8
9
# Azure Functions
10
11
## Table of Contents
12
13
- [Overview](#overview)
14
- [When to Use](#when-to-use)
15
- [Quick Start](#quick-start)
16
- [Reference Guides](#reference-guides)
17
- [Best Practices](#best-practices)
18
19
## Overview
20
21
Azure Functions enables serverless computing on Microsoft Azure. Build event-driven applications with automatic scaling, flexible bindings to various Azure services, and integrated monitoring through Application Insights.
22
23
## When to Use
24
25
- HTTP APIs and webhooks
26
- Message-driven processing (Service Bus, Event Hub)
27
- Scheduled jobs and CRON expressions
28
- File and blob processing
29
- Queue-based workflows
30
- Real-time data processing
31
- Microservices and backend logic
32
- Integration with Azure ecosystem services
33
34
## Quick Start
35
36
Minimal working example:
37
38
```bash
39
# Install Azure Functions Core Tools
40
curl https://aka.ms/install-artifacts-ubuntu.sh | bash
41
42
# Login to Azure
43
az login
44
45
# Create resource group
46
az group create --name myapp-rg --location eastus
47
48
# Create storage account (required for Functions)
49
az storage account create \
50
--name myappstore \
51
--location eastus \
52
--resource-group myapp-rg \
53
--sku Standard_LRS
54
55
# Create Function App
56
az functionapp create \
57
--resource-group myapp-rg \
58
--consumption-plan-location eastus \
59
--runtime node \
60
--runtime-version 18 \
61
--functions-version 4 \
62
--name myapp-function \
63
--storage-account myappstore
64
// ... (see reference guides for full implementation)
65
```
66
67
## Reference Guides
68
69
Detailed implementations in the `references/` directory:
70
71
| Guide | Contents |
72
|---|---|
73
| [Azure Function Creation with Azure CLI](references/azure-function-creation-with-azure-cli.md) | Azure Function Creation with Azure CLI |
74
| [Azure Function Implementation (Node.js)](references/azure-function-implementation-nodejs.md) | Azure Function Implementation (Node.js) |
75
| [Azure Functions with Terraform](references/azure-functions-with-terraform.md) | Azure Functions with Terraform |
76
| [Function Bindings Configuration](references/function-bindings-configuration.md) | Function Bindings Configuration |
77
78
## Best Practices
79
80
### ✅ DO
81
82
- Use managed identity for Azure services
83
- Store secrets in Key Vault
84
- Enable Application Insights
85
- Implement idempotent functions
86
- Use durable functions for long-running operations
87
- Handle exceptions and failures
88
- Monitor function execution
89
- Use bindings instead of SDK calls
90
91
### ❌ DON'T
92
93
- Store secrets in code or configuration
94
- Ignore Application Insights
95
- Create functions without error handling
96
- Use blocking operations
97
- Create long-running functions without Durable Functions
98
- Ignore monitoring and logging
99

© AJ Geddes · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 11,965 prompts

More by @OpenSourceBuffGuy

See all
Workflow Automation Specialist prompt image

Workflow Automation Specialist

Finds repetitive tasks to automate, estimates time savings and ROI, and designs no-code workflows with Zapier, Make or native tools within your budget.

system-prompt, expert-advice, workflow-automation, no-code, productivity, zapier, make-com, for-non-coders, for-small-business-owners, beginner-friendly, xml-tags, estimation, planner, guardrails, structured-output, process-improvement, step-by-step-guide, consulting, time-management, office-administration

Giant Soda Can Frozen in Glacier prompt image

Giant Soda Can Frozen in Glacier

Draws a monumental soda can frozen in blue glacial ice in an arctic landscape, with a snowcat and tiny scientists for scale, as a cinematic low-angle advertising photo.

image-prompt, photorealistic, cinematic, low-angle, wide-shot, product-photography, advertising, winter, landscape, surreal, forced-perspective, vertical-format, soft-lighting, natural-light, muted-colors, prompt-weights, nano-banana

Werewolf hero clashes with jungle behemoth prompt image

Werewolf hero clashes with jungle behemoth

Directs a 30-second photorealistic creature-action film in which a hero turns into a werewolf and fights a moss-armored jungle behemoth, with character locks and timed beats.

video-prompt, action, creatures, fantasy-world, character-consistency, timed-beats, multi-shot, transformation, visual-effects, slow-motion, cinematic, photorealistic, forest, rain, dramatic-lighting, seedance, camera-movement, tracking-shot, long-form, structured-output, guardrails, martial-arts, film-score, reference-to-video

Reviews

Loading reviews…

Discussion

Loading comments…