Bazel Build Optimization
Optimization guide for Bazel monorepos covering WORKSPACE setup, .bazelrc tuning, remote caching, and custom rules.
- CCM score
- 51 of 100
- skills.sh installs
- 198
- GitHub stars
- 50.5K
- last updated
- Jun 3, 2026
Own this skill? Claim it
What it does
- Covers Bazel architecture, key concepts (targets, packages, labels, rules, aspects), and when to apply the skill
- Includes 6 templates: WORKSPACE configuration,
.bazelrcsettings, and BUILD files for TypeScript, Python, and Docker rules - Enforces verification of pinned Bazel versions, rule repository checksums, and approved endpoints before remote cache or execution
- Designed for engineering teams migrating large monorepos to Bazel or tuning build times in enterprise codebases
Install
$ npx -y skills add sickn33/agentic-awesome-skills --skill bazel-build-optimization -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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.
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
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
Details
- Repository
- github.com/sickn33/agentic-awesome-skills
- Category
- DevOps & Cloud
- First seen
- Jun 3, 2026
Questions
What does the bazel-build-optimization skill do?
bazel-build-optimization gives production patterns for Bazel in large-scale monorepos. It covers WORKSPACE setup, .bazelrc configuration, BUILD files for TypeScript and Python libraries, custom rules for Docker, and dependency queries.
Who is the bazel-build-optimization skill for?
bazel-build-optimization is aimed at teams setting up Bazel for monorepos, configuring remote caching or execution, optimizing build times, writing custom Bazel rules, debugging build issues, or migrating to Bazel. The skill also notes that its templates are fragments, not a runnable workspace.
How do I install the bazel-build-optimization skill?
Run npx -y skills add sickn33/agentic-awesome-skills --skill bazel-build-optimization -y in a project to install it. Once installed, bazel-build-optimization lets your agent apply Bazel build patterns to that project.
Where does bazel-build-optimization sit in the DevOps & Cloud category?
bazel-build-optimization is listed in the DevOps & Cloud category on Claude Marketplaces, next to azure-diagnostics, azure-prepare, azure-deploy, azure-validate and azure-storage. Its own focus is Bazel build performance rather than Azure cloud work.
What should I check before using bazel-build-optimization with remote caching?
Verify the pinned Bazel major version and rule repository checksums yourself, since the templates omit some dependencies. Remote cache and execution endpoints can receive source and artifacts, so bazel-build-optimization advises approved endpoints, TLS and scoped credentials.
More from sickn33/agentic-awesome-skills
All 682- Hybrid Search Implementation198
- Pypict Skill198
- Top Web Vulnerabilities198
- Incident Response Smart Fix197
- Prometheus Configuration197
- Turborepo Caching197
- 00 Andruia Consultant196
- Memory Forensics196
- Paypal Integration196
- Dbt Transformation Patterns195
- Framework Migration Deps Upgrade195
- Temporal Python Testing195
- Wordpress Theme Development195
- Incident Runbook Templates194
- Andrej Karpathy193
- Database193
- Linkerd Patterns192
- Metasploit Framework192
- Service Mesh Expert191
- Vector Index Tuning191
- Postmortem Writing190
- Saga Orchestration190
- Evaluation189
- Distributed Debugging Debug Trace188
Similar to Bazel Build Optimization
More DevOps & Cloudmonorepo-architectSkillsickn33/agentic-awesome-skills403 installsExpert monorepo setup and build-optimization guidance across Nx, Turborepo, Bazel, and Lerna with scoped reviews.
turborepo-cachingSkillwshobson/agents11.4K installsConfiguration guide for Turborepo pipelines, covering local and remote caching for monorepo builds.
turborepoSkillsecondsky/claude-skills423 installsTurborepo monorepo build guidance covering task pipelines, caching, affected-package filtering, and boundaries.
monorepo-managementSkillwshobson/agents15.5K installsGuide to building and maintaining monorepos with Turborepo, Nx, and pnpm workspaces for shared code and builds.
docker-expertSkillsickn33/agentic-awesome-skills27.5K installsAdvanced Docker guidance covering multi-stage builds, container hardening, and Compose orchestration patterns for production deployments.
monorepoPluginTheBushidoCollective/han201 starsAdvanced monorepo development skills for architecture, tooling, and workflow management across multiple packages and projects.