azure-functions-best-practices
Skill11 starsChanged 15 days agoMITView on GitHub
Use when reviewing an existing Azure Function App against Azure Functions best practices and proposing safe, approval-gated remediations for runtime, configuration, identity, security, observability, performance, scale, cost, triggers, and bindings.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- Azure/azure-functions-skillsedited, first seen Oct 13, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- Azure/azure-functions-skills★ 22100% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository30 other files it gives its agents.
- azure-app-platform-agent-instructionsSkill
- azure-app-platform-block-authoringSkill
- azure-app-platform-canvasSkill
- azure-app-platform-fluent-themeSkill
- azure-app-platform-hosted-skillSkill
- azure-app-platform-spot-illustrationSkill
- azure-cost-health-checkSkill
- azure-functions-hosted-skills-canvasSkill
- azure-functions-hosted-skills-github-daily-digestSkill
- azure-functions-assessSkill
- azure-functions-canvasSkill
- azure-functions-commonSkill
- azure-functions-createSkill
- azure-functions-deploySkill
- azure-functions-diagnosticsSkill
- azure-functions-doctorSkill
- azure-functions-feedbackSkill
- azure-functions-health-statusSkill
- azure-functions-helpSkill
- azure-functions-hosted-skillsSkill
- azure-functions-inventorySkill
- azure-functions-setupSkill
- azure-functions-updateSkill
- azure-resources-querySkill
- azure-sre-agent-canvasSkill
- azure-storageSkill
- containersSkill
- kusto-workbenchSkill
- create-canvas-appSkill
- create-spot-illustrationSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 7 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill to review an existing Azure Function App, prioritize best-practice findings, and help apply approved remediations.
- Distinctive: line 10
Write final answers in the user's language.
- Distinctive: line 16
Check whether a Function App follows recommended settings
- Distinctive: line 42
Use the MCP output to update the evaluation baseline for items such as supported runtime versions, Functions Host v4, extension bundle …
- Distinctive: line 46
Ask only for missing inputs needed to start:
- Distinctive: line 73
Ask for approval: before any remediation.
- Distinctive: line 79
Use this structure unless the user asks for a different format:
- Very specific: line 105
If findings indicate active failures, suggest azure-functions-diagnostics.
- Very specific: line 106
If the user only wanted inventory, suggest azure-functions-inventory next time.
- Very specific: line 107
If approved fixes require deployment, suggest azure-functions-deploy after validation.
≈ “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.
Files
Azure Functions Best Practices Review
Use this skill to review an existing Azure Function App, prioritize best-practice findings, and help apply approved remediations.
Write final answers in the user's language.
When to use
- Review my Function App for best practices
- Improve or harden an existing Azure Functions app
- Check whether a Function App follows recommended settings
- Suggest safe fixes for Function App configuration, runtime, scale, security, or observability
- Prepare a best-practices report before production readiness review
Do not use for
- Creating a new Function App: use
azure-functions-create - Static inventory only: use
azure-functions-inventory - Current health/status only: use
azure-functions-health-status - Active incident root-cause analysis: use
azure-functions-diagnostics - Deployment-only tasks: use
azure-functions-deploy - Generic Azure compliance scans: use Azure-wide compliance tooling when available
Core principles
- Evidence first — do not recommend changes until app inventory is collected.
- MCP guidance first — before scoring findings, call the Azure best-practices MCP guidance for Azure Functions (
get_azure_bestpractices/get_azure_bestpractices_getwithresource: azurefunctionsandaction: all) when the tool is available. - Report before remediation — present findings and ask which fixes to apply.
- Approval-gated changes — do not update app settings, restart apps, deploy code, change networking, change identity/RBAC, or modify source/IaC without explicit user approval.
- Load references on demand — use
azure-functions-commonrouting to load only relevant language and trigger/binding references. - Redact secrets — report setting names and presence only; never reveal values.
Required best-practices guidance
Treat Azure best-practices MCP output as the authoritative current guidance layer for this skill. Always attempt to retrieve it before producing the review report, unless the tool is unavailable. If it is unavailable, state that the MCP guidance could not be loaded and continue with the local checklist as a fallback.
Use the MCP output to update the evaluation baseline for items such as supported runtime versions, Functions Host v4, extension bundle range, Flex Consumption guidance, authentication posture, private networking, Application Insights, trigger/binding recommendations, and language-specific recommendations.
Required inputs
Ask only for missing inputs needed to start:
- Function App name, unless already provided
- Subscription ID/name and resource group, if needed to disambiguate
- Review scope:
quick,full,security,performance-scale,cost,observability, orconfiguration - Whether local source/IaC is available when the user wants code or infrastructure fixes
Workflow
Collect static evidence with
azure-functions-inventory. Ifazure-functions-inventoryis unavailable, use these Azure CLI commands as fallback:# Function App details az functionapp show --name <app> --resource-group <rg> # Configuration az functionapp config show --name <app> --resource-group <rg> # App settings (names only — do not reveal values) az functionapp config appsettings list --name <app> --resource-group <rg> --query "[].{name:name}" # Deployed functions az functionapp function list --name <app> --resource-group <rg>- Collect runtime evidence when useful with
azure-functions-health-statusfor production readiness, performance, observability, or degraded apps. - Get current MCP guidance from Azure Functions best-practices guidance (
get_azure_bestpractices/get_azure_bestpractices_getwithresource: azurefunctionsandaction: all) and cite whether it was loaded. - Route references through
../azure-functions-common/references/routing.mdbased on runtime and trigger/binding inventory. - Evaluate findings using review-checklist.md.
- Prioritize results as Critical, High, Medium, or Low.
- Present a report first with evidence, risk, recommendation, and validation plan.
- Ask for approval before any remediation.
- Apply approved fixes or generate commands/IaC/source patches using remediation-patterns.md.
- Validate after changes by rerunning the relevant inventory, health, or deployment checks.
Output shape
Use this structure unless the user asks for a different format:
Target: <app> (<resource-group>, <subscription>, <region>)
Scope: <quick/full/security/performance-scale/cost/observability/configuration>
Inventory summary: <plan/runtime/triggers/network/identity/settings summary>
Runtime signals: <health/metrics/telemetry summary or not collected>
Findings:
Critical:
- <finding with evidence and risk>
High:
- <finding with evidence and risk>
Medium:
- <finding with evidence and risk>
Low:
- <finding with evidence and risk>
Recommended remediations:
1. <safe fix, approval required before applying>
2. <manual/IaC/source change recommendation>
Validation plan:
- <post-change checks>
Gaps: <missing permissions/telemetry/source/IaC>Next steps
- If findings indicate active failures, suggest
azure-functions-diagnostics. - If the user only wanted inventory, suggest
azure-functions-inventorynext time. - If approved fixes require deployment, suggest
azure-functions-deployafter validation.
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
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.

