pipelines-build-summary

bởi microsoft

Liệt kê, kiểm tra và khắc phục sự cố các bản dựng pipeline Azure DevOps. Hiển thị các bản dựng gần đây cho một định nghĩa pipeline, đi sâu vào trạng thái và kết quả của một bản dựng cụ thể,…

npx skills add https://github.com/microsoft/azure-devops-skills --skill pipelines-build-summary

Pipeline build summary

This skill works in the context of a project. A pipeline definition or build ID is optional and depends on what the user asks.

Project selection

  • If the user provides a project name in their request (for example, "for Contoso"), use that project directly and do not call core_list_projects.
  • If the user does not provide a project name, first ask the user once to provide the project name.
  • If the project name is still not provided after asking once, call core_list_projects to return a list of projects the user can choose from.

Pipeline definition selection

  • If the user provides a pipeline or definition name, use pipelines_definition with action list and a name filter to find it.
  • If the user does not specify a pipeline and the request requires one (for example, "show recent builds"), ask the user once for the pipeline name.
  • If the pipeline name is still not provided after asking once, call pipelines_definition with action list to list available definitions for the user to choose from.

Tools

Use Azure DevOps MCP Server tools for all interactions with Azure DevOps.

  • core_list_projects: Get a list of projects in the organization.
  • pipelines_definition (action: list): Get a list of build/pipeline definitions for a project.
  • pipelines_build (action: list): Get a list of builds, optionally filtered by definition, branch, or status.
  • pipelines_build (action: get_status): Get the status and result of a specific build by ID.
  • pipelines_build_log (action: list): Get the list of logs for a specific build.
  • pipelines_build_log (action: get_content): Get a specific log by log ID for a build (use to retrieve failed step logs).
  • pipelines_build (action: get_changes): Get the commits/changes associated with a specific build.

Rules

1. List recent builds for a pipeline

  • When the user asks to list builds or show recent builds for a pipeline, call pipelines_build with action list filtered by the definition ID.
  • Optionally filter by branchName, statusFilter, or resultFilter if the user specifies (for example, "failed builds on main").
  • Do not fetch logs or changes unless the user asks.
  • Show the results in a table.
  • If there are no builds, explicitly state that there are no builds for this pipeline.

Example

  • "show recent builds for pipeline 'CI-Main' in project Contoso"

2. Get build status by ID

  • When the user asks about a specific build (for example, "build 12345"), call pipelines_build with action get_status with that build ID.
  • Show the build number, status, result, source branch, start/finish time, requested by, and definition name.
  • If the build failed, suggest viewing the logs.

Example

  • "what is the status of build 12345 in project Contoso?"

3. View logs for a failed build

  • When the user asks to view logs or why a build failed, first call pipelines_build_log with action list to get the list of all log entries for the build.
  • Identify failed steps from the log list (look for steps that indicate errors or failures).
  • Call pipelines_build_log with action get_content for the relevant failed log entries to retrieve the actual log content.
  • Present the log output in a code block so it is easy to read.
  • Do not dump all logs. Focus on the failed steps and the last portion of each relevant log.

Example

  • "show me the logs for build 12345 in project Contoso"
  • "why did build 12345 fail?"

4. List changes for a build

  • When the user asks to see what changed or list commits for a build, call pipelines_build with action get_changes with the build ID.
  • Show the results in a table with commit ID, author, and message.
  • If there are no changes, explicitly state that there are no changes associated with this build.

Example

  • "what changes were in build 12345?"
  • "list commits for build 12345 in project Contoso"

Display results

