Token导航 LogoToken导航

Agent Skill · 云服务

azure-devops-skill(Azure devops 技能)

用于辅助云资源、部署、容器、基础设施和运维自动化任务。它适合让 Agent 检查配置、整理部署步骤、分析资源状态、生成排障思路或辅助云服务接入。使用时需要明确目标环境、账号权限、区域和资源组,区分本地测试与生产操作;涉及删除资源、重启服务、修改网络或权限配置时,应先确认影响范围。

azure-devops-skill 是云服务类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证为 MIT,第三方扫描有提醒项,按安装量在云服务类的 479 个 Skill 里排第 233。

总安装 1,270周安装 54GitHub Stars 61下载 445核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:azure-devops-skill(Azure devops 技能)
来源仓库:https://github.com/julianobarbosa/claude-code-skills
仓库路径:skills/azure-devops-skill
安装命令:
npx skills add https://github.com/julianobarbosa/claude-code-skills --skill azure-devops-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/julianobarbosa/claude-code-skills --skill azure-devops-skill

这个 Skill 是做什么的

云服务类 Skill 对接各家云平台的接口,用来查询资源、估算成本和执行变更。

全面覆盖 Azure DevOps REST API v7.2 的操作指南,包含搜索与 Wiki 管理。适用于批量更新工作项状态、提取流水线日志及维护项目知识库。内置 MCP 工具前缀映射表,可直接拼接 org/project 路径发起请求。所有敏感操作均要求用户提供完整 URL 参数,避免凭据泄露风险。

推荐在非生产组织先行测试,确认 API 版本兼容性后再投入正式使用。

来源仓库内路径:skills/azure-devops-skill

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/julianobarbosa/claude-code-skills --skill azur…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

azure-devops-skill 怎么安装?

在终端执行 npx skills add https://github.com/julianobarbosa/claude-code-skills --skill azure-devops-s…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

azure-devops-skill 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

azure-devops-skill 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

azure-devops-skill 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

azure-devops-skill 用的人多吗?

公开数据是累计安装 1,270 次,近一周安装 54 次,下载 445 次,GitHub 61 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

azure-devops-skill 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理云服务类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

云服务类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
azure-deploy

Azure 部署 · Codex、Claude

6,641,856764调用外部服务未明确通过
azure-diagnostics

Azure diagnostics 问题管理 · Codex、Claude

6,575,520764调用外部服务未明确通过
azure-aigateway

Azure aigateway 部署 · Codex、Claude

6,553,272764调用外部服务未明确有提醒
azure-ai

Azure AI 搜索 · Codex、Claude

6,514,128764调用外部服务未明确通过
azure-cloud-migrate

Azure Cloud migrate 部署 · Codex、Claude

6,506,784764调用外部服务未明确有提醒
azure-devops-skill

Azure devops 技能 · 本页

1,27061接触敏感数据MIT有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Azure DevOps REST API Skill

Comprehensive guide for Azure DevOps REST API v7.2 operations including work items, pipelines, repositories, test plans, wikis, and search functionality.

Quick Reference

AreaBase URLMCP Tool Prefix
Coredev.azure.com/{org}/_apis/mcp__ado__core_*
Work Itemsdev.azure.com/{org}/{project}/_apis/wit/mcp__ado__wit_*
Pipelinesdev.azure.com/{org}/{project}/_apis/pipelines/mcp__ado__pipelines_*
Git/Reposdev.azure.com/{org}/{project}/_apis/git/mcp__ado__repo_*
Test Plansdev.azure.com/{org}/{project}/_apis/testplan/mcp__ado__testplan_*
Wikidev.azure.com/{org}/{project}/_apis/wiki/mcp__ado__wiki_*
Searchalmsearch.dev.azure.com/{org}/_apis/search/mcp__ado__search_*

Authentication Methods

Personal Access Token (PAT)

