Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

azure-devops

bởi pals-software

Git & GitHub
1.0kLượt tải do clawskills.sh công bố
1Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

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

Yêu cầu

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

Cài đặt

clawhub install pals-software/azure-devops

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết