ado-query

Query Azure DevOps resources via Azure CLI with JSON output.

2|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/jimweller/davit-dataops-dotfiles --skill ado-query
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ado-query
Source: https://github.com/jimweller/davit-dataops-dotfiles/tree/main/dataops-plugin/skills/ado-query
Command: npx skills add https://github.com/jimweller/davit-dataops-dotfiles --skill ado-query

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines interactions with Azure DevOps by providing command-line access to query projects, repositories, pipelines, and service connections, simplifying data retrieval and management.

Core Features & Use Cases

  • Query Azure DevOps Resources: Access information about projects, repositories, pipelines, and service connections using az devops CLI commands.
  • Automated Data Retrieval: Scripts provide structured JSON output for easy parsing and integration into other workflows.
  • Use Case: Quickly find all active pull requests in the 'Platform' project that you are assigned to review, or list all service connections of type 'GitHub' within the 'Data Science' project.

Quick Start

Use the ado-query skill to list all projects in Azure DevOps.

Frequently Asked Questions about ado-query

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

FAQPage Schema
How do I query Azure DevOps projects and repositories from the command line?

You can query Azure DevOps projects and repositories from the command line using portable bash scripts that execute az devops CLI commands. The scripts return structured JSON output for deterministic data retrieval and easy parsing.

Can I list Azure DevOps pipelines and service connections using the Azure CLI?

Yes, you can list Azure DevOps pipelines and service connections using the Azure CLI. The scripts support filtering to help you retrieve detailed information and specific resource types within your ADO projects.

What is the best way to automate Azure DevOps data retrieval for CI/CD workflows?

The best way to automate Azure DevOps data retrieval is by using portable bash scripts that output structured JSON. This allows deterministic task execution and seamless integration of ADO resource queries into other automated workflows.

Do I need the Azure CLI installed to query Azure DevOps data?

Yes, you need the Azure CLI installed because the scripts rely on the az devops extension to access Azure DevOps projects, repositories, pipelines, and service connections.

How do I filter Azure DevOps pull requests or service connections by type?

You can filter Azure DevOps pull requests or service connections by type using the built-in filtering capabilities of the provided bash scripts. This allows you to find specific resources like GitHub service connections within a named project.

What format does the output use when querying Azure DevOps resources?

The output format is structured JSON when querying Azure DevOps resources. This ensures the retrieved data for projects, pipelines, and repositories is deterministic and easily parsed by other tools.