# Base64 encode empty username with PAT
AUTH=$(echo -n ":${PAT}" | base64)
curl -H "Authorization: Basic ${AUTH}" https://dev.azure.com/{org}/_apis/projects

OAuth 2.0 Scopes

ScopeAccess Level
vso.workRead work items
vso.work_writeCreate/update work items
vso.codeRead source code
vso.code_writeCreate branches, PRs
vso.build_executeRun pipelines
vso.testRead test plans
vso.wikiRead wikis

API Versioning

Format: {major}.{minor}[-{stage}[.{resource-version}]]

  • Current: 7.2-preview.3
  • Example: api-version=7.2-preview.3

1. Work Item Operations

Available MCP Tools

mcp__ado__wit_get_work_item          - Get single work item
mcp__ado__wit_get_work_items_batch_by_ids - Get multiple work items
mcp__ado__wit_my_work_items          - Get items assigned to me
mcp__ado__wit_create_work_item       - Create new work item
mcp__ado__wit_update_work_item       - Update work item fields
mcp__ado__wit_update_work_items_batch - Bulk update work items
mcp__ado__wit_add_work_item_comment  - Add comment to work item
mcp__ado__wit_list_work_item_comments - List work item comments
mcp__ado__wit_add_child_work_items   - Create child work items
mcp__ado__wit_work_items_link        - Link work items together
mcp__ado__wit_work_item_unlink       - Remove work item links
mcp__ado__wit_link_work_item_to_pull_request - Link to PR
mcp__ado__wit_add_artifact_link      - Add artifact links (branch, commit, build)
mcp__ado__wit_get_work_item_type     - Get work item type definition
mcp__ado__wit_list_backlogs          - List team backlogs
mcp__ado__wit_list_backlog_work_items - Get backlog items
mcp__ado__wit_get_work_items_for_iteration - Get sprint items
mcp__ado__wit_get_query              - Get saved query
mcp__ado__wit_get_query_results_by_id - Execute saved query

WIQL Query Syntax

Basic Structure
SELECT [Fields]
FROM workitems
WHERE [Conditions]
ORDER BY [Fields]
ASOF [DateTime]
Common Macros
MacroDescription
@MeCurrent user
@projectCurrent project
@TodayToday's date
@Today - NN days ago
@CurrentIterationCurrent sprint
@StartOfMonthFirst of month
Example Queries
-- Active tasks assigned to me
SELECT [System.Id], [System.Title], [System.State]
FROM workitems
WHERE [System.TeamProject] = @project
  AND [System.WorkItemType] = 'Task'
  AND [System.State] = 'Active'
  AND [System.AssignedTo] = @Me
ORDER BY [System.Priority] ASC

-- Bugs created in last 30 days
SELECT [System.Id], [System.Title], [System.CreatedDate]
FROM workitems
WHERE [System.TeamProject] = @project
  AND [System.WorkItemType] = 'Bug'
  AND [System.CreatedDate] >= @Today - 30

-- Parent-child hierarchy
SELECT [Source].[System.Id], [Target].[System.Id]
FROM workitemLinks
WHERE [Source].[System.TeamProject] = @project
  AND [System.Links.LinkType] = 'System.LinkTypes.Hierarchy-Forward'
MODE (Recursive)

JSON Patch Operations

[
  {"op": "add", "path": "/fields/System.Title", "value": "New Title"},
  {"op": "replace", "path": "/fields/System.State", "value": "Active"},
  {"op": "add", "path": "/relations/-", "value": {
    "rel": "System.LinkTypes.Related",
    "url": "https://dev.azure.com/{org}/_apis/wit/workItems/{id}"
  }}
]

Link Types Reference

TypeRel Name
ParentSystem.LinkTypes.Hierarchy-Reverse
ChildSystem.LinkTypes.Hierarchy-Forward
RelatedSystem.LinkTypes.Related
PredecessorSystem.LinkTypes.Dependency-Reverse
SuccessorSystem.LinkTypes.Dependency-Forward

2. Pipeline Operations

Available MCP Tools

mcp__ado__pipelines_get_build_definitions - List pipeline definitions
mcp__ado__pipelines_get_build_definition_revisions - Get definition history
mcp__ado__pipelines_get_builds         - List builds
mcp__ado__pipelines_get_build_status   - Get build status
mcp__ado__pipelines_get_build_log      - Get build logs
mcp__ado__pipelines_get_build_log_by_id - Get specific log
mcp__ado__pipelines_get_build_changes  - Get commits in build
mcp__ado__pipelines_run_pipeline       - Trigger pipeline run
mcp__ado__pipelines_get_run            - Get pipeline run details
mcp__ado__pipelines_list_runs          - List pipeline runs
mcp__ado__pipelines_update_build_stage - Retry/cancel stage

Pipeline Trigger Example

{
  "resources": {
    "repositories": {
      "self": {"refName": "refs/heads/feature-branch"}
    }
  },
  "templateParameters": {
    "environment": "staging"
  },
  "variables": {
    "customVar": {"value": "custom-value", "isSecret": false}
  }
}

Build Status Values

StatusDescription
noneNot started
inProgressRunning
completedFinished
cancellingBeing cancelled
postponedDelayed
notStartedQueued

Build Result Values

ResultDescription
succeededAll tasks passed
partiallySucceededSome tasks failed
failedBuild failed
canceledUser cancelled

3. Repository Operations

Available MCP Tools

mcp__ado__repo_list_repos_by_project   - List repositories
mcp__ado__repo_get_repo_by_name_or_id  - Get repository details
mcp__ado__repo_list_branches_by_repo   - List branches
mcp__ado__repo_list_my_branches_by_repo - List my branches
mcp__ado__repo_get_branch_by_name      - Get branch details
mcp__ado__repo_create_branch           - Create new branch
mcp__ado__repo_search_commits          - Search commit history
mcp__ado__repo_list_pull_requests_by_repo_or_project - List PRs
mcp__ado__repo_get_pull_request_by_id  - Get PR details
mcp__ado__repo_create_pull_request     - Create PR
mcp__ado__repo_update_pull_request     - Update PR (autocomplete, status)
mcp__ado__repo_update_pull_request_reviewers - Add/remove reviewers
mcp__ado__repo_list_pull_request_threads - List PR comments
mcp__ado__repo_list_pull_request_thread_comments - Get thread comments
mcp__ado__repo_create_pull_request_thread - Create comment thread
mcp__ado__repo_reply_to_comment        - Reply to comment
mcp__ado__repo_resolve_comment         - Resolve thread
mcp__ado__repo_list_pull_requests_by_commits - Find PR by commit

PR Status Values

StatusDescription
activeOpen for review
abandonedClosed without merge
completedMerged

Merge Strategies

StrategyDescription
noFastForwardMerge commit (default)
squashSquash commits
rebaseRebase and fast-forward
rebaseMergeRebase with merge commit

4. Test Plan Operations

Available MCP Tools

mcp__ado__testplan_list_test_plans     - List test plans
mcp__ado__testplan_create_test_plan    - Create test plan
mcp__ado__testplan_create_test_suite   - Create test suite
mcp__ado__testplan_list_test_cases     - List test cases in suite
mcp__ado__testplan_create_test_case    - Create test case
mcp__ado__testplan_update_test_case_steps - Update test steps
mcp__ado__testplan_add_test_cases_to_suite - Add cases to suite
mcp__ado__testplan_show_test_results_from_build_id - Get test results

Test Case Steps Format

1. Navigate to login page|Login page displayed
2. Enter username|Username field populated
3. Enter password|Password field populated
4. Click login button|User is logged in successfully

Test Suite Types

TypeDescription
staticTestSuiteManual hierarchy
dynamicTestSuiteQuery-based
requirementTestSuiteLinked to requirement

Test Outcome Values

