跳到正文
TakoAPI
返回技能列表

azure-devops

由 pals-software 提供

Git & GitHub
1.0k下载量由 clawskills.sh 提供
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

List Azure DevOps projects, repositories, and branches; create pull requests; manage work items; check build status.

描述

该技能的功能

Connects to Azure DevOps via REST API to query projects, repositories, branches, pull requests, and build status. Requires a Personal Access Token and organization name stored in the OpenClaw config.

Lets agents interact with Azure DevOps resources directly from the terminal without switching to the web UI.

何时使用

  • Check open PRs across a project before a sprint review
  • List all repositories in an Azure DevOps organization
  • Create a pull request from a feature branch to main
  • Find which branches exist in a repo without opening the browser
  • Query project structure when onboarding to a new codebase

示例工作流

输入

User asks: create a PR from feature/login to main in the Auth project

智能体
  1. 1

    Check config for AZURE_DEVOPS_PAT and AZURE_DEVOPS_ORG, prompt user if missing

  2. 2

    Fetch the repository ID for the target repo in the Auth project

  3. 3

    Construct POST request with sourceRefName, targetRefName, title, and description

  4. 4

    Submit PR via Azure DevOps REST API v7.1

  5. 5

    Return the new pull request ID and URL

输出

Pull request created: #42 'feature/login -> main' in Auth/MyRepo

前置要求

  • AZURE_DEVOPS_PAT environment variable (Personal Access Token from Azure DevOps)
  • Azure DevOps organization name

安装

clawhub install pals-software/azure-devops

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接