> ## Documentation Index
> Fetch the complete documentation index at: https://bazel-pr-29716.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# repository_rule

A callable value that may be invoked within the implementation function of a module extension to instantiate and return a repository rule. Created by [`repository_rule()`](../globals/bzl#repository_rule).
