agentleFS
Microsoft AzureKnown publisherAzure/azure-sdk-for-js/.github/skills/ado-pipeline-audit/SKILL.md

ado-pipeline-audit

Skill2.3k starsChanged 21 months agoMITView on GitHub

Audit Azure DevOps registrations for repository ci.yml entry points. USE FOR: "check ci.yml correctness", "find unmapped ci.yml files", "find stale ADO pipelines", "check pipeline registration", "create a missing JS pipeline", "disable pipelines whose YAML was deleted". DO NOT USE FOR: diagnosing a failed pipeline run or fixing CI failures.

Trending

Quiet this year.thin dataabout the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the Azure/azure-sdk-for-js repository that our weekly crawl found: only 11 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about Azure/azure-sdk-for-js

The biggest 5 of 11 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 11

Talked about on GitHub and Bluesky (11 times).

On GitHub · 10

5 more on GitHub

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run from the repository root:

    line 30
  2. Distinctive:

    Do not mutate ADO during an audit unless the user explicitly asks.

    line 48
  3. Very specific:

    Follow the js - <service-or-tool> naming convention under \js.

    line 56
  4. Distinctive:

    Create and queue the first run:

    line 57
  5. Very specific:

    Follow the returned run with az pipelines runs show --id <run-id> and require it to complete successfully.

    line 74
  6. Distinctive:

    Never delete stale definitions by default.

    line 79
  7. Very specific:

    After explicit user approval, repeat with -Confirm:$false instead of -WhatIf.

    line 89

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

ADO Pipeline Registration Audit

Use the committed eng/tools/ado-pipeline-audit.ps1 tool to compare ci.yml entry points on origin/main with Azure DevOps build definitions for Azure/azure-sdk-for-js.

Fixed scope

  • Organization: https://dev.azure.com/azure-sdk
  • Project: internal
  • Repository: Azure/azure-sdk-for-js
  • Normal pipeline folder: \js
  • Default branch: main

Install the CLI extension if needed:

az extension add --name azure-devops --only-show-errors

Audit registrations

Run from the repository root:

pwsh eng/tools/ado-pipeline-audit.ps1

The tool refreshes origin/main, compares paths case-insensitively, and reports unmapped roots separately from stale enabled and stale disabled definitions. It excludes files under templates directories because those are reusable YAML, not pipeline roots. sdk/template/ci.yml remains a root because template is the service directory name.

Also run the local template-structure check:

node eng/tools/check-pipeline-templates.mjs

Do not mutate ADO during an audit unless the user explicitly asks.

Create a missing definition

  1. Confirm the YAML exists on main.
  2. Inspect a comparable active JS definition with az pipelines show --id <id>.
  3. Reuse its repository.properties.connectedServiceId and queue.id; do not hardcode IDs in this skill.
  4. Follow the js - <service-or-tool> naming convention under \js.
  5. Create and queue the first run:
az pipelines create `
  --organization 'https://dev.azure.com/azure-sdk' `
  --project internal `
  --name 'js - <name>' `
  --folder-path '\js' `
  --repository 'Azure/azure-sdk-for-js' `
  --repository-type github `
  --service-connection $serviceConnectionId `
  --branch main `
  --yaml-path $yamlPath `
  --queue-id $queueId `
  --skip-first-run false

Follow the returned run with az pipelines runs show --id <run-id> and require it to complete successfully.

Disable a stale definition

Never delete stale definitions by default. First exercise all guards without changing ADO:

pwsh eng/tools/ado-pipeline-audit.ps1 `
  -DisableDefinitionId <id> `
  -ExpectedYamlPath <path> `
  -WhatIf

After explicit user approval, repeat with -Confirm:$false instead of -WhatIf. The tool refuses the mutation unless the definition belongs to Azure/azure-sdk-for-js, still maps the expected pipeline-root path, and that path is absent from refreshed origin/main. It re-fetches the definition after the update and verifies the disabled state.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.