bazel-build-optimization

Installation
Summary

Production patterns for optimizing Bazel builds in large-scale monorepos.

  • Covers WORKSPACE configuration, .bazelrc tuning, remote caching/execution setup, and platform-specific build constraints
  • Includes templates for TypeScript and Python libraries, custom Docker rules, and dependency analysis via Bazel query
  • Provides performance profiling techniques, memory optimization strategies, and best practices for fine-grained targets and visibility enforcement
  • Addresses monorepo patterns including multi-language support, CI configuration, and remote execution with container images
SKILL.md

Bazel Build Optimization

Production patterns for Bazel in large-scale monorepos.

When to Use This Skill

  • Setting up Bazel for monorepos
  • Configuring remote caching/execution
  • Optimizing build times
  • Writing custom Bazel rules
  • Debugging build issues
  • Migrating to Bazel

Core Concepts

1. Bazel Architecture

workspace/
Related skills

More from wshobson/agents

Installs
5.8K
Repository
wshobson/agents
GitHub Stars
35.2K
First Seen
Jan 20, 2026