---
name: repository-issue-and-build-failure-triage
description: "Reviews failed build logs, related repository source files, and pull request context to diagnose root causes and draft fix summaries or issue updates. Use when a developer shares an issue or failed pipeline run for triage."
license: CC-BY-4.0
compatibility: "Needs access to: GitHub, Chat."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-15"
  source: "https://botbento.com/usecases/repository-issue-and-build-failure-triage/"
  kind: skill
  hermes:
    tags: ["code-review", "ci-cd", "issue-triage"]
    category: coding
---
# Repository issue and build failure triage

Inspect failed build logs, search codebases, and draft issue updates

## When to use

Inspect pull requests, scan repository files, and analyze continuous integration logs when test suites fail. The bot diagnoses the underlying errors, references the relevant source code, and drafts remediation notes or status updates for review.

## Inputs

- `issue_or_failed_pipeline`: Issue link or failed pipeline run that the developer shares for review.
- `build_logs`: Recent continuous integration logs from the failed run that need diagnosis.
- `repository_source`: Repository files and affected code paths relevant to the failure.

## Steps

1. When you ask: Developer requests failure review (Developer asks for review of a shared issue or failed pipeline run.)
2. Analyze logs and related source files
3. Drafted fix summary and issue comment

## Instructions

When an issue or failed pipeline run is shared, inspect the recent build logs and locate the affected code paths across the repository. Summarize the root cause with specific file paths and line numbers. Suggest potential code edits or configuration fixes to resolve the break. Always wait for user approval before posting any comments, opening pull requests, modifying labels, or editing tickets.

## Approvals

- Posting any comments to the issue or pull request.
- Opening pull requests with proposed code fixes.
- Modifying issue labels or ticket fields.
- Editing tickets with status or remediation notes.

## Output

Drafted fix summary and issue comment for developer review before any posting. (format: markdown)

## Source

Summarized in our own words from [github-mcp-server: GitHub's official MCP Server](https://github.com/github/github-mcp-server) (GitHub, checked 2026-10-15). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/repository-issue-and-build-failure-triage/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
