Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Optimize Bazel builds for large-scale monorepos. Use when configuring Bazel, implementing remote execution, or optimizing build performance for enterprise codebases.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-20 | ✗→✓ | ▲ Improved | -4% | 0% |
| case-06 | ✓→✓ | = Same ✓ | 8% | 0% |
| case-07 | ✓→✓ | = Same ✓ | 35% | 0% |
| case-03 | ✓→✓ | = Same ✓ | 7% | 0% |
| case-04 | ✓→✓ | = Same ✓ | -26% | 0% |
Production patterns for Bazel in large-scale monorepos.
workspace/
├── WORKSPACE.bazel # External dependencies
├── .bazelrc # Build configurations
├── .bazelversion # Bazel version
├── BUILD.bazel # Root build file
├── apps/
│ └── web/
│ └── BUILD.bazel
├── libs/
│ └── utils/
│ └── BUILD.bazel
└── tools/
└── bazel/
└── rules/| Concept | Description | | ----------- | -------------------------------------- | | Target | Buildable unit (library, binary, test) | | Package | Directory with BUILD file | | Label | Target identifier //path/to:target | | Rule | Defines how to build a target | | Aspect | Cross-cutting build behavior |
Full template library and detailed worked examples live in references/details.md. Read that file when you need the concrete templates.
Other measured skills in the registry, with their headline benchmark lift.