azure-devops

Manage Azure DevOps work items, repos, pipelines, and wikis via REST API scripts.

432|47|Updated Dec 22, 2025
Ready to run
npx skills add https://github.com/sanjay3290/ai-skills --skill azure-devops-sanjay3290
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: azure-devops
Source: https://github.com/sanjay3290/ai-skills/tree/main/skills/azure-devops
Command: npx skills add https://github.com/sanjay3290/ai-skills --skill azure-devops-sanjay3290

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires keyring, and includes scripts (resource) components.

What problem does it solve? Interacting with Azure DevOps through the web UI or raw REST API calls is slow and repetitive. This Skill provides a Python CLI covering 13 domains and 99 tools so an AI agent can manage projects, work items, pull requests, pipelines, wikis, test plans, and security alerts directly from the terminal. ## Core Features & Use Cases - Work Item Management: Create, update, link, query (WIQL), and comment on work items, plus manage sprints, backlogs, and team capacity. - Repos, PRs & Pipelines: List repositories, create branches and pull requests, run pipelines, inspect build logs, and manage artifacts. - Governance & Security: Configure branch policies, manage variable groups and environment approvals, and review Advanced Security alerts. - Use Case: Ask the agent to create a bug work item, open a PR from a new branch, queue the CI pipeline, and approve the production deployment — all in one conversation. ## Quick Start Authenticate by running python scripts/auth.py login --org MyOrganization, then ask the agent to list projects or create a work item in your Azure DevOps organization.

Frequently Asked Questions about azure-devops

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

FAQPage Schema
How do I manage Azure DevOps work items from the command line?▼

Run scripts/work_items.py with subcommands like create, update, get, or run-wiql, passing --project and relevant fields. Output is always JSON, and the script supports batch operations, linking, comments, and saved queries.

How to authenticate with Azure DevOps REST API using OAuth or PAT?▼

Run python scripts/auth.py login --org YourOrg for OAuth device code flow, or add --pat YOUR_PAT for a Personal Access Token. Credentials are stored in the system keyring, and OAuth tokens auto-refresh on expiry.

Does this work on Linux, macOS, and Windows?▼

Yes, it uses the cross-platform keyring library backed by macOS Keychain, Windows Credential Locker, or Linux Secret Service. On Linux you may need to install the secretstorage package for keyring support.

Why am I getting HTTP 401 or 403 errors from Azure DevOps?▼

HTTP 401 means the token expired — re-run auth.py login for OAuth or create a new PAT. HTTP 403 means your PAT lacks the required scope, such as Code Read & Write for repos or Build Read & Execute for pipelines.

What Azure DevOps operations can the scripts perform?▼

The 13 scripts cover 99 tools: projects and teams, work items, iterations and capacity, repos and PRs, pipelines and builds, code/wiki/work item search, wiki pages, test plans, security alerts, variable groups, environments and approvals, branch policies, and attachments.