
Skill
azure-functions-doctor
diagnose Azure Functions workspace configuration
Description
Analyze local Azure Functions workspace code and configuration for common issues. Produces structured JSON findings for integration with the doctor CLI command. This skill targets local workspaces only — use azure-functions-diagnostics for deployed Azure resources.
SKILL.md
Azure Functions Project Diagnostics
Analyze the local Azure Functions workspace for code and configuration issues that static checks cannot detect. This skill is invoked by the azure-functions-skills doctor --deep CLI command.
Instructions
You are running as part of azure-functions-doctor. Analyze the workspace at the current directory for Azure Functions code and configuration issues that require semantic understanding.
Before detailed analysis, read references/routing.md and then load only the checklist reference files that match the project language, detected triggers/bindings, and requested execution scope. Do not load every checklist by default.
Context from built-in checks
The CLI has already run Tier 1 deterministic checks. Their results are provided below for context — do not repeat checks that have already passed or been reported.
Analysis scope
Focus on issues that require understanding code semantics, not just syntax or file structure:
Code quality
- Load
references/ai-semantic-checks.mdfor semantic code-quality checks. - Load
references/language-checks.mdfor language-specific patterns.
Configuration coherence
- Load
references/source-only-checks.mdwhen interpreting deterministic check output. - Load
references/iac-azure-resource-checks.mdonly when IaC files or Azure resource context are present.
Azure Functions-specific patterns
- Use the routed checklist files to evaluate Durable, Service Bus, Event Hubs, storage, HTTP, timer, and language-specific risks.
- Prefer findings with concrete evidence from a file path and line number.
Output
Write your findings as a JSON array to the file path specified below. Each finding must follow this schema:
{
"id": "string — short kebab-case identifier",
"category": "string — code | configuration | pattern",
"severity": "critical | high | medium | low | info",
"status": "fail | warn",
"title": "string — short human-readable title",
"message": "string — detailed description",
"file": "string — relative file path (optional)",
"line": "number — line number (optional)",
"recommendation": "string — how to fix (optional)"
}
Report file path:
Rules
- Only report actual problems — do not suggest improvements unless they fix an issue.
- Be specific: include file paths and line numbers when possible.
- Do not repeat findings already covered by the Tier 1 built-in checks.
- If no issues are found, write an empty JSON array
[]. - Do not modify any project files — this is a read-only analysis.
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-diagnostics
diagnose and resolve Azure Functions issues
Jul 12AzureDebuggingLogsMonitoring
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