auto-doctor

Validate local files, ADO pipelines, and Lambda state for automation health.

6|3|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/easingthemes/dx-aem-flow --skill auto-doctor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auto-doctor
Source: https://github.com/easingthemes/dx-aem-flow/tree/main/plugins/dx-automation/skills/auto-doctor
Command: npx skills add https://github.com/easingthemes/dx-aem-flow --skill auto-doctor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Health-check automation setup by validating local files, ADO pipeline configuration, and Lambda state for hub deployments. It adapts checks based on the automationProfile in infra.json and treats legacy profiles as consumer.

Core Features & Use Cases

  • Validates local files and config integrity for the automation pipeline.
  • Verifies ADO pipelines are present and enabled, with correct YAML references.
  • For hub deployments, checks Lambda function state to ensure readiness; for consumers, focuses on pipeline and config health.

Quick Start

Run /auto-doctor to perform a comprehensive health check of the automation setup.

Frequently Asked Questions about auto-doctor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate my ADO pipeline configuration and local files for automation?

You can validate ADO pipeline configuration by running an automation health check that verifies local files, confirms pipelines are present and enabled, and checks for correct YAML references. This ensures your automation setup is correctly configured before deployment.

How do I check if my Lambda function is ready for a hub deployment?

To check Lambda function readiness for a hub deployment, run an automation health check with a hub profile in infra.json. This validates Lambda handlers and environment readiness to ensure your functions are prepared for deployment.

What is an automationProfile in infra.json and when do I need to validate it?

An automationProfile in infra.json defines your deployment type, such as hub or consumer. You need to validate it to ensure your health check applies the correct rules, as legacy profiles like pr-only are automatically treated as consumer.

Does the automation health check work with legacy pipeline profiles?

Yes, the automation health check works with legacy pipeline profiles by automatically treating legacy pr-only and pr-delegation configurations as consumer profiles, adapting its validation checks accordingly without requiring manual profile migration.

Why does my ADO pipeline health check fail on missing YAML references?

An ADO pipeline health check fails on missing YAML references because it verifies that all non-disabled pipelines have correct YAML file references. You must ensure your pipeline configurations point to valid YAML files to pass validation.