azdevops

Manages Azure DevOps projects, repos, branches, pull requests, pipelines, and work items via the azdevops CLI. Use when searching, creating, updating work items, managing PRs, triggering pipelines, or listing repos/branches. Triggers on phrases like "Azure DevOps", "work item", "pull request", "pipeline", "create a bug", "list repos", "trigger build".

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "azdevops" with this command: npx skills add billpeet/agent-skills/billpeet-agent-skills-azdevops

Azure DevOps

Interact with Azure DevOps Services using the azdevops CLI. All commands output JSON by default for reliable parsing.

Setup

Configure once (credentials saved to ~/.config/azdevops-cli/config.json):

azdevops setup --org myorg --token <personal-access-token> --project MyProject

Or use environment variables (these take priority over the config file):

export AZDEVOPS_ORG=myorg
export AZDEVOPS_TOKEN=<personal-access-token>
export AZDEVOPS_PROJECT=MyProject

The --project / AZDEVOPS_PROJECT is optional — it sets a default project so you don't need to pass --project on every command.

Projects

azdevops project list --format json --pretty

Repositories

azdevops repo list --project MyProject --format json --pretty

Branches

azdevops branch list --repo my-repo --format json
azdevops branch list --repo my-repo --filter "feature/" --format json

Pull Requests

List PRs

azdevops pr list --repo my-repo --format json --pretty
azdevops pr list --repo my-repo --status active --top 10 --format json

Status options: active, completed, abandoned, all (default: active).

Get a single PR

azdevops pr get --repo my-repo --id 42 --format json --pretty

Create a PR

azdevops pr create --repo my-repo --source feature/login --target main --title "Add login page" --description "Details here" --format json
azdevops pr create --repo my-repo --source feature/login --target main --title "Add login page" --reviewers "id1,id2" --format json

Update a PR

azdevops pr update --repo my-repo --id 42 --status completed --format json
azdevops pr update --repo my-repo --id 42 --title "Updated title" --format json

List reviewers

azdevops pr reviewers --repo my-repo --id 42 --format json --pretty

Reviewer vote codes: 10=Approved, 5=Approved with suggestions, 0=No vote, -5=Waiting for author, -10=Rejected.

Pipelines

List pipelines

azdevops pipeline list --format json --pretty

Trigger a pipeline run

azdevops pipeline run --pipeline-id 5 --format json
azdevops pipeline run --pipeline-id 5 --branch feature/login --format json

List runs for a pipeline

azdevops pipeline runs --pipeline-id 5 --top 10 --format json --pretty

Get a specific run

azdevops pipeline run-get --pipeline-id 5 --run-id 123 --format json --pretty

Work Items

Get a work item

azdevops work-item get --id 1234 --format json --pretty
azdevops work-item get --id 1234 --expand relations --format json

Expand options: none, relations, fields, links, all.

Create a work item

azdevops work-item create --type Bug --title "Login fails on timeout" --description "Steps to reproduce..." --format json
azdevops work-item create --type Task --title "Update dependencies" --assigned-to "John Smith" --format json

Common types: Bug, Task, User Story, Feature, Epic.

Update a work item

azdevops work-item update --id 1234 --state "In Progress" --format json
azdevops work-item update --id 1234 --title "New title" --assigned-to "Jane Doe" --format json

Query work items (WIQL)

azdevops work-item query --wiql "SELECT [System.Id], [System.Title] FROM WorkItems WHERE [System.State] = 'Active' AND [System.AssignedTo] = @Me" --format json --pretty
azdevops work-item query --wiql "SELECT [System.Id] FROM WorkItems WHERE [System.WorkItemType] = 'Bug' AND [System.State] <> 'Closed'" --top 20 --format json

Output format

All commands support --format json (compact) or --format text (human-readable tables). Add --pretty for indented JSON.

Exit codes: 0 = success, 1 = error. Errors are written to stderr as JSON.

Common workflows

Triage a bug:

azdevops work-item query --wiql "SELECT [System.Id] FROM WorkItems WHERE [System.WorkItemType] = 'Bug' AND [System.State] = 'New'" --top 5 --format json
azdevops work-item update --id 1234 --state "Active" --assigned-to "Jane Doe"

Create a PR and trigger a build:

azdevops pr create --repo my-repo --source feature/x --target main --title "Feature X" --format json
azdevops pipeline run --pipeline-id 5 --branch feature/x --format json

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

youtrack

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

mssql

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

Repository Source
23K212.5K
vercel