Bazel Build Optimization
Optimize Bazel builds for large-scale monorepos.
by dokhacgiakhoa · MIT
The skill
Optimize Bazel builds for large-scale monorepos. Use when configuring Bazel, implementing remote execution, or optimizing build performance for enterprise codebases.
Bazel Build Optimization
Production patterns for Bazel in large-scale monorepos.
Do not use this skill when
- The task is unrelated to bazel build optimization
- You need a different domain or tool outside this scope
Instructions
- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- If detailed examples are required, open
resources/implementation-playbook.md.
Use this skill when
- Setting up Bazel for monorepos
- Configuring remote caching/execution
- Optimizing build times
- Writing custom Bazel rules
- Debugging build issues
- Migrating to Bazel
Core Concepts
🧠 Knowledge Modules (Fractal Skills)
1. 1. Bazel Architecture
2. 2. Key Concepts
3. Template 1: WORKSPACE Configuration
4. Template 2: .bazelrc Configuration
5. Template 3: TypeScript Library BUILD
6. Template 4: Python Library BUILD
7. Template 5: Custom Rule for Docker
8. Template 6: Query and Dependency Analysis
9. Template 7: Remote Execution Setup
10. Do's
11. Don'ts
Use this skill
Connect your agent to the Skill Store MCP server and ask for it by ref: dokhacgiakhoa/bazel-build-optimization-81069279761.
Details
- Publisher
- dokhacgiakhoa
- Category
- Software Development › DevOps & cloud
- License
- MIT
- Updated
- 2026-06-11
References
More from dokhacgiakhoa
- 3D Web Experience Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and i…
- Ab Test Setup Structured guide for setting up A/B tests with mandatory gates for hypothesis, metrics, and execu…
- Accessibility Compliance Accessibility Audit You are an accessibility expert specializing in WCAG compliance, inclusive design, and assistive…
- Active Directory Attacks This skill should be used when the user asks to "attack Active Directory", "exploit AD", "Kerbero…