layout: documentation title: Custom Rules

Custom rules

Skylark is the name of the extension mechanism in Bazel. It lets you write custom build rules as well as compose existing ones into macros.

Getting started

Read the concepts behind Skylark and try the cookbook examples. To go further, read about the standard library.