Optimize Bazel builds for large-scale monorepos. Use when configuring Bazel, implementing remote execution, or optimizing build performance for enterprise codebases.
81
59%
Does it follow best practices?
Impact
95%
1.15xAverage score across 6 eval scenarios
Advisory
Suggest reviewing before use
Optimize this skill with Tessl
npx tessl skill review --optimize ./plugins/developer-essentials/skills/bazel-build-optimization/SKILL.mdTypeScript BUILD file authoring
ts_project rule
100%
100%
declaration=True
100%
100%
source_map=True
100%
100%
js_library wrapper
50%
100%
npm_link_all_packages
0%
100%
aspect_rules_js loads
100%
100%
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%
.bazelrc performance and CI config
jobs=auto
0%
0%
CPU resource fraction
0%
100%
RAM resource fraction
0%
0%
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
50%
100%
User override import
100%
100%
Build core flags
0%
100%
Custom Bazel rule authoring
ctx.actions.declare_file
0%
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%
WORKSPACE and Python BUILD setup
http_archive for rules_python
100%
100%
sha256 pinning present
100%
100%
rules_python loading chain
100%
100%
aspect_rules_js loading chain
100%
100%
nodejs_register_toolchains node_version
100%
100%
npm_translate_lock pnpm_lock
100%
100%
py_library rule
100%
100%
requirement() for pip deps
80%
100%
py_test with size and timeout
0%
100%
py_binary target
100%
100%
No glob for deps
100%
100%
gitignore bazel dirs
100%
100%
Bazel query dependency analysis
deps() query
100%
100%
rdeps() query
100%
100%
kind() for test discovery
100%
100%
Changed targets via git diff
66%
100%
attr() for tag filtering
100%
100%
--output=graph with dot
100%
100%
dot produces PNG
100%
100%
Parameterized target
100%
100%
//... scope for repo-wide queries
100%
100%
bazel query label syntax
100%
100%
Build performance profiling
--profile flag
100%
100%
analyze-profile command
100%
100%
--execution_log_json_file
100%
100%
--memory_profile flag
100%
100%
Profile and log are separate files
100%
100%
Output in subdirectory
100%
100%
Workflow ordering
100%
100%
JSON format for execution log
100%
100%
Parameterized build target
100%
100%
Documentation explains profiling artifacts
100%
100%
70444e5
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.