Validate Azure DevOps pipeline changes and troubleshoot builds and YAML faster.
Copy the install command and let the AI configure it · recommended for beginners
Please install the "azure-pipelines" skill from askskill: 1. Download https://raw.githubusercontent.com/microsoft/vscode/main/.github/skills/azure-pipelines/SKILL.md 2. Save it as ~/.claude/skills/azure-pipelines/SKILL.md 3. Reload skills and tell me it's ready
I just changed an Azure DevOps pipeline YAML. Use this skill to verify the configuration, explain how to trigger a build, check its status, and identify the failing step.
A validation workflow covering build queueing, status checks, log review, and suggestions to pinpoint YAML configuration issues.
Help me inspect the Azure Pipelines run for the VS Code build, review the failed task logs, and summarize the most likely error cause and next fix steps.
A summary of the failed task, key log clues, likely causes, and recommended YAML or script changes.
I want to iterate on Azure DevOps pipeline configuration without waiting for full CI runs. Help me create a fast validation approach with targeted changes, repeated builds, and result comparison.
An efficient iteration plan that shortens validation time and confirms pipeline changes faster.
When modifying Azure DevOps pipeline files (YAML files in build/azure-pipelines/), you can validate changes locally using the Azure CLI before committing. This avoids the slow feedback loop of pushing changes, waiting for CI, and checking results.
Check if Azure CLI is installed:
az --version
If not installed, install it:
# macOS
brew install azure-cli
# Windows (PowerShell as Administrator)
winget install Microsoft.AzureCLI
# Linux (Debian/Ubuntu)
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
Check if the DevOps extension is installed:
az extension show --name azure-devops
If not installed, add it:
az extension add --name azure-devops
Authenticate:
az login
az devops configure --defaults organization=https://dev.azure.com/monacotools project=Monaco
The main VS Code build pipeline:
monacotoolsMonaco111Two Insider builds run automatically on a scheduled basis:
These scheduled builds use the same pipeline definition (111) but run on the main branch to produce Insider releases.
Use the queue command to queue a validation build:
# Queue a build on the current branch
node .github/skills/azure-pipelines/azure-pipeline.ts queue
# Queue with a specific source branch
node .github/skills/azure-pipelines/azure-pipeline.ts queue --branch my-feature-branch
# Queue with custom parameters
node .github/skills/azure-pipelines/azure-pipeline.ts queue --parameter "VSCODE_BUILD_WEB=false" --parameter "VSCODE_PUBLISH=false"
# Parameter value with spaces
node .github/skills/azure-pipelines/azure-pipeline.ts queue --parameter "VSCODE_BUILD_TYPE=Product Build"
Important: Before queueing a new build, cancel any previous builds on the same branch that you no longer need. This frees up build agents and reduces resource waste:
# Find the build ID from status, then cancel it node .github/skills/azure-pipelines/azure-pipeline.ts status node .github/skills/azure-pipelines/azure-pipeline.ts cancel --build-id <id> node .github/skills/azure-pipelines/azure-pipeline.ts queue
| Option | Description |
|---|---|
--branch <name> | Source branch to build (default: current git branch) |
--definition <id> | Pipeline definition ID (default: 111) |
--parameter <entry> | Pipeline parameter in KEY=value format (repeatable); use this when the value contains spaces |
--parameters <list> | Space-separated parameters in KEY=value KEY2=value2 format; values must not contain spaces |
--dry-run | Print the command without executing |
build/azure-pipelines/product-build.yml)| Name | Type | Default | Allowed Values | Description |
|---|---|---|---|---|
VSCODE_QUALITY | string | insider | exploration, insider, stable | Build quality channel |
VSCODE_BUILD_TYPE | string | Product Build | Product, CI | Build mode for Product vs CI |
NPM_REGISTRY | string | https://pkgs.dev.azure.com/monacotools/Monaco/_packaging/vscode/npm/registry/ | any URL | Custom npm registry |
CARGO_REGISTRY | string | sparse+https://pkgs.dev.azure.com/monacotools/Monaco/_packaging/vscode/Cargo/index/ | any URL | Custom Cargo registry |
VSCODE_BUILD_WIN32 | boolean | true | true, false | Build Windows x64 |
VSCODE_BUILD_WIN32_ARM64 | boolean | true | true, false | Build Windows arm64 |
…
Analyze V8 heap snapshots to find memory leaks and object retention.
Update the GitHub Copilot CLI or SDK to a newer version.
Find and read Code OSS dev build logs for faster debugging.
Generate or update chat customization files for AI coding agents.
Run chat performance benchmarks and memory leak checks for VS Code builds.
Merge session branch changes back into the base branch cleanly.
Add Azure DevOps to Power Apps for work items, bugs, pipelines, and API calls.
Query Azure DevOps Server projects, repos, pipelines, and work items in natural language.
Use natural language to query and operate Azure DevOps Server resources.
Lets AI manage Azure DevOps projects, repos, work items, PRs, and pipelines.
Analyze VS Code rolling build health and identify breaking commit ranges.
Manage Azure DevOps projects, repos, work items, and pipelines with natural language.