
Skill
azure-functions-diagnostics
diagnose and resolve Azure Functions issues
Description
Use when diagnosing or resolving Azure Functions issues: deployment failures, runtime errors, trigger/binding failures, language worker issues, telemetry/log analysis, known issue research, source investigation, and remediation. Acts as a facade that routes to focused Azure Functions skills and small language/extension references.
SKILL.md
Azure Functions Diagnostics
Use this skill to diagnose and resolve Azure Functions issues by orchestrating focused skills and loading only the references needed for the current app.
Write final answers in the user's language.
Core principle
Do not load all diagnostic references up front. First collect the app inventory, infer runtime/language and trigger/binding/extension shape, then load only the matching language and extension reference files.
For multi-step reviews, source investigations, or remediation work, create a short checklist plan file or todo list and update it after each completed step. Do not require a checklist for quick read-only diagnosis because it adds token overhead.
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.
- Symptom, error message, command output, or portal/deployment failure context.
- Time window, default
24hfor current or recent production issues.
If the user has a local workspace issue without a deployed app, skip Azure resource collection and start from local project/runtime/trigger discovery.
Diagnostic workflow
Follow workflow.md. Use shared reference routing from ../azure-functions-common/references/routing.md only after inventory/health data identifies the relevant runtime, trigger, binding, or symptom.
Fast path:
- Use
azure-functions-inventoryto collect static app specifications. - Use
azure-functions-health-statusto collect current health, metrics, telemetry, and Activity Log. - Use ../azure-functions-common/references/routing.md to select only the required language and extension references.
- Use evidence-checklist.md before stating root cause or recommended fixes.
- Prefer official documentation, official repositories, official samples, and package/container registries before broader web sources.
Reference loading rules
Use azure-functions-common for shared runtime, language, and trigger/binding references.
- Load exactly one language reference when the runtime is known, plus Durable only when Durable is involved.
- Load only extension references matching the app's triggers/bindings or the symptom.
- Load Extension Bundles only for non-.NET apps or extension-version/binding-resolution symptoms.
- Do not load migration provenance during normal diagnostics.
Guardrails
- Redact secrets, connection strings, keys, tokens, SAS URLs, and storage credentials.
- Report setting names and whether values exist; do not reveal values.
- Ask before cloning large repositories, using sparse checkout, deploying to Azure, restarting apps, changing configuration, or running disruptive commands.
- Distinguish confirmed evidence from hypotheses.
- For transient issues, state whether the current app is healthy and identify the historical evidence used.
Next steps
- On success, suggest
azure-functions-inventoryif the app shape or configuration changed during remediation. - On failure, suggest
azure-functions-health-statusto re-check current health and telemetry before continuing diagnosis.
Output shape
Use this concise structure unless the user asks for a different format:
Target: <app/resource/local project>
Symptom: <summary>
Inventory: <runtime/plan/network/triggers summary>
Health: <current state/metrics/log findings summary>
Relevant references loaded: <language refs>, <extension refs>
Findings: <evidence-backed bullets>
Likely cause: <confirmed or suspected>
Recommended actions: <ordered steps>
Validation plan: <local/E2E/Azure validation steps>
Gaps: <missing permissions/telemetry/context>
More skills from the azure-functions-skills repository
View all 11 skillsazure-functions-agents
build and deploy Azure Functions agents
Jul 12AgentsAzureDeploymentServerlessazure-functions-best-practices
apply Azure Functions best practices
Jul 15AzureBest PracticesObservabilitySecurityazure-functions-common
reference Azure Functions documentation and configuration
Jul 15AzureConfigurationDocumentationazure-functions-create
scaffold Azure Functions projects and triggers
Jul 12API DevelopmentAzureEdge Functionsazure-functions-deploy
deploy Azure Functions applications
Jul 12AzureCI/CDDeploymentazure-functions-doctor
diagnose Azure Functions workspace configuration
Jul 15AzureCode AnalysisDebugging
More from Azure (Microsoft)
View publisherazure-arg-external-evaluation-policy-author
author and test Azure Resource Graph policies
azure-policy
Jul 12AzureComplianceGovernancePolicyazure-blueprints-migration
migrate Azure Blueprints to Template Specs
azure-blueprints
Jul 12AzureDeploymentInfrastructure as CodeMigrationapiview-feedback-resolution
resolve APIView feedback on Azure SDKs
azure-sdk-tools
Jul 12API DevelopmentAzureCode ReviewDocumentationazsdk-common-live-and-recorded-tests
deploy resources and run Azure SDK tests
azure-sdk-tools
Jul 12AzureDeploymentSDKTestingazsdk-common-prepare-release-plan
manage Azure SDK release plan work items
azure-sdk-tools
Jul 12AzureGitHubProject ManagementSDKazsdk-common-sdk-release
release Azure SDK packages
azure-sdk-tools
Jul 12AzureCI/CDDeploymentSDK