Configures and troubleshoots Bazel builds: editing BUILD/MODULE.bazel files, writing Starlark, diagnosing target/cache/CI failures, and adopting or upgrading Bazel.
Ships in ccheney-robust-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Make build changes against the actual target graph and pinned Bazel/ruleset versions. Examples cover Bazel 9.2.0; they are not an upgrade instruction. The user's explicit instructions take precedence over this skill's guidelines.
Use the affected targets, error output, or requested build outcome as input. Check .bazelversion, relevant module declarations, BUILD files, and the configuration involved in the task. Read other repository configuration only when it affects that question.
| Question | Tool |
|---|---|
| Target dependencies, reverse dependencies, paths | bazel query |
Selected flags, platforms, toolchains, or select() branches | bazel cquery with the failing invocation's configuration |
| Actual commands, inputs, outputs, tools | bazel aquery |
| External modules, versions, generated repositories | bazel mod |
| Cache misses or execution performance | Execution logs, profiles, BEP |
If the failing target or invocation cannot be inferred, ask for it and continue independent inspection. Do not invent repository pins or remote-cache endpoints.
clean --expunge or disabling sandboxing; those can hide the cause.Deliver the requested patch or diagnosis with relevant target labels, evidence, and unresolved configuration dependencies. Finish checks needed for that outcome without expanding a local fix into a repository migration.
Load only the topic needed; use section headings within longer references.
| Task | Reference |
|---|---|
| Packages, labels, dependencies, visibility, BUILD style | BUILD-GRAPH.md |
| Modules, extensions, lockfiles, overrides, WORKSPACE migration | BZLMOD.md |
| rc files, selects, platforms, toolchains, transitions | CONFIGURATION.md |
| Query syntax and build failure diagnosis | QUERIES-DEBUGGING.md |
| Sandboxing, runfiles, caching, remote execution | HERMETICITY-CACHING.md |
| CI gates, affected targets, profiles, performance | CI-PERFORMANCE.md |
| Macros, rules, providers, aspects, repository rules | STARLARK.md |
| Requested adoption or repository consolidation | ADOPTION.md |
| Compact command or label lookup | CHEATSHEET.md |
Use version-matched Bazel docs, ruleset release notes, and the Bazel Central Registry when bundled guidance does not establish compatibility.
agents/openai.yaml (opens in a new tab)references/ADOPTION.md (opens in a new tab)references/BUILD-GRAPH.md (opens in a new tab)references/BZLMOD.md (opens in a new tab)references/CHEATSHEET.md (opens in a new tab)references/CI-PERFORMANCE.md (opens in a new tab)references/CONFIGURATION.md (opens in a new tab)references/HERMETICITY-CACHING.md (opens in a new tab)references/QUERIES-DEBUGGING.md (opens in a new tab)references/STARLARK.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
11 skills in this plugin
/clean-ddd-hexagonalDesign or review backend domain and dependency boundaries using DDD, Clean Architecture, and ports/adapters. Use for aggregate modeling, bounded contexts, use-case isolation, or architecture refactoring; not routine CRUD changes./feature-slicingOrganize frontend code with Feature-Sliced Design (FSD). Use when adopting FSD, placing code in an existing FSD project, or fixing slice imports and public APIs; not for every new component or page./mermaid-diagramsCreate or fix Mermaid diagrams in Markdown. Use for requested flowcharts, sequence diagrams, ER diagrams, state machines, or system diagrams when Mermaid is the output format; not every visualization or explanation./ccheney-robust-skills:bazelfrom ccheney-robust-skills
ccheney-robust-skills@cascade-code-general-misc-1 is listed by joshuarweaver/cascade-code-general-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-general-misc-1 --plugin ccheney-robust-skillsOther plugins' skills for the same job