Tools

Tools tree

This tree contains developer tools and reusable Bazel rule modules. All tracked content follows the repository’s public-source policy. Standalone rules_* modules retain their own Bzlmod names and public build APIs, with documentation on the main repository site. They do not own separate landing sites.

Requirements

  • Bazel targets MUST use repository-internal visibility except for standalone Bazel rule modules and toolchain types whose owner explicitly exposes a public build API.
  • Tool artifacts MUST NOT be published as first-party product artifacts.
  • Standalone Bazel rule modules MAY publish their reusable build APIs through their explicit module release workflow.
  • Production build targets MAY load Starlark rules and use execution tools and toolchains, including the public build APIs of standalone Bazel rule modules. Other tool targets MUST NOT be ordinary source, library, or runtime dependencies of production build targets.
  • Tool targets intended for repository-wide use MUST use visibility = ["//:__subpackages__"].
  • Tool targets MAY be used in tests and explicit source-generation/update targets.

Build rules may run tools from this tree in the execution configuration to generate source artifacts owned by their consuming component. Generated code may be compiled by that component’s normal language rules; the tool itself does not become a runtime dependency.

An explicit source-update target is a developer workflow. It may use write_source_file to update a checked-in artifact. Consumers of that checked-in artifact read it directly rather than running its update target.

Transitive dependency enforcement

//tools:transitive_consumers records the packages permitted to consume this tree. Gazelle selects package groups using the path mappings in transitive_visibility/transitive_visibility.toml. The listed project exceptions preserve documentation, tests, source updates, and explicit developer/release commands. An exception permits the entire consumer package, including other targets sharing it; it does not prove that every target in that package follows the production rule above. New exceptions require review of the consuming workflow. Standalone modules are separate repositories and retain their public build APIs.

Public toolchain-type packages and shared build settings explicitly select //tools:build_api_consumers. This preserves external toolchain registration and repository build configuration without granting other tool packages the same exception.

The intended artifact boundary excludes execution-tool and Starlark-load edges. Bazel 9.3.1’s native transitive check cannot express that distinction for every attribute; see the generator’s enforcement limitations. Use --notool_deps for queries of ordinary target dependencies. A package exception also permits ordinary dependencies from that package, so it is not equivalent to an exemption for execution tools alone.


Agents

Repository-wide reusable agent skills

Android

Android

Ansible

Bazel rules for ansible

Artifact mirror

Stage pinned Helm charts and OCI images and publish them to Forgejo

AWS CLI

Repository command for Amazon Web Services

Bazel configs

Bazel config targets

Bazel session cleanup

Bazel shell worker

Bazel worker that runs shell commands

Bazelrc

Bazelrc files

Black

Black

Buildifier

Buildifier

Bzl

Bazel rules related to Bazel itself

Bzlenv

Setup bazel environment

Cc

Cc

Cloc

Cloc

Cmctl

Cert Manager cmctl

Code screenshot

ComfyUI

Pinned local CPU image generation through Bazel

Consul

Consul

Drawio

Bazel rules for drawio

F-Droid

Pinned fdroidserver environment for local F-Droid build testing

File installer

CLI tool to install files

fj

Forgejo CLI

Flake8

Flake8

flux

flux

Flux operator

Flux operator

Forgejo

Forgejo

Gazelle

Repository BUILD file generation

Git filter repo

Git filter repo

Gitea

Gitea

Go

Go rules

go_mod

Keep go.mod files on one Go version

Gradle wrapper

Graphviz DOT rules

Bazel rules for exporting DOT and rendering themed SVG diagrams

Gzip

Gzip rules

Harbor

Harbor CLI

Helm

Bazel rules for helm

Hermes install

Run the Hermes Agent install script

Hooks

Git hooks

Http server

Bazel rules for running http.server

Install file

Bazel rules to install files

Isort

Isort

Java tools

Repository-pinned JDK and Java command-line tools

Js

Js

Jsonnet

Sandboxed generation of declared JSON outputs

Kt

Kotlin

kubectl

Kubectl

Lua

Lua rules

Make install

Rules to create tar archives that can be installed with make

Maven Install Gradle Converter

Converts rules_jvm_external maven_install.json locks to Gradle build inputs

Md

Md rules

Mermaid

Bazel-managed Mermaid diagram renderer

Molecule QEMU tests

Ansible-native lifecycle for disposable Fedora smoke guests

Mypy

Mypy

Nc

Netcat

Nmap

Nmap

Nogo

Golang static analyser

Nping

Nping - Network packet generation tool & ping utility

Oci

Oci

OpenAPI Generator

Pinned OpenAPI Generator CLI and offline Bazel source generation

Opencode

Opencode - The open source AI coding agent

OpenSpec

Pinned OpenSpec CLI and repository specification validation

OpenSpec Gazelle

Gazelle extension for owner-local OpenSpec workspaces

Ops

Ops CLI binary

Patch

Patch rules

Pkg

Package rules

Pkgsite

Pkgsite

Pnpm

Pnpm

Postcss

Postcss

Prettier

Prettier

Print deps

Aspect to print deps

Proto

Protobuf rules

Py

Python rules

Qt

Qt rules

Readme tree

Tool to parse README.md files

Replace section

Replace sections of files

Repo map

Extension to download several versions of a repository depending on a platform

Repository AL configuration

Shared configuration for repository command wrappers

Repository CI

Shared entry point for repository builds and tests

Repository quality

Whole-index formatting, linting and validation coordinator

Resolved toolchain

Helper rule to create a resolved toolchain

Rfc

Rfc tools

Root Bazel module

Generate the root module’s owning include list

Rules binary toolchain

Bazel toolchains for packaged executable binaries

Rules Dnscontrol

Bazel-aware DNSControl configuration packaging

Rules docs

Bazel documentation packaging rules

Rules docs Gazelle

Gazelle extension for Bazel documentation packaging rules

Rules Hugo

Bazel rules for Hugo sites

Rules Promptfoo

A pinned Bazel runner for Promptfoo skill evaluations

Rules Promptfoo Gazelle

Gazelle extension for offline Promptfoo validation tests

Rules skill

Bazel rules and validation for Codex skills

Rules skill Gazelle

Gazelle extension for Bazel skill libraries

Rules systemd

Executable Bazel targets with user systemd resource limits

Rules template

Bazel rules and a Go command for rendering template files

Rules Terraform

Bazel rules and pinned provider installation for Terraform

rules_iso

ISO image download and flash rules

Run tool

Run tool rules

Selene

Hermetic Selene Lua linter

Sh

Shell rules

Shfmt

Shfmt

Sops

Sops

SSH

Host SSH client wrapped by AL

Stylua

Stylua wrapper

Toml

Toml rules

Tomlv

Tomlv

Traefik

Traefik

Transitive sources

Provider and a rule to extract transitive sources

Transitive visibility policy

Trufflehog

Trufflehog

Twine

Twine

Txt

Text rules

Vast.ai CLI

Vast.ai command-line client

Vault

Vault

Vial

Bazel rules for Vial

Workspace status

Workspace status script

X API schema fetch tool

Authenticated upstream schema download for dependency maintenance

X CLI

Pinned upstream xurl command-line client for the X API

Ykman

Ykman (Yubikey Manager)