Skip to content

About

A repository for Azure Functions skills, prompts, and reusable definitions to support agentic development and operational workflows.

Resources

Code of conduct

Contributing

Security policy

Stars

22 stars

Watchers

0 watching

Forks

Latest commit

 

History

211 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Functions Skills

npm

Azure Functions context for your coding agent. The plugin provides skills, Azure MCP configuration, and telemetry hooks for GitHub Copilot, Claude Code, and Codex.

What & why

Azure Functions Skills equips your coding agent with Functions-specific knowledge — trigger/binding patterns, language anti-patterns, runtime versions, deployment best practices — so the agent gives accurate guidance instead of generic advice.

It is focused on Azure Functions. For deployment of any Azure resource (Functions or otherwise), it delegates to Azure Skills via the azure-functions-deploy skill. The two packages complement each other — see docs/skills-vs-azure-skills.md for the role split.

Prerequisites

Node.js 20+ is necessary for the companion CLI. Everything else (Azure CLI, Core Tools, language runtimes) is checked and guided by the azure-functions-setup skill when environment verification is needed.

Quick Start

Option A: Paste a prompt (preview)

Open GitHub Copilot, Claude Code, or Codex in your project directory and paste:

Read https://aka.ms/azure-functions-starter and follow it to set up Azure Functions Skills in this directory. Use the one-liner for your OS and coding agent; I authorize that one command for this directory only. Do not open a Canvas. Load no other skills until setup is reported; then use the skills it added to this directory.

For Azure Functions Hosted Skills, open the agent in a new, empty directory and paste one of these prompts instead. Each installs the five Hosted Skills and Connector skills together with one official starter sample (Python, azd, Bicep). Pick the trigger your skill reacts to:

  • Timer: a daily blog summarizer with a chat agent.

    Read https://aka.ms/hosted-skills-timer-starter and follow it to set up Azure Functions Hosted Skills in this directory. Use the one-liner for your OS and coding agent; I authorize that one command for this directory only. Do not open a Canvas. Load no other skills until setup is reported; then use the skills it added to this directory.
    
  • Storage queue: support message triage.

    Read https://aka.ms/hosted-skills-queue-starter and follow it to set up Azure Functions Hosted Skills in this directory. Use the one-liner for your OS and coding agent; I authorize that one command for this directory only. Do not open a Canvas. Load no other skills until setup is reported; then use the skills it added to this directory.
    
  • Service Bus: order review.

    Read https://aka.ms/hosted-skills-servicebus-starter and follow it to set up Azure Functions Hosted Skills in this directory. Use the one-liner for your OS and coding agent; I authorize that one command for this directory only. Do not open a Canvas. Load no other skills until setup is reported; then use the skills it added to this directory.
    
  • Blob Storage: document summary.

    Read https://aka.ms/hosted-skills-blob-starter and follow it to set up Azure Functions Hosted Skills in this directory. Use the one-liner for your OS and coding agent; I authorize that one command for this directory only. Do not open a Canvas. Load no other skills until setup is reported; then use the skills it added to this directory.
    
  • Cosmos DB: product change watch.

    Read https://aka.ms/hosted-skills-cosmos-starter and follow it to set up Azure Functions Hosted Skills in this directory. Use the one-liner for your OS and coding agent; I authorize that one command for this directory only. Do not open a Canvas. Load no other skills until setup is reported; then use the skills it added to this directory.
    

The agent runs one installer command. It needs only PowerShell on Windows, or a POSIX shell with curl and tar on macOS and Linux. The installer copies the skills into the workspace (.agents/skills or .claude/skills), adds a telemetry hook, lists missing tools with their install commands, and asks before installing any of them. It never overwrites an existing file. See docs/starter.md for details and for pinning a version.

Option B: Install the plugin with your coding agent

Choose your coding agent and follow its install steps:

GitHub Copilot CLI

Start an interactive Copilot session with copilot, then run:

/plugin marketplace add Azure/azure-functions-skills
/plugin install azure-functions-skills@azure-functions-skills

GitHub Copilot app

  1. Open Settings (the gear icon), then select Plugins.
  2. Select Install to open the plugin installer, then add Azure/azure-functions-skills as a marketplace.
  3. Select azure-functions-skills, review its contents, and confirm the installation.

