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
Who's talking about Azure/azure-sdk-for-js
- microsoft/TypeScript“Extract APIs that are common to Node and the DOM to their own namespace”GitHub · Nov 29, 2020 · 21 reactions
- langchain-ai/langchainjs“[Feature request] Azure OpenAI Assistants”GitHub · Feb 8, 2024 · 14 reactions
- pnpm/pnpm“pnpm install failed on WSL with mounted windows file system drive: EACCES EACCES: permission denied”GitHub · Feb 28, 2023 · 11 reactions
- Azure/azure-sdk-for-python“"exists" operator for containers and blobs”GitHub · Jan 17, 2020 · 7 reactions
- anonyco/FastestSmallestTextEncoderDecoder“React Native - TypeError: Cannot read property 'prototype' of undefined”GitHub · Jul 11, 2024 · 6 reactions
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
- Nov 29, 2020Extract APIs that are common to Node and the DOM to their own namespace — microsoft/TypeScript21 reactions · 6 comments
- Feb 8, 2024[Feature request] Azure OpenAI Assistants — langchain-ai/langchainjs14 reactions · 4 comments
- Feb 28, 2023pnpm install failed on WSL with mounted windows file system drive: EACCES EACCES: permission denied — pnpm/pnpm11 reactions · 16 comments
- Jan 17, 2020"exists" operator for containers and blobs — Azure/azure-sdk-for-python7 reactions · 8 comments
- Jul 11, 2024React Native - TypeError: Cannot read property 'prototype' of undefined — anonyco/FastestSmallestTextEncoderDecoder6 reactions · 1 comment
5 more on GitHub
- Mar 15, 2024Avoid the SemVer v0.x.x anti-pattern — open-telemetry/opentelemetry-js5 reactions · 13 comments
- Mar 26, 2020Add a common AzureKeyCredential to Azure Core — Azure/azure-sdk5 reactions · 8 comments
- Mar 1, 2022[Identity] Getting a token via VisualStudioCodeCredential using v0.10.0 of the Azure Account Extension results in an error — Azure/azure-sdk-for-net4 reactions · 3 comments
- Nov 1, 2023[Epic] - Fix issues found when generating OpenAI — Azure/autorest.typescript3 reactions
- Jun 16, 2020[rush] Deprecated options warning when using pnpm v5 — microsoft/rushstack3 reactions · 1 comment
On Bluesky · 1
- Nov 12, 2023📦 Azure / azure-sdk-for-js ⭐ 1,810 (+46) 🗒 TypeScript This repository is for active development of the Azure SDK for JavaScript (NodeJS… — @github-trending-js.bsky.social3 likes and reposts
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- agentic-workflowsSkill
- azsdk-common-apiview-feedback-resolutionSkill
- azsdk-common-generate-sdk-locallySkill
- azsdk-common-pipeline-analysisSkill
- azsdk-common-pipeline-fixerSkill
- azsdk-common-prepare-release-planSkill
- azsdk-common-sdk-breaking-changeSkill
- azsdk-common-sdk-releaseSkill
- code-reviewSkill
- create-package-skillSkill
- find-package-skillSkill
- node-migrationSkill
- sdk-workflowSkill
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
- Distinctive: line 30
Run from the repository root:
- Distinctive: line 48
Do not mutate ADO during an audit unless the user explicitly asks.
- Very specific: line 56
Follow the js - <service-or-tool> naming convention under \js.
- Distinctive: line 57
Create and queue the first run:
- Very specific: line 74
Follow the returned run with az pipelines runs show --id <run-id> and require it to complete successfully.
- Distinctive: line 79
Never delete stale definitions by default.
- Very specific: line 89
After explicit user approval, repeat with -Confirm:$false instead of -WhatIf.
≈ “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.
Files
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-errorsAudit registrations
Run from the repository root:
pwsh eng/tools/ado-pipeline-audit.ps1The 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.mjsDo not mutate ADO during an audit unless the user explicitly asks.
Create a missing definition
- Confirm the YAML exists on
main. - Inspect a comparable active JS definition with
az pipelines show --id <id>. - Reuse its
repository.properties.connectedServiceIdandqueue.id; do not hardcode IDs in this skill. - Follow the
js - <service-or-tool>naming convention under\js. - 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 falseFollow 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> `
-WhatIfAfter 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.
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
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.

