
Bazel Build Optimization
This one gives Claude production patterns for optimizing Bazel in large monorepos. It covers remote caching and execution configs, workspace setup for multi-language repos (TypeScript, Python), and practical BUILD file templates for libraries and tests. The .bazelrc templates are solid for tuning build parallelism and CI integration. It includes query patterns for dependency analysis and a custom rule example for Docker builds. Use it when you're setting up Bazel from scratch, debugging slow builds, or need to write maintainable BUILD files without digging through docs. The templates assume you know what a monorepo is and why you'd want remote execution.
- skills.sh installs
- 198
- GitHub stars
- 39.4K
- last updated
- Jun 3, 2026
Install
$ npx -y skills add sickn33/antigravity-awesome-skills --skill bazel-build-optimization --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/sickn33/antigravity-awesome-skills
- Category
- DevOps & CI/CD
- First seen
- Jun 3, 2026
More from sickn33/antigravity-awesome-skills
All 708- 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