Optimize Bazel builds for large-scale monorepos. Use when configuring Bazel, implementing remote execution, or optimizing build performance for enterprise codebases.
Install with Tessl CLI
npx tessl i github:wshobson/agents --skill bazel-build-optimization80
Does it follow best practices?
If you maintain this skill, you can automatically optimize it using the tessl CLI to improve its score:
npx tessl skill review --optimize ./path/to/skillAgent success when using this skill
Validation for skill structure
TypeScript BUILD file authoring
ts_project rule
100%
100%
declaration=True
100%
100%
source_map=True
100%
100%
js_library wrapper
0%
100%
npm_link_all_packages
0%
100%
aspect_rules_js loads
50%
75%
jest_test for tests
100%
100%
tsconfig root reference
100%
100%
public visibility
100%
100%
No glob for deps
100%
100%
Fine-grained targets
100%
100%
bazelignore / gitignore
100%
100%
Without context: $0.5895 · 3m 32s · 30 turns · 25 in / 7,661 out tokens
With context: $0.7461 · 5m 14s · 34 turns · 318 in / 8,599 out tokens
.bazelrc performance and CI config
jobs=auto
0%
100%
CPU resource fraction
100%
100%
RAM resource fraction
0%
100%
Disk cache path
0%
100%
Repository cache path
0%
100%
remote-cache named config
0%
0%
CI uses remote-cache config
0%
0%
CI ROLE metadata
100%
100%
BES backend
100%
100%
BES results URL
100%
100%
Test output settings
50%
100%
Coverage settings
100%
100%
User override import
50%
100%
Build core flags
100%
100%
Without context: $0.2736 · 1m 38s · 13 turns · 55 in / 4,010 out tokens
With context: $0.6164 · 2m 19s · 22 turns · 6,244 in / 5,898 out tokens
Custom Bazel rule authoring
ctx.actions.declare_file
100%
100%
ctx.actions.args()
100%
100%
ctx.actions.run
100%
100%
mnemonic field
100%
100%
progress_message field
100%
100%
attr.label with allow_single_file
100%
100%
Tool attr uses cfg=exec
100%
100%
executable=True on tool attr
100%
100%
platform constraint_values
100%
100%
exec_properties in platform
100%
100%
DefaultInfo return
100%
100%
No glob for deps
100%
100%
Without context: $0.2750 · 1m 43s · 13 turns · 14 in / 3,650 out tokens
With context: $0.8568 · 3m 50s · 38 turns · 535 in / 8,558 out tokens
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.