Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

bazel

/bazel

Konfiguruje i diagnozuje buildy Bazel: pliki BUILD i MODULE.bazel, Starlark, błędy targetów, cache i CI oraz adopcję lub aktualizację Bazela.

Repozytorium
robust-skills ↗
Licencja
MIT
Ostatnia zmiana repozytorium
12.09.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
11
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
2
Przestarzałość

Brak sygnałów. Repozytorium zmienione 12.09.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Konfiguruje i diagnozuje buildy Bazel: pliki BUILD i MODULE.bazel, Starlark, błędy targetów, cache i CI oraz adopcję lub aktualizację Bazela.

Oryginalny opis (EN)

Configure and troubleshoot Bazel builds. Use when editing BUILD or MODULE.bazel files, writing Starlark, diagnosing target, cache, or CI failures, or adopting or upgrading Bazel.

Jak działa

  1. Establish the relevant context
  2. Preserve the build contract
  3. References
Sekcje z nagłówków SKILL.md, w oryginale · 47 linii, 421 słów
Podgląd SKILL.md
---
name: bazel
description: Configure and troubleshoot Bazel builds. Use when editing BUILD or MODULE.bazel files, writing Starlark, diagnosing target, cache, or CI failures, or adopting or upgrading Bazel.
metadata:
  version: "9.2.0"
---

# Bazel Monorepos

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.

## Establish the relevant context

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.

## Preserve the build contract

- Declare direct inputs, dependencies, tools, and runtime data on the owning target. Use runfiles APIs for runtime resources.
- Keep package boundaries and visibility deliberate. Neither one target per file nor one per service is a universal template.
- For Bazel 9, use Bzlmod and explicit external language-rule loads. For older repositories, follow version-matched rules until an upgrade is requested.
- Diagnose missing inputs or configuration differences before using `clean --expunge` or disabling sandboxing; those can hide the cause.
- Validate affected targets and configurations. Reserve graph-wide builds/tests for graph-wide impact or required repository checks.

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.

## References

Load only the topic needed; use section headings within longer references.

| Task | Reference |
|---|---|
| Packages, labels, dependencies, visibility, BUILD style | [BUILD-GRAPH.md](references/BUILD-GRAPH.md) |
| Modules, extensions, lockfiles, overrides, WORKSPACE migration | [BZLMOD.md](references/BZLMOD.md) |
| rc files, selects, platforms, toolchains, transitions | [CONFIGURATION.md](references/CONFIGURATION.md) |
| Query syntax and build failure diagnosis | [QUERIES-DEBUGGING.md](references/QUERIES-DEBUGGING.md) |
| Sandboxing, runfiles, caching, remote execution | [HERMETICITY-CACHING.md](references/HERMETICITY-CACHING.md) |
| CI gates, affected targets, profiles, performance | [CI-PERFORMANCE.md](references/CI-PERFORMANCE.md) |
| Macros, rules, providers, aspects, repository rules | [STARLARK.md](references/STARLARK.md) |
| Requested adoption or repository consolidation | [ADOPTION.md](references/ADOPTION.md) |
| Compact command or label lookup | [CHEATSHEET.md](references/CHEATSHEET.md) |

Use version-matched [Bazel docs](https://bazel.build/), ruleset release notes, and the [Bazel Central Registry](https://registry.bazel.build/) when bundled guidance does not establish compatibility.
Pliki w paczce (11)
  • SKILL.md 3 KB
  • agents/openai.yaml 1 KB
  • references/ADOPTION.md 16 KB
  • references/BUILD-GRAPH.md 15 KB
  • references/BZLMOD.md 19 KB
  • references/CHEATSHEET.md 15 KB
  • references/CI-PERFORMANCE.md 19 KB
  • references/CONFIGURATION.md 16 KB
  • references/HERMETICITY-CACHING.md 19 KB
  • references/QUERIES-DEBUGGING.md 18 KB
  • references/STARLARK.md 18 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · ccheney/robust-skills100MIT
OutlineDriven/outline-driven-development100Apache-2.0
mohitmishra786/low-level-dev-skills100MIT

Migawka bazy z 13.11.2026 · wersja paczki df74fafd84ed (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 87bazel-build-system
    Prawdopodobnie projektuje system budowania oparty na Bazelu dla zadań związanych z przepływem pracy Literate AI.
  • 100bazel-build-optimization
    Optymalizuje buildy Bazel w dużych monorepo: konfiguracja Bazel, zdalne wykonanie i wydajność budowania w kodzie korporacyjnym.
  • 100bazel-build-optimization
    Optymalizuje buildy Bazel w dużych monorepo: konfiguracja Bazel, zdalne wykonanie i wydajność budowania w kodzie korporacyjnym.
  • 100bazel-build-optimization
    Optymalizuje buildy Bazel w dużych monorepo: konfiguracja Bazel, zdalne wykonanie i wydajność budowania w kodzie korporacyjnym.
  • 100bazel-build-optimization
    Optymalizuje buildy Bazel w dużych monorepo: konfiguracja Bazel, zdalne wykonanie i wydajność budowania w kodzie korporacyjnym.
  • 100bazel-build-optimization
    Optymalizuje buildy Bazel w dużych monorepo: konfiguracja Bazel, zdalne wykonanie i wydajność budowania w kodzie korporacyjnym.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.