GitHub Copilot in VS Code (Preview)

  1. Enable the chat.plugins.enabled setting. Your organization may manage this setting.

  2. Add this marketplace to your user settings.json:

    {
      "chat.plugins.marketplaces": [
        "Azure/azure-functions-skills"
      ]
    }
  3. Open the Extensions view (Ctrl+Shift+X or Cmd+Shift+X), search for @agentPlugins, and install azure-functions-skills.

VS Code also discovers plugins installed by GitHub Copilot CLI. See Agent plugins in VS Code for more options.

Claude Code

Start an interactive Claude Code session with claude, then run:

/plugin marketplace add Azure/azure-functions-skills
/plugin install azure-functions-skills@azure-functions-skills

Codex CLI

Add this repository as a plugin marketplace from your terminal:

codex plugin marketplace add Azure/azure-functions-skills

Then start Codex, run /plugins, select azure-functions-skills, and choose Install plugin.

The @azure/functions-skills npm package provides the companion CLI and the telemetry sender. Installing it does not install or launch a coding-agent plugin.

After Option B: verify your prerequisites

Ask your coding agent to run the azure-functions-setup skill. It checks the required Azure Functions tools and language runtimes, then guides you through installing or configuring anything that is missing.

Ask for Azure Functions help

Ask which Azure Functions workflow to use. azure-functions-help discovers the installed azure-functions-* skills and routes to the best match.

More options? See CLI Reference for every command, flag, and headless example.

Companion CLI

The npm package includes a small CLI to list and apply Azure Functions templates:

npx @azure/functions-skills template list --language typescript
npx @azure/functions-skills template apply --template <id> --dir ./my-app

Telemetry

The plugin and built workspace assets include a local telemetry runtime with the Application Insights SDK and its required dependencies. Hooks use Node.js 18 or later to run that payload. They do not run npm or npx, download packages, or load project modules. If Node or the payload is absent, the hook does nothing and returns {"continue":true}. There is no download or install fallback.

Update installed plugins and previously applied workspace assets to receive this change. Existing copies do not update when this source changes.

The same local payload supports deployment observations from the two deployment skills. The telemetry library and CLI commands also remain available for explicit use. Normal deployment and Application Insights monitoring in deployed applications are unchanged.

Usage events accept allowlisted skill/tool names, relative allowlisted Azure Functions skill-file paths, client name, session id, timestamp, how the skills were installed (plugin, workspace, or starter), and the starter bundle name. They do not include file contents, prompts, raw tool arguments, credentials, or absolute paths. The sender uses the Azure Functions team's Application Insights resource, not Azure MCP.

Deployment observation event

The collector supports an azure_deployment_observed event after a successful azd up or standalone azd provision. Each deployment skill calls its local collector once for its own supported command. It carries only seven categorical properties: skill, operation (deploy or provision), result (constant success), resourceTypes (a sorted, de-duplicated list of Microsoft resource-provider types such as microsoft.web/sites), deploymentKind (function-app or hosted-agent), agent (normalized client, or unknown), and skillsVersion (or unknown). The mechanism only observes a successful deployment; it cannot prove a skill caused it.

To confirm success and derive the resource-type breakdown, the collector reads the named Azure Resource Manager deployment's state using your existing Azure CLI sign-in. The azd environment name (which is the deployment name), subscription, resource group, and deployment IDs are sent to Azure Resource Manager only to perform that lookup. They are not included in the telemetry event and are not printed. The event contains no customer names, identifiers, secrets, paths, environment values, or correlation IDs.

The same opt-out mechanisms apply unchanged (see below); when telemetry is disabled the collector performs no ARM queries and sends nothing.

This is an adoption/observation trend, not exact accounting. Phase 1 limitations are intentional and disclosed:

  • The collector looks up the subscription-scope ARM deployment by the environment name and validates it against a bounded 30-minute recency window. The environment name is required for a usable observation, but a missing or invalid name is a valid skip, not an input error: the collector returns skipped before any Azure query. A deployment older than the window or a resource-group-scope deployment also records nothing. Selecting by name makes cross-deployment misattribution unlikely, but re-running after another deployment that reuses the same environment name still refers to the newest deployment of that name.
  • Duplicate collector calls are possible; there is no exactly-once delivery, no durable de-duplication, and no exact funnel or conversion rate.
  • The collector supports only the two canonical skills' azd/Bicep paths.

