MCPcopy Index your code
hub / github.com/bazelbuild/buildtools

github.com/bazelbuild/buildtools @v8.5.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v8.5.1 ↗ · + Follow
1,209 symbols 2,445 edges 83 files 368 documented · 30% 5 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Buildtools for bazel

This repository contains developer tools for working with Google's bazel buildtool.

Build status

Setup

See instructions in each tool's directory.

Extension points exported contracts — how you extend this code

Buildifier (Interface)
Buildifier formats the build file using the buildifier logic. [2 implementers]
edit/buildozer.go

Core symbols most depended-on inside this repo

makeLinterFinding
called by 70
warn/warn.go
Format
called by 39
labels/labels.go
Run
called by 27
differ/diff.go
convComments
called by 23
convertast/convert_ast.go
CollectLValues
called by 16
bzlenv/bzlenv.go
String
called by 16
warn/types.go
getParam
called by 16
warn/warn_bazel_api.go
convExpr
called by 14
convertast/convert_ast.go

Shape

Function 594
Method 508
Struct 92
TypeAlias 13
Interface 2

Languages

Go99%
TypeScript1%
Python1%

Modules by API surface

build_proto/build.gen.pb.go328 symbols
extra_actions_base_proto/extra_actions_base.gen.pb.go120 symbols
edit/buildozer.go74 symbols
edit/edit.go65 symbols
api_proto/api.gen.pb.go54 symbols
warn/warn_bazel_api.go48 symbols
deps_proto/deps.gen.pb.go40 symbols
warn/warn_bazel_api_test.go28 symbols
edit/fix.go25 symbols
warn/warn.go20 symbols
edit/buildozer_test.go20 symbols
edit/edit_test.go17 symbols

For agents

$ claude mcp add buildtools \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact