agentleFS
MicrosoftKnown publishermicrosoft/azure-dev-tools/canvases/azure-functions/skills/azure-functions-setup/SKILL.md

azure-functions-setup

Skill11 starsChanged 14 days agoMITView on GitHub

Verify prerequisites and set up your environment for Azure Functions development

  • Installs packages

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Verify that the developer's environment has all prerequisites for Azure Functions development.

    line 10
  2. Distinctive:

    Run each check and report results:

    line 14
  3. Distinctive:

    Run the language checks that match the user's project or stated intent.

    line 27
  4. Very specific:

    If the Azure Skills plugin is missing, install it for the active host before using azure-functions-deploy.

    line 39
  5. Distinctive:

    If the installed Core Tools or Azure CLI is present but below the Go floor, report it as a failing check and give the upgrade command for …

    line 96
  6. Distinctive:

    After the environment check completes, report the checklist and recommend the most relevant next skill.

    line 106
  7. Distinctive:

    When all checks pass, suggest the next step:

    line 108
  8. Very specific:

    If deployment is requested and Azure Skills is missing, keep the user in azure-functions-setup until the Azure Skills plugin is installed …

    line 120

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Language: Always respond in the same language the user is using.

azure-functions-setup — Azure Functions Environment Setup

Verify that the developer's environment has all prerequisites for Azure Functions development.

Checks

Run each check and report results:

az --version        # Azure CLI ≥ 2.60 (≥ 2.87.0 for Go deployments)
azd version         # Azure Developer CLI, required for Azure Skills deployment workflows
func --version      # Azure Functions Core Tools ≥ 4.x (≥ 4.12 for Go projects)
node --version      # Node.js 24 (default) or 22 for Node.js/TypeScript projects
python --version    # Python 3.13 (default) or 3.14 preferred; 3.11-3.14 supported for Python projects
python3 --version   # Use this fallback when python is not on PATH
dotnet --version    # .NET SDK ≥ 8.0 (if .NET project)
go version          # Go 1.24 or later (if Go project; Go is GA on Linux Flex Consumption only)

Run the language checks that match the user's project or stated intent. Do not report a missing Go toolchain as a problem for a Python project, and do not report a missing Python interpreter as a problem for a Go project.

Azure Skills Plugin Check

Azure Functions deployment is proxied through the Azure Skills deployment workflow. For deployment scenarios, verify that the Azure Skills plugin is installed and that these skills are available:

  • azure-prepare
  • azure-validate
  • azure-deploy

How to detect availability: Check your current tool/skill list for the above skill names. If they appear in the list of available skills (e.g., in <available_skills> or equivalent plugin registry), they are installed. You do not need to run any commands — the presence of these skills in the agent's tool list is sufficient confirmation.

If the Azure Skills plugin is missing, install it for the active host before using azure-functions-deploy.

HostInstall guidance
GitHub Copilot CLI/plugin marketplace add microsoft/azure-skills, then /plugin install azure@azure-skills
Claude Code/plugin install azure@claude-plugins-official
Codex CLIcodex plugin marketplace add microsoft/azure-skills, then install azure from /plugins
VS CodeInstall the Azure MCP extension and companion Azure Skills integration, then reload VS Code
GitHub Copilot fallbacknpx skills add https://github.com/microsoft/azure-skills/tree/main/.github/plugins/azure-skills/skills -a github-copilot -g -y

Output Format

Present results as a checklist:

Azure Functions Environment Check

  ✅ Azure CLI          <version>
  ✅ Azure Developer CLI <version>
  ✅ Core Tools         <version>
  ✅ Node.js            <version>
  ⚠️  Azure subscription  Not logged in → Run 'az login'
  ⚠️  Azure Skills plugin Missing → install before azure-functions-deploy

Fix Instructions

For each failing check, provide:

  1. What's wrong — one-line description
  2. How to fix — exact install/fix command for the user's OS and shell
  3. Docs link — Microsoft Learn URL

Use the user's operating system when choosing fix commands. Do not give Linux-only installation commands to Windows or macOS users. If the operating system or package manager is unclear, show the OS-specific choices and ask the user to run the one that matches their machine.

For language runtimes, prefer the latest Azure Functions GA-supported version for new installs. Do not recommend preview runtimes unless the user explicitly asks for previews.

ToolRecommended versionWindowsmacOSLinuxDocs
Azure CLILatest stable, ≥ 2.60; ≥ 2.87.0 for Gowinget install --exact --id Microsoft.AzureCLIbrew update && brew install azure-cliUse the distro-specific Microsoft Learn command for your package managerhttps://learn.microsoft.com/cli/azure/install-azure-cli
Azure Developer CLILatest stablewinget install --exact --id Microsoft.Azdbrew install azure/azd/azdUse the Microsoft Learn instructions for your distro or install the signed .deb/.rpm package from the Azure Developer CLI releasehttps://learn.microsoft.com/azure/developer/azure-developer-cli/install-azd
Core Toolsv4.x; 4.12 or later for GoDownload and run the v4.x 64-bit MSI installer from Microsoft Learnbrew tap azure/functions && brew install azure-functions-core-tools@4Use the Microsoft package repository for your distro, then install azure-functions-core-tools-4https://learn.microsoft.com/azure/azure-functions/functions-run-local
Node.jsNode.js 24 GA for new apps (default); Node.js 22 also supportedwinget install --exact --id Schniz.fnm, then fnm install 24. Do not use the OpenJS.NodeJS.LTS package: it can install Node.js 26, which is in preview for Functionsbrew install node@24 or fnm install 24Use your distro package manager or a version manager such as fnm install 24https://learn.microsoft.com/azure/azure-functions/functions-versions
PythonPython 3.13 GA for new apps (default); 3.14 GA; 3.11-3.14 supportedwinget install --exact --id Python.Python.3.13brew install python@3.13Use your distro package manager or a version manager such as pyenv install 3.13https://learn.microsoft.com/azure/azure-functions/functions-versions
.NET SDK.NET 8 LTS minimum; use the latest GA version supported by the target Functions modelwinget install --exact --id Microsoft.DotNet.SDK.8brew install --cask dotnet-sdkUse the Microsoft Learn instructions for your distrohttps://learn.microsoft.com/dotnet/core/install/
GoGo 1.24 or later; Go 1.25 or later for Durable Functions (Go is GA on Linux Flex Consumption only)winget install --exact --id GoLang.Gobrew install goUse your distro package manager or the official tarball from the Go downloads pagehttps://go.dev/dl/

Azure Functions runtime 4.x currently supports Node.js 24 and 22 for Node.js/TypeScript apps. Support for Node.js 20 ended on 2026-04-30, and Node.js 26 is in preview. For Python apps, runtime 4.x supports Python 3.11 through 3.14. Python 3.13 is the default recommendation, and Python 3.14 is GA. Support for Python 3.10 ended on 2026-10-31, and Python 3.15 is in preview. Do not recommend a preview version unless the user asks for it. Mention hosting caveats when relevant: newer language versions might not be available on Linux Consumption, so Flex Consumption is the safer default for new Linux-hosted apps.

Go prerequisites

Go support on Azure Functions is generally available (GA) on the Linux Flex Consumption plan, with Go worker v1.0.0 and later. Other hosting plans, such as Elastic Premium and Dedicated, are not GA for Go. Go apps run on Linux x64 only, with CGO_ENABLED=0. Windows is not supported. Tell the user this before recommending Go for a plan other than Flex Consumption.

Go has two version floors that no other language has.

  • Core Tools 4.12 or later. The native worker that runs Go ships in 4.12. Earlier 4.x versions reject a Go project with a misleading "unsupported worker runtime" error, so compare the reported func --version against 4.12 rather than only checking for a 4. prefix.
  • Azure CLI 2.87.0 or later, needed when creating Azure resources or deploying packages. The general 2.60 floor used elsewhere in this checklist is not sufficient for Go, so a Go environment can otherwise be reported as ready when it is not. Check with az version.

If the installed Core Tools or Azure CLI is present but below the Go floor, report it as a failing check and give the upgrade command for the user's platform.

Go projects also use FUNCTIONS_WORKER_RUNTIME=native in local.settings.json, not go or golang. Mention this when a Go project is detected, because it is the most common local configuration mistake.

Scaffold Go projects with func init <project-name> --worker-runtime go. func new is not supported for Go.

See https://learn.microsoft.com/azure/azure-functions/functions-reference-go for the authoritative prerequisite list.

After Setup

After the environment check completes, report the checklist and recommend the most relevant next skill. No local setup state is created or updated.

When all checks pass, suggest the next step:

✅ Your environment is ready! Next:

  • Use azure-functions-create to scaffold a new Azure Functions project (HTTP triggers, timer triggers, queue triggers, etc.)
  • Use azure-functions-hosted-skills to build cloud-hosted, event-driven intelligent capabilities with Markdown, Functions triggers, code, tools, HTTP, and MCP

For deployment, confirm the Azure Skills plugin is available before suggesting azure-functions-deploy. azure-functions-deploy delegates to azure-prepare, azure-validate, and azure-deploy.

Next steps

  • On success, suggest azure-functions-create for traditional Functions projects, or azure-functions-hosted-skills for Azure Functions Hosted Skills — let the user choose based on their goal.
  • On failure, keep the user in azure-functions-setup: explain fixes, then ask them to rerun setup verification.
  • If deployment is requested and Azure Skills is missing, keep the user in azure-functions-setup until the Azure Skills plugin is installed or the user explicitly chooses a fallback deployment path.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.