Application telemetry content is categorical, but HTTPS necessarily exposes the client's network address to the receiving service. This does not promise anonymous transport; the receiving Application Insights service's privacy policy and IP handling apply.

The prompt starter also sends one AzureFunctionsSkillsStarterSetup event when it installs files. It carries only the bundle, template, agent, OS, and skills version. See docs/starter.md.

To opt out, set either AZURE_FUNCTIONS_SKILLS_COLLECT_TELEMETRY=false or AZURE_MCP_COLLECT_TELEMETRY=false in the environment. The local runtime also checks its installed telemetry.config.json and workspace settings under .github/hooks/, .claude/hooks/, and .codex/hooks/. An "enabled": false setting, or an unreadable configuration file, stops collection before queries or sends. The runtime also checks these configuration paths in ancestor directories, so running from a project subdirectory does not bypass the workspace opt-out. The public plugin contains only a non-secret instrumentation key and ingestion endpoint as separate settings, not a stored connection string. It does not contain release credentials.

Skills

For contributor guidance on the product boundary between Azure Skills and Azure Functions Skills, see Azure Skills and Azure Functions Skills Boundary.

Skill Purpose
azure-functions-help Discover and route to the best Azure Functions skill
azure-functions-setup Verify local prerequisites (Azure CLI, Core Tools, runtimes, Azure Skills)
azure-functions-create Create new Functions projects or add functions via Azure MCP templates
azure-functions-update Explicitly selected programming-model and configuration migration workflow; see its scenario table for current coverage
azure-functions-hosted-skills Build cloud-hosted, event-driven intelligent capabilities with Markdown, Functions triggers, code, tools, HTTP, and MCP
azure-functions-hosted-skills-migrate Explicit use by name only: migrate existing skills, chat workflows, agents, code, or instructions; compare Connector/MCP/Python tools, deploy, and test
azure-functions-connector-create Create and authorize least-privilege Connector Namespace connections for Hosted Skills
azure-functions-connector-mcp Generate and register connector MCP tools from authoritative operation metadata
azure-functions-connector-validate Validate connector identity, MCP contracts, side effects, and Hosted Skill integration
azure-functions-deploy Prepare, validate, and deploy via Azure Skills with Functions-specific guidance
azure-functions-best-practices Production-readiness review (config, security, reliability)
azure-functions-diagnostics Investigate deployment, runtime, trigger, binding, logging issues
azure-functions-health-status Collect current health, metrics, logs, Resource Health, Activity Log
azure-functions-inventory Collect app specification and configuration inventory
azure-functions-doctor Pre-deployment check of local code, configuration, and supply-chain risks
azure-functions-common Shared language, trigger, binding, extension, routing references
azure-functions-feedback Turn session findings into previewed issues or pull requests

The azure-functions-help skill provides the discovery and routing entry point.

Start a Go custom-handler migration

Ask your coding agent:

Use azure-functions-update to assess my Go custom handler and save a migration plan only.

The Go migration scenario inventories triggers, bindings, HTTP behavior, configuration, and hosting constraints. It proposes Go worker registrations, identifies bindings that need Azure SDK replacements, and records validation and rollback requirements before code changes. Deployment, hosting-plan changes, and toolchain upgrades remain separately approved work.

Contributing

We welcome contributions. To add or improve a skill, edit the files under templates/skills/, then run npm run build:plugin-payload to regenerate the published plugin payload. The release process delivers the skill to all supported coding agents.

Read CONTRIBUTING.md for the full guide.

Security

Report vulnerabilities to secure@microsoft.com. See SECURITY.md for the threat model and our defense layers.

License

MIT

About

A repository for Azure Functions skills, prompts, and reusable definitions to support agentic development and operational workflows.

Resources

Code of conduct

Contributing

Security policy

Stars

22 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages