mcpbeat

Bazel Build Optimization

dokhacgiakhoa/bazel-build-optimization

Optimize Bazel builds for large-scale monorepos. Use when configuring Bazel, implementing remote execution, or optimizing build performance for enterprise codebases.

3k tokens
context cost
the whole folder, loaded on every use
12
files
instructions only
0
copies elsewhere
how many repositories repackaged it
505
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI --skill bazel-build-optimization

What comes with it

9 042 bytes besides the instruction
sub-skills/1-bazel-architecture.md
sub-skills/2-key-concepts.md
sub-skills/donts.md
sub-skills/dos.md
sub-skills/template-1-workspace-configuration.md
sub-skills/template-2-bazelrc-configuration.md
sub-skills/template-3-typescript-library-build.md
sub-skills/template-4-python-library-build.md
sub-skills/template-5-custom-rule-for-docker.md
sub-skills/template-6-query-and-dependency-analysis.md
sub-skills/template-7-remote-execution-setup.md

The instruction itself

17 sections, as written by the author

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

How to use it

Copy the folder

Take dokhacgiakhoa/bazel-build-optimization from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.