OutcomeDescription
PassedTest passed
FailedTest failed
BlockedCannot execute
NotExecutedNot run
InconclusiveNo clear result

5. Wiki Operations

Available MCP Tools

mcp__ado__wiki_list_wikis              - List wikis
mcp__ado__wiki_get_wiki                - Get wiki details
mcp__ado__wiki_list_pages              - List wiki pages
mcp__ado__wiki_get_page                - Get page metadata
mcp__ado__wiki_get_page_content        - Get page content
mcp__ado__wiki_create_or_update_page   - Create/update page

Wiki Types

TypeDescription
projectWikiProject-scoped wiki
codeWikiGit-backed wiki

Page Path Format

  • Root: /
  • Subpage: /Parent/Child
  • Spaces: /My%20Page

6. Search Operations

Available MCP Tools

mcp__ado__search_code                  - Search source code
mcp__ado__search_workitem              - Search work items
mcp__ado__search_wiki                  - Search wiki pages

Code Search Filters

{
  "Project": ["project-name"],
  "Repository": ["repo-name"],
  "Path": ["/src"],
  "Branch": ["main"],
  "CodeElement": ["class", "def", "function"]
}

Work Item Search Filters

{
  "System.TeamProject": ["project-name"],
  "System.WorkItemType": ["Bug", "Task"],
  "System.State": ["Active", "New"],
  "System.AssignedTo": ["user@domain.com"]
}

7. Core Operations

Available MCP Tools

mcp__ado__core_list_projects           - List projects
mcp__ado__core_list_project_teams      - List teams
mcp__ado__core_get_identity_ids        - Get user identity
mcp__ado__work_list_team_iterations    - List iterations
mcp__ado__work_list_iterations         - List all iterations
mcp__ado__work_create_iterations       - Create iterations
mcp__ado__work_assign_iterations       - Assign to team
mcp__ado__work_get_team_capacity       - Get team capacity
mcp__ado__work_update_team_capacity    - Update capacity
mcp__ado__work_get_iteration_capacities - Get iteration capacity

8. Advanced Security Operations

Available MCP Tools

mcp__ado__advsec_get_alerts            - Get security alerts
mcp__ado__advsec_get_alert_details     - Get alert details

Alert Types

TypeDescription
DependencyVulnerable dependencies
SecretExposed secrets
CodeCode vulnerabilities

Rate Limiting

TSTU (Throughput Unit) Limits

  • Anonymous: 200 TSTUs/minute
  • Authenticated: 1200 TSTUs/minute

Response Headers

X-RateLimit-Resource: core
X-RateLimit-Delay: 500
X-RateLimit-Limit: 1200
X-RateLimit-Remaining: 847
X-RateLimit-Reset: 1609459200
Retry-After: 30

Handling Rate Limits

import time
import requests

def api_call_with_retry(url, headers, max_retries=3):
    for attempt in range(max_retries):
        response = requests.get(url, headers=headers)
        if response.status_code == 429:
            retry_after = int(response.headers.get('Retry-After', 30))
            time.sleep(retry_after)
            continue
        return response
    raise Exception("Rate limit exceeded after retries")

Error Handling

HTTP Status Codes

CodeMeaning
200Success
201Created
204No Content (DELETE)
400Bad Request
401Unauthorized
403Forbidden
404Not Found
409Conflict (version)
429Rate Limited
500Server Error

Error Response Format

{
  "$id": "1",
  "innerException": null,
  "message": "Error description",
  "typeName": "Microsoft.VisualStudio.Services.WebApi.VssServiceException",
  "typeKey": "VssServiceException",
  "errorCode": 0
}

Common Field Reference

System Fields

FieldReference Name
IDSystem.Id
TitleSystem.Title
StateSystem.State
Assigned ToSystem.AssignedTo
Area PathSystem.AreaPath
Iteration PathSystem.IterationPath
Work Item TypeSystem.WorkItemType
Created DateSystem.CreatedDate
Changed DateSystem.ChangedDate
TagsSystem.Tags
DescriptionSystem.Description

