pipelines-build-summary
Skill52 starsChanged 5 months agoMITView on GitHub
List, inspect, and troubleshoot Azure DevOps pipeline builds. Shows recent builds for a pipeline definition, drills into a specific build's status and result, displays logs for failed steps, and lists the changes associated with a build.
In this repository7 other files it gives its agents.
- boards-backlog-summarySkill
- boards-my-workSkill
- boards-team-active-workSkill
- boards-work-item-summarySkill
- security-alert-reviewSkill
- work-iterationsSkill
- skill-nameSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. About 0 are common, 11 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
If the user provides a project name in their request (for example, "for Contoso"), use that project directly and do not call …
- Distinctive: line 13
If the user does not provide a project name, first ask the user once to provide the project name.
- Very specific: line 14
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.
- Very specific: line 18
If the user provides a pipeline or definition name, use pipelines_definition with action list and a name filter to find it.
- Distinctive: line 19
If the user does not specify a pipeline and the request requires one (for example, "show recent builds"), ask the user once for the …
- Very specific: line 20
If the pipeline name is still not provided after asking once, call pipelines_definition with action list to list available definitions for …
- Distinctive: line 24
Use Azure DevOps MCP Server tools for all interactions with Azure DevOps.
- Very specific: line 38
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.
- Distinctive: line 40
Do not fetch logs or changes unless the user asks.
- Distinctive: line 42
If there are no builds, explicitly state that there are no builds for this pipeline.
- Very specific: line 50
When the user asks about a specific build (for example, "build 12345"), call pipelines_build with action get_status with that build ID.
- Distinctive: line 52
If the build failed, suggest viewing the logs.
- Very specific: line 60
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 …
- Very specific: line 62
Call pipelines_build_log with action get_content for the relevant failed log entries to retrieve the actual log content.
- Distinctive: line 64
Do not dump all logs. Focus on the failed steps and the last portion of each relevant log.
- Very specific: line 73
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.
- Distinctive: line 75
If there are no changes, explicitly state that there are no changes associated with this build.
- Distinctive: line 84
When displaying build lists, show the following in a table:
- Distinctive: line 94
When displaying a single build's status, show all the above fields plus:
- Distinctive: line 99
When displaying changes, show in a table:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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_projectsto return a list of projects the user can choose from.
Pipeline definition selection
- If the user provides a pipeline or definition name, use
pipelines_definitionwith actionlistand anamefilter 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_definitionwith actionlistto 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_buildwith actionlistfiltered by the definition ID. - Optionally filter by
branchName,statusFilter, orresultFilterif 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_buildwith actionget_statuswith 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_logwith actionlistto 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_logwith actionget_contentfor 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_buildwith actionget_changeswith 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
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