When displaying build lists, show the following in a table:

  • Build ID as a clickable hyperlink in this format: [{buildId}](https://dev.azure.com/{organization}/{project}/_build/results?buildId={buildId})
  • Definition name
  • Status (for example: completed, inProgress, cancelling, notStarted)
  • Result (for example: succeeded, failed, canceled, partiallySucceeded) — use emoji: ✅ succeeded, ❌ failed, ⚠️ partiallySucceeded, 🚫 canceled
  • Source branch
  • Start time formatted as MM/DD/YYYY HH:MM
  • Requested by (display name only)

When displaying a single build's status, show all the above fields plus:

  • Finish time formatted as MM/DD/YYYY HH:MM
  • Build number
  • Duration (calculated from start and finish time)

When displaying changes, show in a table:

  • Commit ID (short hash, first 8 characters)
  • Author
  • Message (first line only)
  • Timestamp

Thêm skills từ microsoft

oss-growth
microsoft
Cá tính tăng trưởng OSS
agent-framework-azure-ai-py
microsoft
Xây dựng các tác nhân Azure AI Foundry bằng SDK Python của Microsoft Agent Framework (agent-framework-azure-ai). Sử dụng khi tạo các tác nhân bền vững với AzureAIAgentsProvider, sử dụng các công cụ được lưu trữ (trình thông dịch mã, tìm kiếm tệp, tìm kiếm web), tích hợp máy chủ MCP, quản lý chuỗi hội thoại hoặc triển khai phản hồi phát trực tuyến. Bao gồm các công cụ hàm, đầu ra có cấu trúc và các tác nhân đa công cụ.
development
airunway-aks-setup
microsoft
Thiết lập AI Runway trên AKS — từ cụm trống đến mô hình đang chạy. Bao gồm xác minh cụm, cài đặt controller, đánh giá GPU, thiết lập nhà cung cấp và triển khai đầu tiên. KHI NÀO: "thiết lập AI Runway", "onboard cụm AKS", "cài đặt AI Runway", "thiết lập airunway", "triển khai mô hình lên AKS", "suy luận GPU trên AKS", "thiết lập KAITO trên AKS", "chạy LLM trên AKS", "vLLM trên AKS", "thiết lập phục vụ mô hình trên AKS", "AI Runway controller".
devops
appinsights-instrumentation
microsoft
Hướng dẫn để instrument các ứng dụng web với Azure Application Insights. Cung cấp các mẫu telemetry, thiết lập SDK, và tài liệu tham khảo cấu hình. KHI NÀO: cách instrument ứng dụng, App Insights SDK, các mẫu telemetry, App Insights là gì, hướng dẫn Application Insights, ví dụ instrumentation, các phương pháp tốt nhất APM.
devops
applicationinsights-web-ts
microsoft
Instrument các ứng dụng trình duyệt/web bằng SDK JavaScript Application Insights (@microsoft/applicationinsights-web). Dùng cho Real User Monitoring (RUM) — lượt xem trang, nhấp chuột, phụ thuộc AJAX/fetch, ngoại lệ, sự kiện tùy chỉnh và dấu vết tác nhân GenAI phía trình duyệt tương quan với dấu vết OpenTelemetry phía backend. Bao gồm thiết lập SDK Loader Script và npm, tiện ích mở rộng framework (React, React Native, Angular), Click Analytics, trình khởi tạo telemetry và quy ước ngữ nghĩa OTel GenAI cho các span tác nhân/công cụ/mô hình phát ra từ trình duyệt.
devops
azure-ai-anomalydetector-java
microsoft
Xây dựng ứng dụng phát hiện bất thường với Azure AI Anomaly Detector SDK cho Java. Sử dụng khi triển khai phát hiện bất thường đơn biến/đa biến, phân tích chuỗi thời gian hoặc giám sát hỗ trợ AI.
development
azure-ai-language-conversations-py
microsoft
Triển khai Conversational Language Understanding (CLU) bằng SDK Python azure-ai-language-conversations. Sử dụng khi làm việc với ConversationAnalysisClient để phân tích ý định và thực thể trong hội thoại, xây dựng tính năng NLP, hoặc tích hợp hiểu ngôn ngữ vào ứng dụng.
development
azure-ai-ml-py
microsoft
Azure Machine Learning SDK v2 cho Python. Dùng cho không gian làm việc ML, công việc, mô hình, tập dữ liệu, tính toán và quy trình. Kích hoạt: "azure-ai-ml", "MLClient", "không gian làm việc", "đăng ký mô hình", "công việc đào tạo", "tập dữ liệu".
development