Scheduling Fields

FieldReference Name
Story PointsMicrosoft.VSTS.Scheduling.Effort
Remaining WorkMicrosoft.VSTS.Scheduling.RemainingWork
Original EstimateMicrosoft.VSTS.Scheduling.OriginalEstimate
Completed WorkMicrosoft.VSTS.Scheduling.CompletedWork

Multi-Repo Work Item Segregation

When a single Azure DevOps project contains multiple repositories, use Area Paths for primary segregation and hierarchical Iteration Paths for repo-scoped sprint/epic tracking.

Target Structure

Area Paths:                          Iteration Paths:
project\                             project\Iteration\
├── repo-a           (per-repo)      ├── Sprint 1        (shared across repos)
├── repo-b           (per-repo)      ├── Sprint 2        (shared across repos)
└── repo-c           (per-repo)      ├── repo-a\         (repo-scoped container)
                                     │   ├── epic-1-...  (auto-created by sync)
                                     │   └── epic-2-...
                                     └── repo-b\         (repo-scoped container)

Path Format Differences (Critical)

Azure DevOps uses two different path formats for iterations:

OperationFormatExample
az boards iteration project create --path\Project\Iteration\Parent (literal "Iteration" segment required)\devops-team\Iteration\azure-quota-automation
az boards work-item update --iterationProject\Parent\Child (no "Iteration" segment, no leading \)devops-team\azure-quota-automation\epic-1-slug

Setup Commands for a New Repo

# 1. Create area path (if not exists)
az boards area project create --name "<repo-name>" --path "\<project>"

# 2. Create iteration container
az boards iteration project create --name "<repo-name>" --path "\<project>\Iteration"

# 3. Configure BMAD sync (devops-sync-config.yaml)
# areaPath: "<project>\\<repo-name>"
# iterationRootPath: "<repo-name>"

Moving Iterations (No Native Move)

Azure DevOps CLI has no move command for iterations. To restructure:

  1. Verify no work items assigned: az boards query --wiql "... WHERE [System.IterationPath] = '...'"
  2. Delete: az boards iteration project delete --path "\project\Iteration\old-path" --yes
  3. Recreate under new parent: az boards iteration project create --name "name" --path "\project\Iteration\new-parent"
  4. Update state files with new iteration IDs

Common Error: TF401347

TF401347: The iteration path does not exist — caused by using the wrong path format. Check:

  • --iteration on work items uses Project\Parent\Child (no "Iteration" segment)
  • --path on iteration create uses \Project\Iteration\Parent (with "Iteration" segment)

Best Practices

1. Use Batch Operations

  • Use mcp__ado__wit_get_work_items_batch_by_ids instead of multiple single calls
  • Max 200 items per batch request

2. Minimize Field Selection

  • Only request fields you need: fields=System.Id,System.Title,System.State
  • Reduces response size and API load

3. Handle Pagination

  • Use $top and $skip for large result sets
  • Follow continuation tokens when provided

4. Version Control

  • Use test operation in JSON Patch for optimistic concurrency
  • Always check rev field before updates

5. Error Recovery

  • Implement exponential backoff for rate limits
  • Log correlation IDs from response headers

References

适合场景

01

Azure 资源规划

02

云服务升级

03

基础设施检查

04

企业云环境自动化

能力概览

能力 1

整理 Azure 服务操作流程

能力 2

提示 CLI/MCP 前置条件

能力 3

辅助云资源检查和规划

能力 4

保留官方服务来源线索

平台分布

Claude Code

27.61%
按下载量换算123

OpenCode

23.19%
按下载量换算103

Gemini CLI

17.12%
按下载量换算76

Antigravity

11.25%
按下载量换算50

Codex

8.04%
按下载量换算36

Cursor

3.07%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills