Bazel Build Optimization
Helps with building, optimization as part of agent workflows workflows.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add bazel-build-optimization npx -- -y @trustedskills/bazel-build-optimization
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"bazel-build-optimization": {
"command": "npx",
"args": [
"-y",
"@trustedskills/bazel-build-optimization"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The bazel-build-optimization skill helps streamline and accelerate Bazel build processes by identifying inefficiencies, suggesting configuration improvements, and applying best practices. It can analyze build logs, detect redundant targets, and recommend optimizations such as enabling caching or parallel execution.
When to use it
- You're experiencing slow build times with Bazel and want to identify bottlenecks.
- Your team is looking to improve CI/CD pipeline performance by optimizing the build process.
- You need guidance on configuring Bazel for large-scale projects with many dependencies.
- You are preparing for a codebase migration or refactoring and want to ensure efficient builds.
Key capabilities
- Analyzes Bazel build logs for inefficiencies
- Recommends configuration changes to improve performance
- Identifies redundant or unused targets in the build graph
- Suggests best practices for caching, parallelism, and dependency management
Example prompts
- "Analyze my latest Bazel build log and suggest optimizations."
- "What are the top three ways I can reduce build time with Bazel?"
- "Identify redundant targets in my BUILD files and recommend removal."
Tips & gotchas
- Ensure your Bazel version is up to date for compatibility with optimization suggestions.
- Review all recommendations carefully, as some changes may affect dependency resolution or target visibility.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.