view-build-logs

Finds and shows build logs from Bazel to help developers debug why their code compilation failed.

Installation
Run `npx skills add "https://github.com/buildbuddy-io/buildbuddy" --skill "view-build-logs"` to install this skill, then follow its SKILL.md instructions for my next request.

Paste this into Claude Code, Cursor, or any agent that can run commands.

SKILL.mdShow the author's original SKILL.md
---
name: view-build-logs
description: Fetch BuildBuddy invocation logs. Use when you need to inspect or debug Bazel build logs for a specific invocation ID or invocation URL.
---

## Overview

Fetch logs for a BuildBuddy invocation by calling `bb view <invocation-id>`

To view failing test output, pass a target label and/or --test_filter: `bb view <invocation-id> //target:label --test_filter=TestName`
`--test_filter` is a regular expression (matching bazel's --test_filter semantics). If no target is specified, output from every failing test target is searched for the filter expression.

To view only the first build error, pass --errors: `bb view <invocation-id> --errors`

Mirrored from the author's public source. Install counts from the open skills registry.

The systems behind these skills get built for partners every week.

Partner with us