# Custom rules Skylark is the code name of the extension mechanism for Bazel. It lets you write [custom build rules](rules.md) as well as compose existing ones into [macros](macros.md). ## Getting started Read the [concepts](concepts.md) behind Skylark and try the [cookbook examples](cookbook.md). To go further, read about the [standard library](lib/globals.html).