SkillAgentSearch skills...

bazel-build-optimization

Optimize Bazel builds for large-scale monorepos

Install / Use

npx skills add wshobson/agents --skill bazel-build-optimization

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

79/100

Supported Platforms

Universal

Tags

Our assessment of bazel-build-optimization

bazel-build-optimization scores 79/100 on our quality scale, 307th of 464 Content & Media skills we index.

Its SKILL.md is 2.0 KB long, well organised into 9 sections with 1 code example: moderately detailed.

With 39,920 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
20/30
Structure
17/20
Description
8/15
Adoption
20/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 5 days ago, so bazel-build-optimization is actively maintained.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

bazel-build-optimization compared with similar skills

All 4 of these similar skills score higher than bazel-build-optimization; compare them before choosing.

SkillScoreStarsUpdatedFormat
bazel-build-optimization (this skill)by wshobson7939.9k5d agoSKILL.md
siyuanby siyuan-note10046.5ktodayMCP Server
algorithmic-artby anthropics100177.9k4d agoSKILL.md
pptxby anthropics100177.9k4d agoSKILL.md
designby nextlevelbuilder100130.2k5d agoSKILL.md

Frequently asked questions

How do I install bazel-build-optimization?
Run npx skills add wshobson/agents --skill bazel-build-optimization. The install tabs above show the steps for each supported agent.
Which AI agents does bazel-build-optimization work with?
It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
Is bazel-build-optimization safe to use?
It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is bazel-build-optimization still maintained?
The repository was last updated 5 days ago, so bazel-build-optimization is actively maintained.

name: bazel-build-optimization description: 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.

When to Use This Skill

  • Setting up Bazel for monorepos
  • Configuring remote caching/execution
  • Optimizing build times
  • Writing custom Bazel rules
  • Debugging build issues
  • Migrating to Bazel

Core Concepts

1. Bazel Architecture

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/

2. Key Concepts

| 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 |

Templates and detailed worked examples

Full template library and detailed worked examples live in references/details.md. Read that file when you need the concrete templates.

Best Practices

Do's

  • Use fine-grained targets - Better caching
  • Pin dependencies - Reproducible builds
  • Enable remote caching - Share build artifacts
  • Use visibility wisely - Enforce architecture
  • Write BUILD files per directory - Standard convention

Don'ts

  • Don't use glob for deps - Explicit is better
  • Don't commit bazel-* dirs - Add to .gitignore
  • Don't skip WORKSPACE setup - Foundation of build
  • Don't ignore build warnings - Technical debt

Related Skills

View on GitHub
GitHub Stars39.9k
CategoryContent
Updated5d ago
Forks4.3k

Languages

Python

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions