auto-webhooks

Configure ADO service hooks and PR policies from infra.json via REST API calls.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Configures ADO service hooks and PR pipeline policies from a central infra.json to enable consistent automation across hub and consumer projects.

Core Features & Use Cases

  • Per-repo PR Answer hooks and per-repo PR Review build policies to scale automation across multiple repos.
  • Hub-managed Work Item hooks (optional) to route work-item events to the appropriate agents with idempotent safeguards.
  • Infra-driven orchestration: reads .ai/automation/infra.json and scm.base-branch from .ai/config.yaml to determine scope, targets, and branch filters.

Quick Start

Run the auto-webhooks skill to configure ADO webhooks and PR policies using your project's infra.json.

Frequently Asked Questions about auto-webhooks

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

FAQPage Schema
How do I automate Azure DevOps service hooks and PR policies across multiple repos?

Automating Azure DevOps service hooks involves using infra.json to apply REST API calls, setting up per-repo PR Answer hooks and PR Review build policies while checking existing subscriptions for idempotent operations.

What is the best way to configure ADO webhooks for AI automation agents?

The best way to configure ADO webhooks for AI agents is to use an infra-driven orchestration that reads .ai/automation/infra.json and applies REST API calls to route PR and Work Item events to the appropriate agents.

Can I manage ADO PR review build policies from a central configuration file?

Yes, managing ADO PR review build policies centrally is possible by reading the infra.json file to apply per-repo configurations, enforcing consistent pipeline policies across hub and consumer projects.

Does the ADO webhook setup process support idempotent operations?

Yes, the ADO webhook setup supports idempotent operations by checking existing subscriptions before applying changes, then updating infra.json with the resulting subscription IDs and statuses.

How do I filter Azure DevOps webhook branches for service hooks?

To filter Azure DevOps webhook branches, the system reads the scm.base-branch property from the .ai/config.yaml file, determining the scope and branch filters for the service hooks.

What are the limitations of using infra.json for ADO service hooks orchestration?

Orchestration via infra.json is limited to hub and consumer profiles, per-repo PR Answer hooks, PR Review policies, and optional Work Item hooks managed by the hub configuration.